summaryrefslogtreecommitdiff
path: root/src/audio_out
AgeCommit message (Collapse)Author
2007-03-22Fix crosscompile to use build and host definition from autoconf, rather than ↵Diego 'Flameeyes' Pettenò
using hacksaround. Also replace the whole pthread check with an improved macro originally written for XCB, this way it's not going to try linking the fake -lpthread on Darwin, and it also does not force a -I/usr/local/include on FreeBSD. The new macro respects the same variables set by ports, so that it's even more transparent to FreeBSD users. CVS patchset: 8739 CVS date: 2007/03/22 20:44:58
2007-03-19Don't assume that CoreAudio output is Big Endian (it is not on newer Mac ↵Diego 'Flameeyes' Pettenò
based on Intel CPUs). Patch by Martin Aumueller. CVS patchset: 8723 CVS date: 2007/03/19 23:48:58
2007-03-17Use the Native Endian variants for 16 and 32 bit samples.Diego 'Flameeyes' Pettenò
CVS patchset: 8709 CVS date: 2007/03/17 20:57:59
2007-03-17Clean up configure checks for OSS support. Check for the various soundcard.h ↵Diego 'Flameeyes' Pettenò
headers, and then include the best one that has been found on the system. Check for definition of SNDCTL_DSP_SETFRAGMENT in those headers. Check for the correct request parameter type for ioctl(), as also modern Linux uses unsigned long. Don't list all the big endian machines (as they aren't reliable to list anyway, some of them might work with both endians), use WORDS_BIGENDIAN instead. CVS patchset: 8697 CVS date: 2007/03/17 06:59:31
2007-03-16Fix FreeBSD PR 91728 (problem with ioctl() request parameter being unsigned ↵Diego 'Flameeyes' Pettenò
long rather than int). This patch is less invasive and portable. CVS patchset: 8676 CVS date: 2007/03/16 17:13:57
2007-03-10Don't use Solaris workarounds on other OSes (namely NetBSD). Patch by Sergey ↵Diego 'Flameeyes' Pettenò
Svishchev, see bug #1667848. CVS patchset: 8658 CVS date: 2007/03/10 00:55:14
2007-03-09Use OSS 3.0 API, and retain compatibility with older versions. Patch by ↵Diego 'Flameeyes' Pettenò
Albert Lee. CVS patchset: 8651 CVS date: 2007/03/09 23:56:42
2007-02-25alsa patches from Julian Scheel and Matthias KretzMiguel Freitas
CVS patchset: 8630 CVS date: 2007/02/25 22:33:25
2007-02-25Fix race condition in alsa audio out driver.Miguel Freitas
thanks Kirill Belokurov and Matthias Kretz CVS patchset: 8629 CVS date: 2007/02/25 21:54:03
2007-02-20Mark speaker arrangement array constant.Diego 'Flameeyes' Pettenò
CVS patchset: 8607 CVS date: 2007/02/20 00:04:50
2007-02-03Remove a debug output.Diego 'Flameeyes' Pettenò
CVS patchset: 8584 CVS date: 2007/02/03 10:46:14
2007-02-03Remove the state callbacks, it's simpler to just wait a bit for the ↵Diego 'Flameeyes' Pettenò
connection, as that's just what is going on those given moments, and avoids stray signals along the way. CVS patchset: 8583 CVS date: 2007/02/03 10:45:02
2007-02-03Restructure the plugin a bit: create the mainloop and the context ↵Diego 'Flameeyes' Pettenò
immediately on class load, this way they will be shared by all PulseAudio outputs; connect to the context when opening the output device, rather than the first time you play the stream (this way avoids latency while playing multiple tracks). The result is only one connection is present for xine instance, even if multiple streams are called on it. CVS patchset: 8582 CVS date: 2007/02/03 10:41:09
2007-02-02Replace assert() calls with _x_assert().Diego 'Flameeyes' Pettenò
CVS patchset: 8581 CVS date: 2007/02/02 23:45:23
2007-02-02We don't need to lock anymore as we're using the threaded mainloop, that ↵Diego 'Flameeyes' Pettenò
already is taking care of serialising calls. CVS patchset: 8580 CVS date: 2007/02/02 23:43:01
2007-02-02Make use of threaded mainloop rather than calling it manually, this makes ↵Diego 'Flameeyes' Pettenò
xine not lock up if a pulseaudio connection can't be established. CVS patchset: 8579 CVS date: 2007/02/02 23:36:57
2007-01-29Release stream and playback in ao_fusionsound_exit().Claudio Ciccani
CVS patchset: 8578 CVS date: 2007/01/29 14:39:59
2006-12-27Link to libxine when needed.Diego 'Flameeyes' Pettenò
CVS patchset: 8465 CVS date: 2006/12/27 22:14:45
2006-12-25The alsa audio output plugin uses threads, so link it correctly.Diego 'Flameeyes' Pettenò
CVS patchset: 8446 CVS date: 2006/12/25 18:32:54
2006-12-19Mark string-type configuration items according to whether they're plainDarren Salt
strings or names of files, device nodes or directories. This information is available to front ends (via .num_value) so that they can present file/dir-open dialogue boxes if they so choose. Subtitle font selection is split up due to this. CVS patchset: 8425 CVS date: 2006/12/19 19:10:50
2006-11-10Allow PulseAudio to receive 4.0, 4.1, 5.0 and 5.1 audio.Diego 'Flameeyes' Pettenò
CVS patchset: 8366 CVS date: 2006/11/10 12:10:54
2006-10-13Use __progname to pass the client name to pulseaudio, this way xine, Amarok ↵Diego 'Flameeyes' Pettenò
and Kaffeine won't simply report "xine" as name and be undistinguished. CVS patchset: 8341 CVS date: 2006/10/13 23:24:54
2006-10-09Check for NULL pointers.Claudio Ciccani
More debugging messages. CVS patchset: 8331 CVS date: 2006/10/09 16:03:18
2006-09-21Build fixes (other version of external libcdio workaround, typo in DX aout).František Dvořák
CVS patchset: 8273 CVS date: 2006/09/21 15:01:08
2006-09-08fix switch from alsa/dmix 2.0 to 5.1 [bug #1226595]Miguel Freitas
CVS patchset: 8208 CVS date: 2006/09/08 20:40:34
2006-09-08update latency querying to the new apiMiguel Freitas
CVS patchset: 8206 CVS date: 2006/09/08 19:47:56
2006-09-02Complete removal of polypaudio.Diego 'Flameeyes' Pettenò
CVS patchset: 8197 CVS date: 2006/09/02 22:09:33
2006-09-02Remove polypaudio plugin, in favour of PulseAudio.Diego 'Flameeyes' Pettenò
CVS patchset: 8195 CVS date: 2006/09/02 21:59:54
2006-08-12JACK audio driver by Chris CannamMiguel Freitas
CVS patchset: 8178 CVS date: 2006/08/12 23:57:29
2006-08-08fix segfault due bad vasprintf usageMiguel Freitas
CVS patchset: 8166 CVS date: 2006/08/08 03:16:23
2006-08-04Pass option directly to FusionSoundInit() (avoid using DirectFBSetOption()Claudio Ciccani
because it generates error messages if directfb was already initialized). Enable using FSSF_FLOAT with FusionSound 0.9.26 (CVS). CVS patchset: 8162 CVS date: 2006/08/04 15:52:00
2006-07-16malloc cleanups (based on a patch from Chris Brien).Darren Salt
Also use asprintf() where appropriate, since we now have our own version for where it's not present. CVS patchset: 8130 CVS date: 2006/07/16 16:18:09
2006-07-11Start implementing a pulseaudio output plugin, based on the previous ↵Diego 'Flameeyes' Pettenò
polypaudio plugin. Right now delays don't work (yet), but the rest of it should. CVS patchset: 8114 CVS date: 2006/07/11 05:20:31
2006-07-11Complete cleanup using pkg-config: no need to look for alsa/ or sys/, just ↵Diego 'Flameeyes' Pettenò
include asoundlib.h. CVS patchset: 8108 CVS date: 2006/07/11 03:11:51
2006-07-10Replace custom ALSA macro with a simpler PKG_CHECK_MODULES call, and assume ↵Diego 'Flameeyes' Pettenò
requirement of 0.9.0 minimum. See SF.net bug 1394688. CVS patchset: 8104 CVS date: 2006/07/10 22:43:50
2006-07-10Implement visibility support, available on GCC 4.0 and later and on some 3.4 ↵Diego 'Flameeyes' Pettenò
(through backports), to avoid exporting unneeded internal symbols, making plugins' loading faster and use of internal copies of libraries more solid. It should automatically fall back to the old way in GCCs that does not support -fvisibility=hidden, but has to be tested carefully. No issues were found in the months of testing in Gentoo, but this requires special attention anyway. CVS patchset: 8101 CVS date: 2006/07/10 22:08:12
2006-06-18Misc warnings fixes.Diego 'Flameeyes' Pettenò
CVS patchset: 8055 CVS date: 2006/06/18 20:29:03
2006-06-14Retain the mixer volume so that we can return a sensible value when the ↵Robin KAY
audio device is closed. CVS patchset: 8036 CVS date: 2006/06/14 15:44:54
2006-06-02Various static/const fixes from Gentoo.Darren Salt
CVS patchset: 8009 CVS date: 2006/06/02 22:18:56
2006-05-03Make various arrays and structures (mainly xine_plugin_info) const.Darren Salt
(Diego Pettenò) CVS patchset: 7985 CVS date: 2006/05/03 19:46:06
2006-04-21Add printf format attributes.Darren Salt
CVS patchset: 7977 CVS date: 2006/04/21 23:15:44
2006-03-16[coverity]Thibaut Mattern
CID: 164 Checker: RESOURCE_LEAK (help) File: xine-lib/src/audio_out/audio_arts_out.c Function: open_plugin Description: Returned without freeing storage "this" CVS patchset: 7928 CVS date: 2006/03/16 21:38:17
2006-01-29Imported FusionSound audio driver.Claudio Ciccani
CVS patchset: 7858 CVS date: 2006/01/29 16:00:51
2006-01-27Adapt the engine to the new list code.Thibaut Mattern
CVS patchset: 7848 CVS date: 2006/01/27 07:46:09
2006-01-25* Patch from SuSE to fix alsa after hardware suspendMiguel Freitas
* Fix the ./configure --enable-static-xv parameter CVS patchset: 7844 CVS date: 2006/01/25 17:40:59
2005-09-24- remove have_alsa_1_0_9Miguel Freitas
- note about overlay cropping fix CVS patchset: 7740 CVS date: 2005/09/24 19:27:33
2005-09-05*BUGFIX*František Dvořák
Build improvements and WIN32 port updates: - add --with-pthread-pefix and --with-zlib-pefix options - prepare for removing internal zlib and pthreads-win32 relics, updated documentation for possible WIN32 developers (only for me? :->) - fixed bug in unimportant part of configure.ac for MinGW due to xine paths - fixed my bug in cdda (but it compiled fine anyway) - fixed unimportant bug in planar Makefile.am - next MSVC update due to external zlib, pthreads and latest changes, removed relic includes - checked distcheck CVS patchset: 7719 CVS date: 2005/09/05 17:02:56
2005-08-29*BUGFIX*František Dvořák
Windows ports updates: - finished M$VC port update - moved xine plugins back to normal location for Windows ports, added relative directories (used relative to ${prefix}), make sure it's thread-safe (but it's still hacky) - fixed ugly bug with loading plugins, when working drive was differrent from plugins directory directory - directory and subdirectory separator called as platform specific - fix crash with newer win32 pthread (missing mutex_init in vo plugin), yes! - small doc update CVS patchset: 7712 CVS date: 2005/08/29 15:28:16
2005-08-25*BUGFIX*František Dvořák
Windows ports fixes and improvements due to my current work on toxine: - first experiments with external win32 pthreads, more portable code (pthread_t may be a struct) - headers refactored - moved dirent win32 replacement to lib/, hide it for frontends, used system version, if found, not used non-POSIX dirent->d_reclen (this item doesn't work in MinGW), fix memleak in dvb - separated settings for postproc and avcodec when using external ffmpeg - check for malloc.h in public xine.m4, used it conditionally in xine headers - replaced random() by POSIX more common rand() - prevent one segfault in directx vo plugin, if fails - M$VC port update CVS patchset: 7709 CVS date: 2005/08/25 15:36:29
2005-07-31s/HAS_ALSA/HAVE_ALSA/Darren Salt
CVS patchset: 7704 CVS date: 2005/07/31 14:58:50