28 #ifndef GOB_SOUND_SOUNDBLASTER_H 29 #define GOB_SOUND_SOUNDBLASTER_H 31 #include "common/mutex.h" 33 #include "gob/sound/soundmixer.h" 48 void playSample(
SoundDesc &sndDesc, int16 repCount,
49 int16 frequency, int16 fadeLength = 0);
50 void stopSound(int16 fadeLength,
SoundDesc *sndDesc = 0);
52 void playComposition(
const int16 *composition, int16 freqVal,
53 SoundDesc *sndDescs = 0, int8 sndCount = 60);
54 void stopComposition();
55 void endComposition();
57 void repeatComposition(int32 repCount);
63 int8 _compositionSampleCount;
64 int16 _composition[50];
67 int32 _compositionRepCount;
71 void setSample(
SoundDesc &sndDesc, int16 repCount,
72 int16 frequency, int16 fadeLength)
override;
73 void checkEndSample()
override;
74 void endFade()
override;
76 void nextCompositionPos();
81 #endif // GOB_SOUND_SOUNDBLASTER_H
Definition: sounddesc.h:43
Definition: soundblaster.h:43
Definition: soundmixer.h:40