Changeset 3216:651f22f49d8c in roaraudio


Ignore:
Timestamp:
01/24/10 06:07:19 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

also count the mixer delay

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/streams.c

    r3214 r3216  
    822822  return 0; 
    823823 
     824 if ( ss->mixer_stream != id ) { 
     825  if ( streams_calc_delay(ss->mixer_stream) != -1 ) { 
     826   d += g_streams[ss->mixer_stream]->delay; // in case we can calc the delay 
     827                                            // the stream must exist, so no check here 
     828  } 
     829 } 
     830 
    824831 if ( ss->codecfilter != -1 ) { 
    825832  if ( codecfilter_delay(ss->codecfilter_inst, ss->codecfilter, t) != -1 ) 
Note: See TracChangeset for help on using the changeset viewer.