LMMS
Loading...
Searching...
No Matches
zyncarla::AudioOut Class Referenceabstract

#include <AudioOut.h>

Inheritance diagram for zyncarla::AudioOut:
zyncarla::Engine zyncarla::AlsaEngine zyncarla::JackEngine zyncarla::JackMultiEngine zyncarla::NulEngine zyncarla::OssEngine zyncarla::OssMultiEngine zyncarla::PaEngine zyncarla::WavEngine

Public Member Functions

 AudioOut (const SYNTH_T &synth)
virtual ~AudioOut ()
void setSamplerate (int _samplerate)
int getSampleRate ()
void setBufferSize (int _bufferSize)
void bufferingSize (int nBuffering)
int bufferingSize ()
virtual void setAudioEn (bool nval)=0
virtual bool getAudioEn () const =0
Public Member Functions inherited from zyncarla::Engine
 Engine ()
virtual ~Engine ()
virtual bool Start ()=0
virtual void Stop ()=0

Protected Member Functions

const Stereo< float * > getNext ()

Protected Attributes

const SYNTH_Tsynth
int samplerate
int bufferSize

Additional Inherited Members

Public Attributes inherited from zyncarla::Engine
std::string name

Constructor & Destructor Documentation

◆ AudioOut()

AudioOut::AudioOut ( const SYNTH_T & synth)

◆ ~AudioOut()

AudioOut::~AudioOut ( )
virtual

Member Function Documentation

◆ bufferingSize() [1/2]

int zyncarla::AudioOut::bufferingSize ( )

◆ bufferingSize() [2/2]

void zyncarla::AudioOut::bufferingSize ( int nBuffering)

Sets the Frame Size for output

◆ getAudioEn()

◆ getNext()

const Stereo< float * > AudioOut::getNext ( )
protected

Get the next sample for output. (has nsamples sampled at a rate of samplerate)

◆ getSampleRate()

int AudioOut::getSampleRate ( )

Sets the Samples required per Out of this driver not a realtime opperation

◆ setAudioEn()

◆ setBufferSize()

void AudioOut::setBufferSize ( int _bufferSize)

◆ setSamplerate()

void AudioOut::setSamplerate ( int _samplerate)

Sets the Sample Rate of this Output (used for getNext()).

Member Data Documentation

◆ bufferSize

int zyncarla::AudioOut::bufferSize
protected

◆ samplerate

int zyncarla::AudioOut::samplerate
protected

◆ synth

const SYNTH_T& zyncarla::AudioOut::synth
protected

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