Age | Commit message (Collapse) | Author |
|
|
|
Version 0.9.6 has PA_PROTOCOL_VERSION 10, version 0.9.7 has 11.
This simplifies configure and limits the knowledge about PA versions to the
audio output plug-in.
This time, the patch includes configure.ac, too.
|
|
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.
With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().
malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.
--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
|
|
put the volume to zero.
|
|
|
|
The value being converted is already of the correct type.
|
|
The problem was basically that detection if PA was available happened in
open() instead of open_plugin().
|
|
It's basically a rework of the PulseAudio driver, fixing all the
inherent races (and thus stability issues), adding proper surround
sound support, support for proper muting and pause/resume. It also
gets rid of all usleep() loops to make sure we don't wakeup more often
than we need to. Also does a couple of other minor cleanups.
This also increases the autoprobe priority to 12, above ALSA, to make
sure that the Pulse plugin is preferred over ALSA if both are
available. This is because we want to make sure that Xine-on-PA is
preferred over Xine-on-ALSA-on-PA.
|
|
|
|
there.
Instead of using a thread to watch for completion, use mutexes where needed.
Don't wait for operation completion for volume changes, they can happen asynchronously too.
|
|
|
|
--HG--
extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
|
|
For contributed code, leave whatever the version we last synced for is using
to make simpler future syncs.
|
|
Unfortunately if the server dies during playback xine will be too messed up to recover.
This is the same issue as unplugged USB devices, it requires a proper generic handling of these cases.
CVS patchset: 8779
CVS date: 2007/04/01 00:32:29
|
|
CVS patchset: 8778
CVS date: 2007/03/31 22:06:54
|
|
CVS patchset: 8777
CVS date: 2007/03/31 21:22:58
|
|
getter methods, returning the correct value in case the property is not implemented.
CVS patchset: 8776
CVS date: 2007/03/31 21:16:22
|
|
xine's plugin wasn't, this caused race conditions similar to the old ones with ALSA output.
Also instead of copying two pointers (three with the mutex) from the class to the output instance, just copy a pointer to the class.
CVS patchset: 8775
CVS date: 2007/03/31 20:58:51
|
|
CVS patchset: 8709
CVS date: 2007/03/17 20:57:59
|
|
CVS patchset: 8584
CVS date: 2007/02/03 10:46:14
|
|
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
|
|
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
|
|
CVS patchset: 8581
CVS date: 2007/02/02 23:45:23
|
|
already is taking care of serialising calls.
CVS patchset: 8580
CVS date: 2007/02/02 23:43:01
|
|
xine not lock up if a pulseaudio connection can't be established.
CVS patchset: 8579
CVS date: 2007/02/02 23:36:57
|
|
CVS patchset: 8366
CVS date: 2006/11/10 12:10:54
|
|
and Kaffeine won't simply report "xine" as name and be undistinguished.
CVS patchset: 8341
CVS date: 2006/10/13 23:24:54
|
|
CVS patchset: 8206
CVS date: 2006/09/08 19:47:56
|
|
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
|
|
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
|