summaryrefslogtreecommitdiff
path: root/src/audio_out/audio_alsa_out.c
AgeCommit message (Collapse)Author
2004-12-20remove all local names beginning with double underscore, because C99Michael Roitzsch
reserves these names for use by the C implementation CVS patchset: 7288 CVS date: 2004/12/20 21:22:18
2004-12-12huge patch ahead: reorganizing config entries with automatic conversionMichael Roitzsch
and backwards compatible translation Sorry, I got a litte tired proof-reading the patch, so their might be bugs lurking around. I will give it some further examination and (as necessary) fixing tomorrow. CVS patchset: 7233 CVS date: 2004/12/12 22:00:47
2004-11-30Fix two errors in the volume <-> %age conversion functions:Darren Salt
- always round to nearest (one did so, but the other rounded down); - %age to volume: add the minimum value afterwards, don't subtract it from the value to be converted (else only min==0 works). CVS patchset: 7169 CVS date: 2004/11/30 19:47:03
2004-07-15- I shouldn't blindly commit...Bastien Nocera
plug:front: doesn't work for stereo, but plug:front:default does revert the changes for 4.0 and 5.1 surround as I don't know whether they work correctly with ":default" CVS patchset: 6799 CVS date: 2004/07/15 21:46:51
2004-07-15- remove the "default" keyword for default sound devices, as this keywordBastien Nocera
can break surround systems. It still allows for the default soundcard to be selected via /etc/asound.conf CVS patchset: 6797 CVS date: 2004/07/15 18:16:09
2004-07-14- change the default output device for stereo and surrounds to be "default"Bastien Nocera
rather than "0", so that the default sound output can be overriden easily using /etc/asound.conf CVS patchset: 6795 CVS date: 2004/07/14 23:29:09
2004-06-20this is supposedly a booleanMichael Roitzsch
CVS patchset: 6715 CVS date: 2004/06/20 15:04:19
2004-06-03close ↵Miguel Freitas
http://sourceforge.net/tracker/index.php?func=detail&aid=916089&group_id=9655&atid=109655 try to fix http://sourceforge.net/tracker/index.php?func=detail&aid=925723&group_id=9655&atid=109655 CVS patchset: 6634 CVS date: 2004/06/03 13:40:12
2004-05-23rename from AO_CAP_32BITS to AO_CAP_FLOAT32Michael Roitzsch
CVS patchset: 6581 CVS date: 2004/05/23 16:20:56
2004-05-15Some more updates for 24bit sound.James Courtier-Dutton
CVS patchset: 6545 CVS date: 2004/05/15 23:44:25
2004-05-15Minor adjustments to start adding 24bit and 32bit-Float audio sample support.James Courtier-Dutton
CVS patchset: 6544 CVS date: 2004/05/15 20:27:50
2004-05-07extend help string for speaker arrangementMichael Roitzsch
CVS patchset: 6494 CVS date: 2004/05/07 13:37:00
2004-04-30Implement a more user friendly "Speaker arrangement" config item.James Courtier-Dutton
CVS patchset: 6463 CVS date: 2004/04/30 03:07:33
2004-04-14don't give up at first mixer init failure.patch from Ronald Wahl <patchman ↵Daniel Caujolle-Bert
at users.sourceforge.net> CVS patchset: 6403 CVS date: 2004/04/14 21:30:32
2004-04-11typo fixes from FrantisekMichael Roitzsch
CVS patchset: 6395 CVS date: 2004/04/11 15:27:19
2004-04-10improving config help stringsMichael Roitzsch
* for alsa: do not register config entries multiple times just to get the value, use lookup_entry() * for directx: get rid of unused device_name * for OSS: remove mixer config, derive mixer name from device name CVS patchset: 6379 CVS date: 2004/04/10 14:53:42
2004-03-21Fix longstanding problem when using xine with alsa's dmix audio out plugin.James Courtier-Dutton
CVS patchset: 6292 CVS date: 2004/03/21 03:29:43
2004-03-20add a boolean "audio.alsa_hw_mixer" entry, on by default, to allow front-endsBastien Nocera
to disable the ALSA event thread CVS patchset: 6291 CVS date: 2004/03/20 20:45:18
2004-03-20Correct device names.James Courtier-Dutton
CVS patchset: 6290 CVS date: 2004/03/20 01:32:29
2004-03-19another try to fix mixer thread deadlock. Don't destroy mixer mutex too ↵Daniel Caujolle-Bert
early (thanks Thibaut!) CVS patchset: 6289 CVS date: 2004/03/19 13:17:47
2004-03-18Fix wording of messagesPhilipp Hahn
CVS patchset: 6286 CVS date: 2004/03/18 07:26:24
2004-03-12big cleanup/fix of mute status/events. Bastien, can you check if the event ↵Daniel Caujolle-Bert
thread still lockup on Totem? CVS patchset: 6244 CVS date: 2004/03/12 16:19:29
2004-03-05forgot to uncomment the pthread_{cancel,join} portionDaniel Caujolle-Bert
CVS patchset: 6226 CVS date: 2004/03/05 23:44:39
2004-03-05re-enable mixer thread: add a 333ms timeout. The "only one concerned"Daniel Caujolle-Bert
frontend must be fixed instead of commenting piece of code, IMHO :-) CVS patchset: 6225 CVS date: 2004/03/05 23:01:26
2004-03-03use the _x_abort() macro instead of abort, since it prints some debug infoMichael Roitzsch
before aborting CVS patchset: 6211 CVS date: 2004/03/03 20:09:11
2004-03-02- disable the AO event thread as pthread_cancel is known to be very unreliableBastien Nocera
and is causing deadlocks on exit in Totem, see: http://bugzilla.gnome.org/show_bug.cgi?id=122120 CVS patchset: 6206 CVS date: 2004/03/02 23:51:39
2004-02-21Fix mixer failure for envy24 sound cards.James Courtier-Dutton
Error message reported: - xine: simple.c:1465: snd_mixer_selem_get_playback_volume: Zusicherung »elem« nicht erfüllt. CVS patchset: 6181 CVS date: 2004/02/21 14:16:48
2004-01-29minor improvement in log output formattingJames Stembridge
CVS patchset: 6082 CVS date: 2004/01/29 22:01:07
2003-12-14API version bounceSiggi Langauf
CVS patchset: 5912 CVS date: 2003/12/14 22:13:22
2003-12-12Fix using va_arg without explicit NULL 'terminator'Daniel Caujolle-Bert
CVS patchset: 5892 CVS date: 2003/12/12 01:44:39
2003-12-07get rid of XINE_{ASSERT,ABORT} and useless xine_print_trace (useless). ↵Daniel Caujolle-Bert
Replace XINE_ASSERT by _x_assert, which works exaclty as assert, except that it still warns with NDEBUG defined (but don't abort). Fix missuning of assert(0), which isn't safe, abort is abort, assert is for debugging purpose only, so all assert(0) has been converted to abort() alls. In osd_preload_fonts(): alloc needed memory chunk. Define NDEBUG in CFLAGS, for non DEBUG build only. CVS patchset: 5860 CVS date: 2003/12/07 15:34:29
2003-12-05cleanup phase II. use xprintf when it's relevant, use xine_xmalloc when it's ↵Daniel Caujolle-Bert
relevant too. Small other little fix (can't remember). Change few internal function prototype because it xine_t pointer need to be used if some xine's internal sections. NOTE: libdvd{nav,read} is still too noisy, i will take a look to made it quit, without invasive changes. To be continued... CVS patchset: 5844 CVS date: 2003/12/05 15:54:56
2003-11-26xprintf clean pass. xprintf now log into new XINE_LOG_TRACE log buffer. ↵Daniel Caujolle-Bert
scratch buffer enhancement (thanks Thibaut for the malloc tips), enlarge log buffer from 25 lines (very useless), to 150 (better). CVS patchset: 5801 CVS date: 2003/11/26 23:44:08
2003-11-07Allow for some very basic sound cards that do not support "front" device.James Courtier-Dutton
Fall back to "default" CVS patchset: 5702 CVS date: 2003/11/07 18:25:35
2003-10-20Add a warning about RESUME calls happening when they should now.James Courtier-Dutton
CVS patchset: 5557 CVS date: 2003/10/20 07:04:55
2003-10-12Fix "audio_alsa_out: buffer to small, could not use" for some sound cards.James Courtier-Dutton
Fix was to set period size before buffer size. CVS patchset: 5487 CVS date: 2003/10/12 13:35:49
2003-10-07Fix some bugs in the sound state when using alsa for audio out.James Courtier-Dutton
CVS patchset: 5463 CVS date: 2003/10/07 17:25:10
2003-10-06some housekeeping and compiler warningsMichael Roitzsch
CVS patchset: 5455 CVS date: 2003/10/06 15:27:10
2003-10-04Improve error alsa messages.James Courtier-Dutton
CVS patchset: 5443 CVS date: 2003/10/04 22:49:58
2003-10-04Fix blocking on xine start when using alsa. James Courtier-Dutton
Fixes bug: - http://bugs.debian.org/211304 CVS patchset: 5442 CVS date: 2003/10/04 22:27:58
2003-09-27Another fix due to unexpected bug in alsa-lib. CVS: ↵James Courtier-Dutton
---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: xine-lib/src/audio_out/audio_alsa_out.c CVS: xine-lib/src/xine-engine/audio_out.c CVS: ---------------------------------------------------------------------- CVS patchset: 5419 CVS date: 2003/09/27 14:59:43
2003-09-17Another attempt to get the buffer and period sizes correct.James Courtier-Dutton
alsa-lib has problems if the buffer_size is an odd value, so this code tries to ensure that buffer_size never becomes odd. CVS patchset: 5399 CVS date: 2003/09/17 18:21:09
2003-09-04Change back to old method for setting period size.James Courtier-Dutton
new method discovered bugs in alsa-driver, alsa-lib, so there is not much point in xine-lib using buggy alsa calls, until the bugs get fixed. CVS patchset: 5339 CVS date: 2003/09/04 00:37:31
2003-09-02Fix the device used for stereo output to "front".James Courtier-Dutton
The old default of "default" seems to act strangely. People were getting errors like: - audio_alsa_out: buffer time not available CVS patchset: 5330 CVS date: 2003/09/02 01:28:23
2003-09-01Add proper support for 4.1 and 5 channel setups.James Courtier-Dutton
For 4.1, the output comes out on 3 stereo jacks, but the Center has been mixed with the Front speakers. For 5, the LFE channel has been dropped. CVS patchset: 5324 CVS date: 2003/09/01 04:08:41
2003-09-01Allow a52 passthru to be switchied on and off without having to exit xine.James Courtier-Dutton
One has to stop playing, and then restart playing for it to activate. CVS patchset: 5323 CVS date: 2003/09/01 00:51:45
2003-08-31Be a little more flexible with number of periods.James Courtier-Dutton
try 8, but accept other values recommended by the card. CVS patchset: 5322 CVS date: 2003/08/31 17:56:24
2003-08-28Fix bug in demux_mpeg_pes.cJames Courtier-Dutton
Make sure it waits for a "program_stream_pack_header" before demuxing anything else. CVS patchset: 5315 CVS date: 2003/08/28 16:42:07
2003-08-26Fix long standing problem with alsa not working on some audio cardsJames Courtier-Dutton
when using 6 analogue channels for output. CVS patchset: 5311 CVS date: 2003/08/26 02:37:21
2003-08-09More descriptive error.James Courtier-Dutton
CVS patchset: 5265 CVS date: 2003/08/09 23:11:42