LMMS
Loading...
Searching...
No Matches
zyncarla::OutMgr Class Reference

#include <OutMgr.h>

Public Member Functions

 ~OutMgr ()
const Stereo< float * > tick (unsigned int frameSize) REALTIME
void requestSamples (unsigned int n=1)
AudioOutgetOut (std::string name)
std::string getDriver () const
bool setSink (std::string name)
std::string getSink () const
void setMaster (class Master *master_)
void applyOscEventRt (const char *msg)

Static Public Member Functions

static OutMgrgetInstance (const SYNTH_T *synth=NULL)

Public Attributes

class WavEnginewave

Private Member Functions

 OutMgr (const SYNTH_T *synth)
void addSmps (float *l, float *r)
unsigned int storedSmps () const
void removeStaleSmps ()

Private Attributes

AudioOutcurrentOut
sem_t requested
Stereo< float * > priBuf
Stereo< float * > priBuffCurrent
float * outl
float * outr
class Mastermaster
int stales
const SYNTH_Tsynth

Friends

class EngineMgr

Constructor & Destructor Documentation

◆ ~OutMgr()

OutMgr::~OutMgr ( )

◆ OutMgr()

OutMgr::OutMgr ( const SYNTH_T * synth)
private

Member Function Documentation

◆ addSmps()

void OutMgr::addSmps ( float * l,
float * r )
private

◆ applyOscEventRt()

void OutMgr::applyOscEventRt ( const char * msg)

◆ getDriver()

string OutMgr::getDriver ( ) const

Gets the name of the first running driver Deprecated

Returns
if no running output, "" is returned

◆ getInstance()

OutMgr & OutMgr::getInstance ( const SYNTH_T * synth = NULL)
static

◆ getOut()

AudioOut * zyncarla::OutMgr::getOut ( std::string name)

Gets requested driver

Parameters
namecase unsensitive name of driver
Returns
pointer to Audio Out or NULL

◆ getSink()

string OutMgr::getSink ( ) const

◆ removeStaleSmps()

void OutMgr::removeStaleSmps ( )
private

◆ requestSamples()

void zyncarla::OutMgr::requestSamples ( unsigned int n = 1)

Request a new set of samples

Parameters
nnumber of requested samples (defaults to 1)
Returns
-1 for locking issues 0 for valid request

◆ setMaster()

void OutMgr::setMaster ( class Master * master_)

◆ setSink()

bool zyncarla::OutMgr::setSink ( std::string name)

◆ storedSmps()

unsigned int zyncarla::OutMgr::storedSmps ( ) const
inlineprivate

◆ tick()

const Stereo< float * > OutMgr::tick ( unsigned int frameSize)

Execute a tick

◆ EngineMgr

friend class EngineMgr
friend

Member Data Documentation

◆ currentOut

AudioOut* zyncarla::OutMgr::currentOut
private

The current output driver

◆ master

class Master* zyncarla::OutMgr::master
private

◆ outl

float* zyncarla::OutMgr::outl
private

◆ outr

float* zyncarla::OutMgr::outr
private

◆ priBuf

Stereo<float *> zyncarla::OutMgr::priBuf
private

Buffer

◆ priBuffCurrent

Stereo<float *> zyncarla::OutMgr::priBuffCurrent
private

◆ requested

sem_t zyncarla::OutMgr::requested
private

◆ stales

int zyncarla::OutMgr::stales
private

◆ synth

const SYNTH_T& zyncarla::OutMgr::synth
private

◆ wave

class WavEngine* zyncarla::OutMgr::wave

The Wave Recorder


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