libsidplayfp
1.0.1
|
#include <mixer.h>
Public Member Functions | |
Mixer (EventContext *context) | |
void | event () |
void | reset () |
void | begin (short *buffer, uint_least32_t count) |
void | setSids (sidemu *chip1, sidemu *chip2) |
bool | setFastForward (int ff) |
void | setVolume (int_least32_t left, int_least32_t right) |
void | setStereo (bool stereo) |
bool | notFinished () const |
uint_least32_t | samplesGenerated () const |
uint_least32_t | sampleCount () const |
Static Public Attributes | |
static const int_least32_t | VOLUME_MAX = 1024 |
Additional Inherited Members | |
![]() | |
Event (const char *const name) | |
This class implements the mixer.
|
inline |
Create a new mixer.
context | event context |
|
static |
Maximum allowed volume, must be a power of 2