libsidplayfp 1.0.3
Public Member Functions | Static Public Attributes
Mixer Class Reference

#include <mixer.h>

Inheritance diagram for Mixer:
Event

List of all members.

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

Detailed Description

This class implements the mixer.


Constructor & Destructor Documentation

Mixer::Mixer ( EventContext context) [inline]

Create a new mixer.

Parameters:
contextevent context

Member Function Documentation

void Mixer::event ( ) [virtual]

Timer ticking event.

Implements Event.


Member Data Documentation

const int_least32_t Mixer::VOLUME_MAX = 1024 [static]

Maximum allowed volume, must be a power of 2


The documentation for this class was generated from the following files: