From cd2dca85871552b71f5536db3721b390d7b9a49b Mon Sep 17 00:00:00 2001 From: torben Date: Tue, 1 Mar 2011 01:31:00 +0000 Subject: [PATCH] [alsa_out] remove the offset on the delay computation git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4134 0c269be4-1314-0410-8aa9-9f06e86f4224 --- tools/alsa_out.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/alsa_out.c b/tools/alsa_out.c index 9d58e4d..8e34006 100644 --- a/tools/alsa_out.c +++ b/tools/alsa_out.c @@ -324,7 +324,6 @@ int process (jack_nframes_t nframes, void *arg) { delay = (num_periods*period_size)-snd_pcm_avail( alsa_handle ) ; delay -= jack_frames_since_cycle_start( client ); - delay += jack_get_buffer_size( client ) / 2; // Do it the hard way. // this is for compensating xruns etc...