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

#include <AudioOut.h>

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

Public Member Functions

 AudioOut ()
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 Engine
 Engine ()
virtual ~Engine ()
virtual bool Start ()=0
virtual void Stop ()=0

Protected Member Functions

const Stereo< float * > getNext ()

Protected Attributes

int samplerate
int bufferSize

Additional Inherited Members

Public Attributes inherited from Engine
std::string name

Constructor & Destructor Documentation

◆ AudioOut()

AudioOut::AudioOut ( )

◆ ~AudioOut()

AudioOut::~AudioOut ( )
virtual

Member Function Documentation

◆ bufferingSize() [1/2]

int AudioOut::bufferingSize ( )

◆ bufferingSize() [2/2]

void AudioOut::bufferingSize ( int nBuffering)

Sets the Frame Size for output

◆ getAudioEn()

virtual bool AudioOut::getAudioEn ( ) const
pure virtual

◆ 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()

virtual void AudioOut::setAudioEn ( bool nval)
pure virtual

◆ 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 AudioOut::bufferSize
protected

◆ samplerate

int AudioOut::samplerate
protected

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