aboutsummaryrefslogtreecommitdiffhomepage
path: root/libaf
Commit message (Collapse)AuthorAge
...
* | | | translations: tweak cases that relied on concatenating adjacent stringsGravatar Uoti Urpala2010-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tweak some code parts that used to rely on string literals from translation macros being concatenated with other adjacent string literals. Break up the resulting string into independently translated parts, so that the existing translations for those parts can still be used.
* | | | Restore collapsed whitespace in output messagesGravatar Uoti Urpala2010-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason commit e306174952d42e1cd6cc5efc50ae6bb0410501bc, which replaced translation macro names with the corresponding English strings, also collapsed multiple consecutive space characters into one. Change most of these back. In a couple of cases the amount of whitespace is important for alignment, and for the rest it at least keeps the strings closer to the existing translations.
| | | * cosmetics: Remove pointless empty lines at EOF.Gravatar diego2010-02-20
| | |/ | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30675 b3059339-0415-0410-9bf9-f77b7e298cf2
| | * Move code that makes the filter chain match the desired output format intoGravatar reimar2010-02-19
| |/ | | | | | | | | | | | | | | | | a separate function. Call this function also from af_add, fixes audio corruption with e.g. -softvol -af format=s16be (bug #1561). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30659 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Make the code match the documentation by making higher-quality but slowerGravatar reimar2010-01-30
| | | | | | | | | | | | | | | | audio filtering the default. This mostly means lavcresample being the default instead of plain "resample". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30455 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30375Gravatar Uoti Urpala2010-01-25
|\|
* | Merge svn changes up to r30301Gravatar Uoti Urpala2010-01-25
|\ \
| | * Add a proper header for our strsep implementation so strsep willGravatar reimar2010-01-17
| |/ | | | | | | | | | | | | not be used without a declaration, causing issues on 64 bit systems. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30355 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Let the format filter do the AC3 endianness conversion instead of duplicatingGravatar reimar2010-01-11
| | | | | | | | | | | | | | the conversion code over and over. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30285 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add support for distinguishing between little- and big-endian SPDIF AC3Gravatar reimar2010-01-11
| | | | | | | | | | | | | | and converting between both. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30283 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add a hack to af_fmt2bits to recognize AC3 as a 16-bit format, since thisGravatar reimar2010-01-11
| | | | | | | | | | | | | | is more correct than 8 bit for alignment purposes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30278 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add and use AF_FORMAT_IS_AC3 macro.Gravatar reimar2010-01-11
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30276 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Revert r30170, AF_FORMAT_AC3 is supposed to be the special mask,Gravatar reimar2010-01-11
| | | | | | | | | | | | | | and should not include other parts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30275 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30173Gravatar Uoti Urpala2010-01-08
|\|
| * Mark AC3 as 16-bit format, this simplifies alignment calculation and fixesGravatar reimar2010-01-02
| | | | | | | | | | | | | | hwac3 with ALSA reportedly broken by r29750. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30170 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29971Gravatar Uoti Urpala2009-11-29
|\|
| * Fix mangling of 24-bit audio during channel reorder.Gravatar tack2009-11-28
| | | | | | | | | | | | | | | | | | | | | | Only 1/3 of the samples in the buffer passed to reorder_channel_nch() were being reordered. For 8-, 16-, and 32-bit audio, the buffers could be treated as int8_t, int16_t, and int32_t respectively. 24-bit audio was being processed as int8_t, requiring iteration over n_samples*3, not n_samples. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29971 b3059339-0415-0410-9bf9-f77b7e298cf2
* | af_scaletempo: Fix delay value after changing scale to 1Gravatar Uoti Urpala2009-11-22
| | | | | | | | | | | | | | | | | | | | The scaletempo filter has a special-case check to return the samples unchanged if the current scaling factor is 1. In this case code setting af->delay wasn't run. If the scale had had a different value and then been changed to 1 as a result of a playback speed change then the delay field could have a nonzero value left, resulting in A/V sync errors. Fix by setting the delay field to 0 in the scale == 1 special case code.
* | Merge svn changes up to r29912Gravatar Uoti Urpala2009-11-16
|\|
| * Add support for 8 channel audio.Gravatar tack2009-11-10
| | | | | | | | | | | | | | | | Where 8 channel support is non-trivial (e.g. ao_dsound), at least ensure we fail gracefully. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29868 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Cosmetics: remove trailing whitespace from file.Gravatar tack2009-11-10
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29867 b3059339-0415-0410-9bf9-f77b7e298cf2
| * reorder_ch: Remove unneeded AF_CHANNEL_LAYOUT_LAVC_AAC_DEC_*Gravatar tack2009-11-04
| | | | | | | | | | | | | | All references to these values were removed r29821. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29822 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29752Gravatar Uoti Urpala2009-10-06
|\| | | | | | | | | | | | | | | | | As part of merging subtitle-in-terminal changes make update_subtitles() only clear existing subtitles if called with the reset argument, and not try to set new ones. Later calls should set the needed new subtitles, and this change avoids some problems with trying to set subtitles when mp_property_sub() in command.c gets called from initialization code before full initialization.
| * Change libaf control ordering to make the controls unique again, ↵Gravatar reimar2009-09-26
| | | | | | | | | | | | | | | | | | (AF_CONTROL_PAN_BALANCE vs. AF_CONTROL_PLAYBACK_SPEED), put them in-order again and add a bit of padding in-between. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29718 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29544Gravatar Uoti Urpala2009-08-22
|\|
| * Fix channel reordering when using 24-bit samples by adding breaks to casesGravatar tack2009-08-19
| | | | | | | | | | | | | | | | | | missed by r29427. Patch submitted by Shane W, shane-mplayer csy ca git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29541 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Cosmetics: adjust alignment.Gravatar tack2009-08-18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29534 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix incorrect channel ordering for lavc audio codecs (specifically ffac3,Gravatar tack2009-08-18
| | | | | | | | | | | | | | | | | | ffdca, ffflac, ffaac, fftruehd). In the process, adds support for 32-bit samples. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29533 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29455Gravatar Uoti Urpala2009-07-29
|\|
| * Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.Gravatar diego2009-07-26
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
* | build: Readd support for code depending on FFmpeg internalsGravatar Uoti Urpala2009-07-26
| | | | | | | | | | | | | | | | Add configure option --ffmpeg-source-dir=PATH. If the user specifies this option then building code that depends on FFmpeg internals is enabled and the files files which use internal lavf headers will get them from this path. The FFmpeg libraries linked with must export needed internal symbols.
| * Fix 24bit audio playback.Gravatar iive2009-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | The reordering channels code had reoccurring bug where in switch(samplesize) block the case 3 (3 bytes) doesn't end with break; leading to execution of the next case 4 too. This mangles the already processed data and causes massive memory corruption. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29427 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesGravatar Uoti Urpala2009-07-07
| |
* | Translation system changes part 2: replace macros by stringsGravatar Amar Takhar2009-07-07
| | | | | | | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* | Translation system changes part 1: wrap translated stringsGravatar Amar Takhar2009-07-07
| | | | | | | | | | Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
| * whitespace cosmetics: Remove all trailing whitespace.Gravatar diego2009-05-13
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29277Gravatar Uoti Urpala2009-05-08
|\|
| * Cosmetics for r29244 to follow K&R style closely.Gravatar bircoph2009-05-03
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29245 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Support for libbs2b ver. 3.0.0 API.Gravatar bircoph2009-05-03
| | | | | | | | | | | | | | | | Now filter parameters are highly controllable, virtually all audio formats are supported, and new profiles are available. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29244 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29134Gravatar Uoti Urpala2009-04-02
|\|
| * Use native endian float filter provided by libbs2b instead ofGravatar bircoph2009-04-02
| | | | | | | | | | | | | | selection based on WORDS_ENDIAN. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29134 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add libbs2b audio filter itself.Gravatar bircoph2009-04-02
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29132 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove unnecessary malloc.h #includes and related #ifdeffery.Gravatar diego2009-04-02
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29126 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29117Gravatar Uoti Urpala2009-04-01
|\|
| * Move config.h include directive up as a precaution measure.Gravatar bircoph2009-03-28
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29091 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Reorder includes alphabetically.Gravatar bircoph2009-03-28
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29090 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove af_mp.h and add its content to af.hGravatar bircoph2009-03-28
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29089 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove af_msg special-casing API in libaf.Gravatar bircoph2009-03-28
| | | | | | | | | | | | | | Replace it by standard mp_msg message system. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29088 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: Remove file names from file header, it only causes trouble.Gravatar diego2009-03-15
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28959 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28862Gravatar Uoti Urpala2009-03-07
|\|