[vdr] vdr-iptv-0.0.5 + vdr-xine audio problem

Darren Salt linux at youmustbejoking.demon.co.uk
Tue Jan 22 19:42:46 CET 2008


I demand that Antti Seppälä may or may not have written...

> Jouni Karvo wrote:
>> I really have no idea of which settings to try next.  Configuring 
>> xine-ui is not really an easy thing.

> Few people have reported audio problems in xine-lib version 1.1.9.

> The setting audio.synchronization.slow_fast_audio (discussed here
> http://www.linuxtv.org/pipermail/vdr/2008-January/015210.html) might help.

> Also changing audio.synchronization.av_sync_method and/or
> audio.synchronization.resample_mode may have an effect on your audio
> problems.

This patch should fix it. If you find that it works, report back and I'll
make sure that it gets committed.

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 );

-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
|   <URL:http://www.youmustbejoking.demon.co.uk/progs.packages.html>

Maybe Computer Science should be in the College of Theology.



More information about the vdr mailing list