Re: [Audacity-devel] sync problem solution
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Dominic M. <do...@mi...> - 2003-02-27 07:41:18
|
Joshua Haberman wrote: > I think we can say for sure that the problem arises from concurrent > calls to WaveTrack::Append() and WaveTrack::GetWaveDisplay(). So I > think the answer to this problem lies in those two methods. A temporary > solution could be to protect WaveTrack::GetWaveDisplay() with the same > critical section that is currently protecting WaveTrack::Append(). Actually GetWaveDisplay doesn't appear to be part of the problem. When I comment it out, the tracks still end up different lengths after 10-20 seconds. In fact, even if I comment out all of the code in TrackArtist::DrawWaveform, they end up different lengths. - Dominic |