Jörg Höhle : winmm: dwBytesRecorded controls how much is played, not dwBufferLength.