aboutsummaryrefslogtreecommitdiffhomepage
path: root/libao2
Commit message (Collapse)AuthorAge
...
| * Explain why we still disable the ALSA resampler even though it is probablyGravatar reimar2010-01-28
| | | | | | | | | | | | | | actually working nowadays. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30452 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30448Gravatar Uoti Urpala2010-01-28
|\|
| * Declare variable closer to where it is used.Gravatar reimar2010-01-27
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30444 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove a useless global variable.Gravatar reimar2010-01-27
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30443 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Do not needlessly make local variable static.Gravatar reimar2010-01-27
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30442 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove useless initializers.Gravatar reimar2010-01-27
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30441 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Do not needlessly use (file-)global variables.Gravatar reimar2010-01-27
| | | | | | | | | | | | | | | | Since they also were initialized to a value and non-constant (changed by ALSA) this might actually have caused bugs. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30440 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30419Gravatar Uoti Urpala2010-01-25
|\|
* | Merge svn changes up to r30301Gravatar Uoti Urpala2010-01-25
|\ \
| | * Support more formats for -ao pcm in raw mode.Gravatar reimar2010-01-23
| |/ | | | | | | | | | | | | Patch by Peter Fordham [peter.fordham gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30400 b3059339-0415-0410-9bf9-f77b7e298cf2
| * MPlayer's format now correctly identifies AC3 as either little- or big-endian,Gravatar reimar2010-01-11
| | | | | | | | | | | | | | remove unnecessary special workaround. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30284 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
| * More uses of AF_FORMAT_IS_AC3Gravatar reimar2010-01-11
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30282 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use AF_FORMAT_IS_AC3 in ao_oss.cGravatar reimar2010-01-11
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30281 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use af_fmt2bits, it should give more sensible values than ↵Gravatar reimar2010-01-11
| | | | | | | | | | | | | | | | | | snd_pcm_format_physical_width, especially for AC3. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30279 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use af_fmt2bits instead of reimplementing it.Gravatar reimar2010-01-11
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30277 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
* | Merge svn changes up to r30185Gravatar Uoti Urpala2010-01-08
|\|
* | Merge svn changes up to r30165Gravatar Uoti Urpala2010-01-08
|\ \
| | * Fixup SDL configure check:Gravatar reimar2010-01-03
| |/ | | | | | | | | | | | | | | | | | | - Make it work without sdl-config which adds at least useless or even hurtful cflags and also does not work for cross-compiling - If using sdl-config, make it use the CFLAGS we actually use for compiling instead of something else. Thus #undef main is needed in the test program. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30178 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Simplify range-checking functions for subopt parsing.Gravatar reimar2010-01-01
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30165 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix function declarations to avoid casting function pointers.Gravatar reimar2010-01-01
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30164 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30065Gravatar Uoti Urpala2009-12-29
|\|
* | ao_alsa: Reinitialize parameters properly when reopeningGravatar Uoti Urpala2009-12-29
| | | | | | | | | | | | | | | | | | | | | | | | ao_alsa used static variables to define the parameter values for snd_pcm_hw_params_set_buffer_time_near() and snd_pcm_hw_params_set_periods_near(). The variables were non-const and the desired value was only set in the initializer. The ALSA functions in question take a pointer argument to an in/out parameter which is modified to reflect the value actually used. As a result, when playing multiple files or otherwise reinitializing the AO the later instances could use values that had been modified by earlier calls. Change the code to always always use the same default values.
* | audio: Remove fixed decode_audio() return size limit (MAX_OUTBURST)Gravatar Uoti Urpala2009-12-29
| | | | | | | | | | | | | | | | | | | | | | | | A couple of months ago MPlayer's ALSA driver started rounding the amount of input data it was willing to accept in one call down to an integer multiple of the value it set in ao_data.outburst. In some configurations it was possible for this value to exceed the 64 KiB limit on the amount MPlayer was willing to write in a single call to the AO. As a result ao_alsa accepted 0 bytes in each play() call and audio playback failed. Fix this by removing the fixed 64 KiB limit on the amount of audio sent to AO at once; the limit was mostly a remnant of older code anyway.
| * Add a missing const, fixes a compiler warning.Gravatar reimar2009-12-18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30062 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Allow pulseaudio to restore the previous volume on init instead of forcing toGravatar reimar2009-12-18
| | | | | | | | | | | | | | | | full volume. The old behaviour can be restored by using -volume 100. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30061 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Get rid of global volume variable, it is only used for temporary values.Gravatar reimar2009-12-18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30060 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Fix printf format strings with invalid '%lf' conversionGravatar Uoti Urpala2009-12-15
| | | | | | | | | | | | | | Some code used an invalid '%lf' conversion specification for double arguments. Maybe they were written that way due to confusion with scanf where doubles are indicated by '%lf'; however it is not a valid printf format specifier. Change those cases to use '%f'.
* | 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
* | 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.
| * fix calculation of ao_data.bps for sample formats with more than 16 bitsGravatar cladisch2009-10-05
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29750 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Make the ao_alsa play function always process a multiple of ao_data.outburstGravatar reimar2009-10-02
| | | | | | | | | | | | | | | | except for the last chunk. Should fix high CPU usage reported e.g. here: http://bugs.gentoo.org/show_bug.cgi?id=286020 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29748 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29644Gravatar Uoti Urpala2009-09-04
|\|
| * The suboption parser now takes a const options list, so mark them all const.Gravatar reimar2009-09-02
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29628 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use a buffer of about half a second, instead of sizing it to haveGravatar cladisch2009-08-24
| | | | | | | | | | | | | | a constant number of frames. This improves the behaviour at very small or large sample rates, and gets rid of lots of obsolete code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29549 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29544Gravatar Uoti Urpala2009-08-22
|\|
| * OpenAL: untested support for 8-channel audio.Gravatar reimar2009-08-19
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29542 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Change ao_dart to use AVFifoBuffer instead of its own fifo implementation, too.Gravatar reimar2009-08-19
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29540 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29532Gravatar Uoti Urpala2009-08-18
|\|
| * 100l, av_fifo_generic_read does not return anything useful, so ignore itsGravatar reimar2009-08-08
| | | | | | | | | | | | | | return value and return len instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29481 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Do not leak the mixer handle if setting of a volume fails.Gravatar cladisch2009-08-06
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29478 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
| * Use the correct OSS format, where possible, for mplayer's packed 24-bitGravatar cladisch2009-07-24
| | | | | | | | | | | | format (AFMT_x24_xE would be 32-bit aligned). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29438 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use correct ALSA sample format for 24-bit samples packed in three bytes.Gravatar cladisch2009-07-21
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29434 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Handle 24bit audio formats natively by ALSA.Gravatar iive2009-07-19
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29428 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29412Gravatar Uoti Urpala2009-07-07
|\|
* | Remove trailing whitespace from most filesGravatar Uoti Urpala2009-07-07
| |