[Scummvm-cvs-logs] SF.net SVN: scummvm: [25885] scummvm/trunk/engines/gob/sound.h
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Mon Feb 26 21:44:40 CET 2007
Revision: 25885
http://scummvm.svn.sourceforge.net/scummvm/?rev=25885&view=rev
Author: fingolfin
Date: 2007-02-26 12:44:39 -0800 (Mon, 26 Feb 2007)
Log Message:
-----------
More dead code; augmented note on PC speaker emulation
Modified Paths:
--------------
scummvm/trunk/engines/gob/sound.h
Modified: scummvm/trunk/engines/gob/sound.h
===================================================================
--- scummvm/trunk/engines/gob/sound.h 2007-02-26 20:41:52 UTC (rev 25884)
+++ scummvm/trunk/engines/gob/sound.h 2007-02-26 20:44:39 UTC (rev 25885)
@@ -43,8 +43,6 @@
inClocks(0), frequency(0), flag(0) {}
};
- typedef void (*CleanupFuncPtr) (int16);
-
char _playingSound;
Snd(GobEngine *vm);
@@ -74,6 +72,9 @@
protected:
// TODO: This is a very primitive square wave generator. The only thing is
// has in common with the PC speaker is that it sounds terrible.
+ // Note: The SCUMM code has a PC speaker implementations; maybe it could be
+ // refactored to be reusable by all engines. And DosBox also has code
+ // for emulating the PC speaker.
class SquareWaveStream : public Audio::AudioStream {
private:
uint _rate;
@@ -86,7 +87,6 @@
public:
SquareWaveStream();
- ~SquareWaveStream() {}
void playNote(int freq, int32 ms, uint rate);
void update(uint32 milis);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list