summaryrefslogtreecommitdiff
path: root/src/audio_out
AgeCommit message (Collapse)Author
2003-12-13- check that setting the "bits per sample" was what we asked for even if the ↵Bastien Nocera
ioctl works (fixes playback of 8 bits sounds on i810 soundcards) CVS patchset: 5904 CVS date: 2003/12/13 19:22:33
2003-12-13Update win32 MSVC build:František Dvořák
* internal names cleanup * http input plugin uses http_helper.c * fix change in audio_directx * MSVC stoped compile xineui because of 'this', mysterious * change non-constand array lengths to malloc/free, it good for such old compilers as my MSVC 6.0 * change lprintf macro for MSVC to compile again (I don't know, how use variable number of macro arguments in MSVC...) * merge compiling of xine-utils and xine-engine CVS patchset: 5902 CVS date: 2003/12/13 11:35:07
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-09update copyright year (and we have to do it again in 3 weeks... ;-) )Daniel Caujolle-Bert
CVS patchset: 5879 CVS date: 2003/12/09 00:02:28
2003-12-08another lprintf found that prints the filename twiceMichael Roitzsch
CVS patchset: 5866 CVS date: 2003/12/08 11:34:37
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-07- don't segfault when the audio device isn't availableBastien Nocera
CVS patchset: 5857 CVS date: 2003/12/07 00:25:52
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-29AUDIODEV patch by Mitch@0Bits.COMMiguel Freitas
CVS patchset: 5817 CVS date: 2003/11/29 15:41:37
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-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
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-25use relchk.sh use relchk.sh use relchk.shDaniel Caujolle-Bert
fix "make dist". Now tarball is complete. don't expect people have doc formatting tools (check for sgmltools and fig2dev). rename the spaced name file in win32 (Tim, can you check if i didn't break anything please ?). CVS patchset: 5589 CVS date: 2003/10/25 00:49:11
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-19Try to follow audio_out api.Thibaut Mattern
Thanks to Daniel for the patch. Bastien: please test CVS patchset: 5542 CVS date: 2003/10/19 13:40:32
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
2003-07-20More USB soundcard updates.James Courtier-Dutton
CVS patchset: 5199 CVS date: 2003/07/20 12:29:18
2003-07-20Improve playback on USB sound cards.James Courtier-Dutton
These changes improve xine's response to the removal of a USB cable while playing audio. Further changes will need to happen so as to allow sound output to continue when the USB cable is plugged back in, without having to stop the media stream. To enable that, when xine detects that the sound card is not there any more, it will have to close both pcm and mixer, so that the kernel can release USB resources, then when the USB cable is plugged back in, the pcm and mixer are opened again. This code might also modify what xine does in underrun situations, so this code might need to be changed again. CVS patchset: 5196 CVS date: 2003/07/20 10:34:29
2003-07-19typo?Michael Roitzsch
CVS patchset: 5186 CVS date: 2003/07/19 11:58:32
2003-07-18made alsa-lib silent with non DEBUG buildsDaniel Caujolle-Bert
CVS patchset: 5174 CVS date: 2003/07/18 20:51:51
2003-07-02Update xine to use new alsa api.James Courtier-Dutton
CVS patchset: 5121 CVS date: 2003/07/02 12:56:10
2003-06-22some additional pthread_*_destroy() callsMichael Roitzsch
(based on the implementation, this might fix memleaks on some platforms, although I doubt that this is the case here) CVS patchset: 5091 CVS date: 2003/06/22 17:10:41
2003-06-18Daniel's patch for audio level reporting with alsaMichael Roitzsch
CVS patchset: 5064 CVS date: 2003/06/18 12:59:39
2003-06-06Add a new mmap mode to audio alsa output.James Courtier-Dutton
Look for config item "audio.alsa_mmap_enable". 0 = use normal mode, 1 = use mmap mode. CVS patchset: 5008 CVS date: 2003/06/06 14:01:11
2003-06-02since this might be dangerous to speakers, we should increase the experience ↵Michael Roitzsch
level of this option CVS patchset: 4999 CVS date: 2003/06/02 16:41:10
2003-06-01Work around for users with an oss sound card with spdif, but the soundJames Courtier-Dutton
card incorrectly reports AFMT_AC3 as being absent. In effect, this forces xine to send non-audio AC3 and DTS data to the sound card, without ever knowing if the spdif is working or not. Can cause horrible noise to come out of speakers, and might even damage speakers. CVS patchset: 4995 CVS date: 2003/06/01 22:48:26
2003-05-31do not probe audio_none_outMiguel Freitas
CVS patchset: 4992 CVS date: 2003/05/31 13:33:10
2003-05-24xine_usec_sleep is used in ao_none, so it should be linked against libxineMichael Roitzsch
CVS patchset: 4922 CVS date: 2003/05/24 14:37:16
2003-05-15audio_out loop rely upon driver eventually blocking after a couple ofMiguel Freitas
writes. if not, we will be wasting cpu there. CVS patchset: 4849 CVS date: 2003/05/15 13:28:54
2003-05-15some build-system cleanupMichael Roitzsch
CVS patchset: 4848 CVS date: 2003/05/15 08:21:15
2003-05-14as announced on xine-devel, this is the big Makefile refactoring:Michael Roitzsch
extracted some common targets and variables into a common Makefile which is then included CVS patchset: 4844 CVS date: 2003/05/14 16:21:44
2003-05-13add audio out driver "none"Miguel Freitas
obs: none != null (null disables audio decoding) CVS patchset: 4842 CVS date: 2003/05/13 22:39:41
2003-05-06This is some general Win32 cleanup and getting ready for DVD support.Tim Champagne
CVS patchset: 4779 CVS date: 2003/05/06 14:02:24
2003-04-23I am not a Win32 developer, but I guess this is a sweet misunderstanding:Michael Roitzsch
audio_directx_out is an audio OUTPUT plugin, not a audio DECODER plugin therefore this buffer type is wrong here, since only DECODERS need to register buffer types CVS patchset: 4664 CVS date: 2003/04/23 16:15:00
2003-04-23check type of mixer element before trying to use itJames Stembridge
CVS patchset: 4655 CVS date: 2003/04/23 10:39:33
2003-04-22Adding a couple of files missing files for the Win32/msvc port (audio and ↵Tim Champagne
video directx) CVS patchset: 4648 CVS date: 2003/04/22 20:09:38