Browse Source

[alsa_out] remove the offset on the delay computation

git-svn-id: svn+ssh://jackaudio.org/trunk/jack@4134 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.120.1
torben 14 years ago
parent
commit
cd2dca8587
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      tools/alsa_out.c

+ 0
- 1
tools/alsa_out.c View File

@@ -324,7 +324,6 @@ int process (jack_nframes_t nframes, void *arg) {
delay = (num_periods*period_size)-snd_pcm_avail( alsa_handle ) ; delay = (num_periods*period_size)-snd_pcm_avail( alsa_handle ) ;


delay -= jack_frames_since_cycle_start( client ); delay -= jack_frames_since_cycle_start( client );
delay += jack_get_buffer_size( client ) / 2;
// Do it the hard way. // Do it the hard way.
// this is for compensating xruns etc... // this is for compensating xruns etc...




Loading…
Cancel
Save