Audio plays back when i first start xine-ui or gxine but when i switch dvb channel the audio disappears , i have spoken with a xine dev who says this patch will fix it diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c --- a/src/xine-engine/audio_out.c +++ b/src/xine-engine/audio_out.c @@ -1619,6 +1619,7 @@ static void ao_close(xine_audio_port_t * } /* make sure there are no more buffers on queue */ fifo_wait_empty(this->out_fifo); + ao_set_property(this_gen, AO_PROP_DISCARD_BUFFERS, 0); } pthread_mutex_lock( &this->driver_lock ); Reproducible: Always Steps to Reproduce: 1.start xine-ui or gxine 2.select dvb 3.change channel Actual Results: loss of audio Expected Results: played back audio
Confirmed; the supplied patch works for me. Thanks!
An update: the same loss of sound occurs when changing between media types (e.g. DVB -> DVD or vice versa.) I suspect that a similar statement needs to be added elsewhere in the code to fix this problem.
hmm in xine 1.1.10 changelog there is that: * Fix a possible crash on channel change in the DVB plugin. could anyone confirm this is now fixed ?
lets assume this is fixed since I can see some code that looks like this patch in 1.1.14