[Scummvm-cvs-logs] CVS: scummvm/common system.h,1.31,1.32
Max Horn
fingolfin at users.sourceforge.net
Sun Jun 8 18:20:03 CEST 2003
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv10375/common
Modified Files:
system.h
Log Message:
added clear_sound_proc method to backend API (this requires all backends to be modified, but can't help it)
Index: system.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/system.h,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- system.h 8 Jun 2003 12:11:11 -0000 1.31
+++ system.h 9 Jun 2003 01:19:24 -0000 1.32
@@ -258,6 +258,13 @@
* @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;
//@}
More information about the Scummvm-git-logs
mailing list