From 4d7518e12772bc102207530c4a11ca9adaffbec4 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sun, 8 Jan 2012 01:34:06 +0000 Subject: [PATCH] Make OpenStream and CloseStream pure virtual Originally committed to SVN as r6227. --- aegisub/src/include/aegisub/audio_player.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aegisub/src/include/aegisub/audio_player.h b/aegisub/src/include/aegisub/audio_player.h index eb785cb4e..7f17e3014 100644 --- a/aegisub/src/include/aegisub/audio_player.h +++ b/aegisub/src/include/aegisub/audio_player.h @@ -62,8 +62,8 @@ public: AudioPlayer(); virtual ~AudioPlayer(); - virtual void OpenStream() {} - virtual void CloseStream() {} + virtual void OpenStream()=0; + virtual void CloseStream()=0; virtual void Play(int64_t start,int64_t count)=0; // Play sample range virtual void Stop(bool timerToo=true)=0; // Stop playing