diff --git a/aegisub/audio_player_dsound.cpp b/aegisub/audio_player_dsound.cpp index dc891aa45..5fb09e37f 100644 --- a/aegisub/audio_player_dsound.cpp +++ b/aegisub/audio_player_dsound.cpp @@ -338,7 +338,7 @@ void DirectSoundPlayer::Play(int64_t start,int64_t count) { FillBuffer(true); DWORD play_flag = 0; - if (count > bufSize) { + if (count*provider->GetBytesPerSample() > bufSize) { // Start thread thread = new DirectSoundPlayerThread(this); thread->Create();