#include <chip.h>
Public Member Functions | |
void | setCallbackFrequency (int timerFrequency) |
Public Member Functions inherited from Audio::Chip | |
void | start (TimerCallback *callback, int timerFrequency) |
void | stop () |
Protected Member Functions | |
void | startCallbacks (int timerFrequency) |
void | stopCallbacks () |
virtual void | onTimer () |
Additional Inherited Members | |
Public Types inherited from Audio::Chip | |
typedef Common::Functor0< void > | TimerCallback |
Protected Attributes inherited from Audio::Chip | |
Common::ScopedPtr< TimerCallback > | _callback |
A Chip that represents a real sound chip, as opposed to an emulated one.
This will use an actual timer instead of using one calculated from the number of samples in an AudioStream::readBuffer call.
|
virtual |
Change the callback frequency. This must only be called from a timer proc.
Implements Audio::Chip.
|
protectedvirtual |
Start the callbacks.
Implements Audio::Chip.
|
protectedvirtual |
Stop the callbacks.
Implements Audio::Chip.