#include <DspMmapped.h>
Inheritance diagram for DspMmapped
Public Methods | |
DspMmapped (int rate = 44100, int bits = 16, bool stereo = true, bool threaded = true, const std::string& device = "/dev/dsp") | |
virtual | ~DspMmapped () |
Protected Methods | |
void | Create (int reate, int bits, int stereo) |
void | Destroy () |
virtual void | PrepareBuffer () |
Prepare the buffer for mixing. More... | |
virtual void | Output () |
virtual void | MixBuffer (Status& status, unsigned long length, Fixed scale) |
Protected Attributes | |
unsigned char* | m_audio_buffer_ptr |
const std::string& | m_device |
int | m_fragsize |
int | m_blksize |
int | m_size |
int | m_extra |
|
Prepare the buffer for mixing. Simply zeros the buffer. Reimplemented from AudioToFile. |