From patchwork Tue Jan 22 18:42:46 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Darren Salt X-Patchwork-Id: 12588 Received: from anchor-post-34.mail.demon.net ([194.217.242.92]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1JHOCm-000511-Cw for vdr@linuxtv.org; Tue, 22 Jan 2008 19:50:40 +0100 Received: from youmustbejoking.demon.co.uk ([80.176.152.238] helo=pentagram.youmustbejoking.demon.co.uk) by anchor-post-34.mail.demon.net with esmtp (Exim 4.67) id 1JHOCl-0001Ch-DD for vdr@linuxtv.org; Tue, 22 Jan 2008 18:50:39 +0000 Received: from [192.168.0.5] (helo=flibble.youmustbejoking.demon.co.uk) by pentagram.youmustbejoking.demon.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1JHOCY-00047t-4i for vdr@linuxtv.org; Tue, 22 Jan 2008 18:50:38 +0000 Date: Tue, 22 Jan 2008 18:42:46 +0000 From: Darren Salt To: vdr@linuxtv.org Message-ID: <4F6AB5F748%linux@youmustbejoking.demon.co.uk> In-Reply-To: <4794DF33.7010707@niksula.hut.fi> References: <47250672.8090009@niksula.hut.fi> <47921373.2010401@iki.fi> <479237E4.2060605@iki.fi> <47924ECC.80101@niksula.hut.fi> <47925B92.30004@iki.fi> <479310D9.6010505@niksula.hut.fi> <4793A7EE.6040200@iki.fi> <4794DF33.7010707@niksula.hut.fi> Mail-Followup-To: vdr@linuxtv.org User-Agent: Gemini/2.29a (Qt/3.3.7) (Linux-x86_64) X-SDate: Tue, 5257 Sep 1993 18:42:46 +0000 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.0.5 X-SA-Exim-Mail-From: linux@youmustbejoking.demon.co.uk X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on pentagram.youmustbejoking.demon.co.uk X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-SA-Exim-Scanned: Yes (on pentagram.youmustbejoking.demon.co.uk) Subject: Re: [vdr] vdr-iptv-0.0.5 + vdr-xine audio problem X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 18:50:40 -0000 Status: O X-Status: X-Keywords: X-UID: 15239 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 );