25 #include "audio/audiostream.h" 27 #include "common/array.h" 28 #include "common/frac.h" 38 Tone(
double frequency,
double length) : freq(frequency), len(length) { }
45 Sound(
const Tones &tones);
49 int readBuffer(int16 *buffer,
const int numSamples)
override;
50 bool isStereo()
const override {
return false; }
51 bool endOfData()
const override;
52 int getRate()
const override {
return _rate; }
int getRate() const override
Definition: sound.h:52
bool isStereo() const override
Definition: sound.h:50
Definition: audiostream.h:50