wav_count must be unsigned