diff options
author | Max Horn | 2009-05-26 11:49:10 +0000 |
---|---|---|
committer | Max Horn | 2009-05-26 11:49:10 +0000 |
commit | 1d00cc5df09dd5fcacd3ea007b45ab33e6332e77 (patch) | |
tree | 2d112e3d1a2d5cbd2969d58f791cce5e48e53b45 /engines/sci/sfx/player/polled.h | |
parent | c5539b4e4e948825c0116194e06ddf3dbde3ed17 (diff) | |
download | scummvm-rg350-1d00cc5df09dd5fcacd3ea007b45ab33e6332e77.tar.gz scummvm-rg350-1d00cc5df09dd5fcacd3ea007b45ab33e6332e77.tar.bz2 scummvm-rg350-1d00cc5df09dd5fcacd3ea007b45ab33e6332e77.zip |
SCI: Turned sfx_player_t into a class SfxPlayer, and converted the existing players to subclasses of that
svn-id: r40912
Diffstat (limited to 'engines/sci/sfx/player/polled.h')
-rw-r--r-- | engines/sci/sfx/player/polled.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/engines/sci/sfx/player/polled.h b/engines/sci/sfx/player/polled.h index 9a1e31e44b..f3485aae8e 100644 --- a/engines/sci/sfx/player/polled.h +++ b/engines/sci/sfx/player/polled.h @@ -30,7 +30,19 @@ namespace Sci { -extern sfx_player_t sfx_player_polled; +class PolledPlayer : public SfxPlayer { +public: + PolledPlayer(); + + virtual Common::Error init(ResourceManager *resmgr, int expected_latency); + virtual Common::Error add_iterator(SongIterator *it, uint32 start_time); + virtual Common::Error stop(); + virtual Common::Error iterator_message(const SongIterator::Message &msg); + virtual Common::Error pause(); + virtual Common::Error resume(); + virtual Common::Error exit(); + virtual void tell_synth(int buf_nr, byte *buf); +}; } // End of namespace Sci |