diff options
author | Max Horn | 2003-06-09 01:19:25 +0000 |
---|---|---|
committer | Max Horn | 2003-06-09 01:19:25 +0000 |
commit | 82af035f91077551b4bbf3a284d49b50e36bc88d (patch) | |
tree | b4bab4e5b8159d63f7297e6f99b95de95d86207a /common/system.h | |
parent | 35ef32cf4bb23139ff32e6a445fffb6ab639acde (diff) | |
download | scummvm-rg350-82af035f91077551b4bbf3a284d49b50e36bc88d.tar.gz scummvm-rg350-82af035f91077551b4bbf3a284d49b50e36bc88d.tar.bz2 scummvm-rg350-82af035f91077551b4bbf3a284d49b50e36bc88d.zip |
added clear_sound_proc method to backend API (this requires all backends to be modified, but can't help it)
svn-id: r8409
Diffstat (limited to 'common/system.h')
-rw-r--r-- | common/system.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h index d8c06d1ef0..68408a6a13 100644 --- a/common/system.h +++ b/common/system.h @@ -258,6 +258,13 @@ public: * @param format the sample type format. */ virtual bool set_sound_proc(SoundProc *proc, void *param, SoundFormat format) = 0; + + /** + * Remove any audio callback previously set via set_sound_proc, thus effectively + * stopping all audio output immediately. + * @see set_sound_proc + */ + virtual void clear_sound_proc() = 0; //@} |