diff options
author | Joost Peters | 2003-10-28 15:26:05 +0000 |
---|---|---|
committer | Joost Peters | 2003-10-28 15:26:05 +0000 |
commit | ee276b12b829a675043bfd12a92e3cb82b4ca064 (patch) | |
tree | 08631b163d52dcd93d65592d733a3a0da086f3d9 /queen/sound.h | |
parent | cb2306373d9b1be5d61e25999af249fb6632865d (diff) | |
download | scummvm-rg350-ee276b12b829a675043bfd12a92e3cb82b4ca064.tar.gz scummvm-rg350-ee276b12b829a675043bfd12a92e3cb82b4ca064.tar.bz2 scummvm-rg350-ee276b12b829a675043bfd12a92e3cb82b4ca064.zip |
add OGG playback to queen
svn-id: r10993
Diffstat (limited to 'queen/sound.h')
-rw-r--r-- | queen/sound.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/queen/sound.h b/queen/sound.h index f6a4cb164e..d66c2cf690 100644 --- a/queen/sound.h +++ b/queen/sound.h @@ -41,7 +41,7 @@ public: protected: SoundMixer *_mixer; - Input *_input; + Input *_input; Resource *_resource; PlayingSoundHandle _sfxHandle; @@ -56,8 +56,9 @@ public: class SBSound : public Sound { public: SBSound(SoundMixer *mixer, Input *input, Resource *resource) : Sound(mixer, input, resource) {}; - int playSound(byte *sound, uint32 size); void sfxPlay(const char *base); +protected: + int playSound(byte *sound, uint32 size); }; #ifdef USE_MAD @@ -68,6 +69,13 @@ public: }; #endif +#ifdef USE_VORBIS +class OGGSound : public Sound { +public: + OGGSound(SoundMixer *mixer, Input *input, Resource *resource) : Sound(mixer, input, resource) {}; + void sfxPlay(const char *base); +}; +#endif } // End of namespace Queen #endif |