53 virtual bool Init(
const char* resname,
bool loop,
float volume_preset,
58 csRef<iDocument> sheet;
A Volume and Sound control class.
bool dopplerEffect
true if the doppler effect is enabled for this sound
SongHandle(csRef< iDocument > musicalSheet, Instrument *instrument)
Constructor.
This class represent a musical instrument.
virtual ~SongHandle()
Destructor.
virtual bool Init(const char *resname, bool loop, float volume_preset, int type, SoundControl *&ctrl, bool dopplerEffect)
Initialize this Handle.