--- waveform.cc~ 2004-06-15 15:51:43.958498528 +0000 +++ waveform.cc 2004-06-15 15:51:57.195486200 +0000 @@ -380,7 +380,7 @@ DWORD dwResult; WAVEFORMATEX pFormat; if (activebuffie) - while (!(wavehdr.dwFlags | WHDR_DONE)) ; // FIXME: busy waiting + while (!(wavehdr.dwFlags & WHDR_DONE)) ; pFormat.wFormatTag = hdr.datform; pFormat.wBitsPerSample = hdr.samplesize; pFormat.nSamplesPerSec = hdr.sf1;