aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sfx/player.h')
-rw-r--r--engines/sci/sfx/player.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/engines/sci/sfx/player.h b/engines/sci/sfx/player.h
index 104a50db09..f6275bd820 100644
--- a/engines/sci/sfx/player.h
+++ b/engines/sci/sfx/player.h
@@ -37,14 +37,11 @@ namespace Sci {
class SfxPlayer {
public:
- const char *name;
- const char *version;
-
/** Number of voices that can play simultaneously */
- int polyphony;
+ int _polyphony;
public:
- SfxPlayer() : name(0), version(0), polyphony(0) {}
+ SfxPlayer() : _polyphony(0) {}
virtual ~SfxPlayer() {}
virtual Common::Error init(ResourceManager *resmgr, int expected_latency) = 0;
@@ -96,12 +93,6 @@ public:
** Returns : (int) Common::kNoError on success, Common::kUnknownError on failure
*/
- virtual void maintenance() {}
- /* Regularly called maintenance function
- ** This function is called frequently and regularly (if present), it can be
- ** used to emit sound.
- */
-
virtual void tell_synth(int buf_nr, byte *buf) = 0;
/* Pass a raw MIDI event to the synth
Parameters: (int) argc: Length of buffer holding the midi event