log libao2/ao_alsa.c @ 37136:36638a3ccfe2

age author description
Tue, 06 May 2014 19:02:03 +0000 reimar alsa: Better volume control handling, especially for S/PDIF.
Fri, 17 Jan 2014 15:47:12 +0000 compn add comment about ac3 aes, patch by funman
Sun, 02 Dec 2012 23:25:20 +0000 reimar Do not use strrchr when strchr works just as well.
Fri, 30 Nov 2012 20:10:40 +0000 reimar Make AF_FORMAT_IS_IEC61937 include AF_FORMAT_IS_AC3.
Tue, 30 Oct 2012 17:28:34 +0000 reimar Try to make code a bit clearer.
Tue, 10 Apr 2012 13:17:49 +0000 ib Clarify the used opening modes by improving the verbose status messages.
Thu, 05 Apr 2012 22:29:37 +0000 reimar Use approach used by ao_oss to avoid audio desync
Thu, 05 Apr 2012 21:59:09 +0000 reimar vsnprintf always 0-terminates the string, so remove
Mon, 14 Nov 2011 09:58:26 +0000 diego ao_alsa: drop check for sys/asoundlib.h and ALSA version
Wed, 12 Oct 2011 17:23:08 +0000 diego S/PDIF passthrough decoder
Sat, 07 May 2011 21:23:22 +0000 reimar Simplify code and avoid an incorrect "may be used initialized"
Tue, 03 Aug 2010 15:55:17 +0000 siretart various spelling fixes, found by the Debian QA tool 'lintian'
Thu, 28 Jan 2010 18:26:12 +0000 reimar Explain why we still disable the ALSA resampler even though it is probably
Wed, 27 Jan 2010 18:23:19 +0000 reimar Declare variable closer to where it is used.
Wed, 27 Jan 2010 18:21:27 +0000 reimar Remove a useless global variable.
Wed, 27 Jan 2010 18:16:41 +0000 reimar Do not needlessly make local variable static.
Wed, 27 Jan 2010 18:11:15 +0000 reimar Remove useless initializers.
Wed, 27 Jan 2010 18:10:07 +0000 reimar Do not needlessly use (file-)global variables.
Mon, 11 Jan 2010 20:27:52 +0000 reimar Add support for distinguishing between little- and big-endian SPDIF AC3
Mon, 11 Jan 2010 19:40:58 +0000 reimar Use af_fmt2bits, it should give more sensible values than snd_pcm_format_physical_width,
Mon, 11 Jan 2010 19:23:18 +0000 reimar Add and use AF_FORMAT_IS_AC3 macro.
Fri, 01 Jan 2010 13:23:16 +0000 reimar Simplify range-checking functions for subopt parsing.
Fri, 01 Jan 2010 13:18:49 +0000 reimar Fix function declarations to avoid casting function pointers.
Tue, 10 Nov 2009 00:45:19 +0000 tack Add support for 8 channel audio.
Fri, 02 Oct 2009 16:49:41 +0000 reimar Make the ao_alsa play function always process a multiple of ao_data.outburst
Wed, 02 Sep 2009 11:33:37 +0000 reimar The suboption parser now takes a const options list, so mark them all const.
Mon, 24 Aug 2009 07:32:25 +0000 cladisch Use a buffer of about half a second, instead of sizing it to have
Thu, 06 Aug 2009 09:43:10 +0000 cladisch Do not leak the mixer handle if setting of a volume fails.
Sun, 26 Jul 2009 19:53:00 +0000 diego Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
Tue, 21 Jul 2009 08:20:22 +0000 cladisch Use correct ALSA sample format for 24-bit samples packed in three bytes.
Sun, 19 Jul 2009 10:26:48 +0000 iive Handle 24bit audio formats natively by ALSA.
Wed, 13 May 2009 02:58:57 +0000 diego whitespace cosmetics: Remove all trailing whitespace.
Fri, 06 Mar 2009 19:43:12 +0000 reimar Make ao_info_t structs const.
Fri, 30 Jan 2009 23:21:23 +0000 diego 1) HAVE_SYS_ASOUNDLIB_H/HAVE_ALSA_ASOUNDLIB_H are defined/undefined,
Mon, 26 Jan 2009 15:06:44 +0000 diego Add standard license headers.
Mon, 15 Dec 2008 20:19:27 +0000 reimar 100l, reorder check for AC3 format to avoid a possible memleak
Thu, 09 Oct 2008 17:08:47 +0000 cehoyos Replace numeric constants by their defines.
Sat, 04 Oct 2008 15:11:39 +0000 ranma Fix "format '%d' expects type 'int', but argument 6 has type 'size_t'" warning.
Sat, 04 Oct 2008 15:03:10 +0000 ranma Make alsa resume after suspend to disk (would say 'file descriptor is in bad state' before this change)
Thu, 17 Jul 2008 17:11:30 +0000 reimar Our ALSA code needs alloca, so check for it in configure and include alloca.h
Fri, 16 May 2008 09:31:55 +0000 diego cosmetics: Remove pointless parentheses from return statements.
Mon, 24 Sep 2007 21:49:58 +0000 uau ao_alsa: Fix get_space() return values larger than buffersize
Fri, 09 Feb 2007 19:49:31 +0000 cladisch When setting the non-audio bit for hwac3 output, just try to set the
Wed, 08 Nov 2006 14:52:33 +0000 kraymer MSGTRs for ao_alsa.c
Tue, 07 Nov 2006 21:09:10 +0000 diego typo
Thu, 12 Oct 2006 22:24:19 +0000 diego slight overall verbosity reduction
Wed, 04 Oct 2006 08:46:32 +0000 diego Remove bogus #ifndef WORDS_BIGENDIAN.
Mon, 18 Sep 2006 16:58:21 +0000 cladisch When the hardware sample format is AC3, do not force using an hardcoded
Mon, 18 Sep 2006 16:29:27 +0000 cladisch When one of the PCM configuration function in init() fails, abort
Fri, 31 Mar 2006 09:28:37 +0000 cladisch Add workarounds for old prerelease versions of alsa-lib 0.9.0 that did
Mon, 13 Mar 2006 10:50:37 +0000 cladisch To avoid a bug in ALSA's rate plugin that causes spurious overruns, try
Mon, 13 Mar 2006 10:49:12 +0000 cladisch Do not try to count hardware sound cards because there might be none
Mon, 27 Feb 2006 10:09:05 +0000 cladisch Output error messages from the ALSA library through mp_msg() instead of
Mon, 27 Feb 2006 10:06:27 +0000 cladisch Show the actual ALSA version instead of the version mplayer was compiled
Mon, 13 Feb 2006 11:48:29 +0000 cladisch Fix the error handling in the play() function: add a handler for EINTR,
Mon, 13 Feb 2006 11:43:25 +0000 cladisch This changes the software parameters to be more compatible with the
Mon, 13 Feb 2006 11:38:12 +0000 cladisch Using non-blocking writes makes sense when the program wants to do other
Mon, 13 Feb 2006 11:17:43 +0000 cladisch Remove the now superfluous mmap suboption.
Mon, 13 Feb 2006 11:16:29 +0000 cladisch After removing play_mmap(), the play() function just unconditionally
Mon, 13 Feb 2006 11:15:25 +0000 cladisch This patch removes mmap support because it doesn't have any benefit.
Fri, 10 Feb 2006 09:28:08 +0000 cladisch Small fixes: make all global variables static, remove some unused
Fri, 10 Feb 2006 09:26:11 +0000 cladisch Remove a call to snd_pcm_prepare() because snd_pcm_hw_params() does it
Fri, 10 Feb 2006 09:24:48 +0000 cladisch Simplify get_delay(): we don't need to get the complete PCM status but
Fri, 10 Feb 2006 09:21:17 +0000 cladisch Fix get_space(): we don't need to differentiate between the various PCM
Fri, 10 Feb 2006 09:20:08 +0000 cladisch This adds support for more sample formats (U32, float BE, mu/A-law).
Fri, 10 Feb 2006 09:18:27 +0000 cladisch This replaces the hardcoded numbers for the sample format widths with a
Thu, 09 Feb 2006 14:08:03 +0000 rathann Patch by Stefan Huehner / stefan % huehner ! org \
Thu, 12 Jan 2006 20:04:36 +0000 rathann massive attack: mp_msg printf format fixes
Thu, 15 Dec 2005 17:50:29 +0000 wanderer use snd_mixer_selem_set_playback_switch when muting ALSA, patch by Matthias Lederhofer <matled -at- gmx dot net>
Mon, 05 Dec 2005 01:31:03 +0000 rathann fix
Thu, 25 Aug 2005 21:46:32 +0000 henry reordered bps calculation
Thu, 25 Aug 2005 19:57:32 +0000 henry set the nearest number of channels, return(0) upon errors
Sun, 27 Feb 2005 23:06:32 +0000 reimar aos should respect the immed uninit flag (quit immediatly vs waiting till file
Sun, 30 Jan 2005 09:16:41 +0000 reimar Typo in hwac3 string
Fri, 28 Jan 2005 10:12:28 +0000 reimar Fixed the syntax of the spdif device string.
Mon, 03 Jan 2005 14:23:18 +0000 reimar Use the subopt-helper for parsing suboptions.
Tue, 28 Dec 2004 19:11:14 +0000 alex af_fmt2str_short
Mon, 27 Dec 2004 18:14:03 +0000 alex maybe now..
Mon, 27 Dec 2004 18:10:30 +0000 alex hopefully final fix
Mon, 27 Dec 2004 17:30:15 +0000 alex removing AFMT_ dependancy
Tue, 07 Dec 2004 02:24:15 +0000 diego Make include paths consistent.
Sun, 17 Oct 2004 20:03:55 +0000 reimar Only use S/PDIF output when no other alsa device is set, allows to use
Wed, 22 Sep 2004 14:12:53 +0000 reimar allow to select an alsa mixer channel index.
Fri, 30 Jul 2004 16:15:06 +0000 reimar Use = instead if # in ALSA device name, as # irritates our config-parser.
Wed, 14 Jul 2004 15:46:33 +0000 joyping removed status in debug_msg as it is nonsens anyway.
Wed, 14 Jul 2004 00:48:26 +0000 joyping volume calc fixes for mixer, by reimar dffinger, 10l reverse by me
Tue, 13 Jul 2004 15:47:16 +0000 joyping fixes provided by reimar drfinger. mixer, subdevice parsing, alsa#help,
Fri, 02 Jul 2004 04:30:46 +0000 joyping string, alloca etc. fixes
Fri, 11 Jun 2004 15:20:49 +0000 henry additional formats - 8bit & float
Wed, 12 May 2004 22:56:55 +0000 joyping alsa9/1.x merge, now with api_compat-definition