diff options
author | Max Horn | 2003-10-03 23:34:06 +0000 |
---|---|---|
committer | Max Horn | 2003-10-03 23:34:06 +0000 |
commit | ad293a5ab8bf59f9535a4e8fbb3681c76f28128e (patch) | |
tree | d622de229789fe7258d36fcf4ffec6892a2e4de1 /scumm/player_mod.h | |
parent | c3d84b1a14b787ba9037b71f11d601d6e40fb4f7 (diff) | |
download | scummvm-rg350-ad293a5ab8bf59f9535a4e8fbb3681c76f28128e.tar.gz scummvm-rg350-ad293a5ab8bf59f9535a4e8fbb3681c76f28128e.tar.bz2 scummvm-rg350-ad293a5ab8bf59f9535a4e8fbb3681c76f28128e.zip |
cleanup / doxygenification
svn-id: r10578
Diffstat (limited to 'scumm/player_mod.h')
-rw-r--r-- | scumm/player_mod.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/scumm/player_mod.h b/scumm/player_mod.h index bdc4bc5cf0..b48bc07cbe 100644 --- a/scumm/player_mod.h +++ b/scumm/player_mod.h @@ -30,8 +30,9 @@ namespace Scumm { -#define MOD_MAXCHANS 16 - +/** + * Generic Amiga MOD mixer - provides a 60Hz 'update' routine. + */ class Player_MOD { public: Player_MOD(ScummEngine *scumm); @@ -50,11 +51,9 @@ public: virtual void clearUpdateProc(); private: - SoundMixer *_mixer; - - uint32 _mixamt; - uint32 _mixpos; - int _samplerate; + enum { + MOD_MAXCHANS = 16 + }; struct soundChan { @@ -66,6 +65,13 @@ private: RateConverter *converter; AudioInputStream *input; }; + + SoundMixer *_mixer; + + uint32 _mixamt; + uint32 _mixpos; + int _samplerate; + soundChan _channels[MOD_MAXCHANS]; uint8 _maxvol; |