|
libsidplayfp
1.0.3
|
#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 |
This class implements the mixer.
| Mixer::Mixer | ( | EventContext * | context | ) | [inline] |
Create a new mixer.
| context | event context |
| void Mixer::event | ( | ) | [virtual] |
const int_least32_t Mixer::VOLUME_MAX = 1024 [static] |
Maximum allowed volume, must be a power of 2
1.7.6.1