#include <AuLib/SoundOut.h>
|
| | SoundOut (const char *dest, uint32_t nchnls=def_nchnls, uint32_t vframes=def_bframes, double sr=def_sr) |
| |
| | ~SoundOut () |
| |
| uint64_t | write (const double *sig, uint32_t samples) |
| |
| uint64_t | write (const AudioBase &obj) |
| |
| uint64_t | write (uint32_t chn, const AudioBase &obj) |
| |
| double | time () const |
| |
| uint64_t | timestamp () const |
| |
| const char * | dest () const |
| |
| virtual const char * | error_message () const |
| |
| uint64_t | operator() (const AudioBase &obj) |
| |
| uint64_t | operator() (uint32_t chn, const AudioBase &obj) |
| |
| | SoundOut (const char *dest, uint32_t nchnls=def_nchnls, uint32_t vframes=def_bframes, double sr=def_sr) |
| |
| | ~SoundOut () |
| |
| uint64_t | write (const double *sig, uint32_t frames=def_vframes) |
| |
| uint64_t | write (const AudioBase &obj) |
| |
| double | time () const |
| |
| const char * | dest () const |
| |
| virtual const char * | error_message () const |
| |
| uint64_t | operator() (const AudioBase &obj) |
| |
| | AudioBase (uint32_t nchnls=def_nchnls, uint32_t vframes=def_vframes, double sr=def_sr) |
| |
| virtual const AudioBase & | operator*= (double scal) |
| |
| virtual const AudioBase & | operator*= (const double *sig) |
| |
| virtual const AudioBase & | operator*= (const AudioBase &obj) |
| |
| virtual const AudioBase & | operator+= (double offs) |
| |
| virtual const AudioBase & | operator+= (const double *sig) |
| |
| virtual const AudioBase & | operator+= (const AudioBase &obj) |
| |
| double & | operator[] (uint32_t ndx) |
| |
| const double & | operator[] (uint32_t ndx) const |
| |
| iterator | begin () |
| |
| iterator | end () |
| |
| const_iterator | cbegin () const |
| |
| const_iterator | cend () const |
| |
| const AudioBase & | set (const AudioBase &obj) |
| |
| const AudioBase & | set (const double *sig) |
| |
| const double * | set (double v) |
| |
| double | set (double v, uint32_t p) |
| |
| | operator const std::vector< double > & () const |
| |
| | operator const double * () const |
| |
| const double * | vector () const |
| |
| double | vector (uint32_t frndx, uint32_t chn) const |
| |
| uint32_t | vframes (uint32_t frames) |
| |
| uint32_t | resize_exact (uint32_t frames) |
| |
| uint32_t | vframes () const |
| |
| uint32_t | vsamps () const |
| |
| uint32_t | nchnls () const |
| |
| uint32_t | sr () const |
| |
| uint32_t | error () const |
| |
|
| int | rt_audio (const float *input, float *output, unsigned long frameCount, const void *timeInfo, unsigned long statusFlags, SoundOut *userData) |
| |
| void | audio (SoundOut &obj) |
| |
| int | rt_audio (const float *input, float *output, unsigned long frameCount, const void *timeInfo, unsigned long statusFlags, SoundOut *userData) |
| |
| void | audio (AuLib::SoundOut &obj) |
| |
◆ SoundOut() [1/2]
SoundOut constructor
dest - vector destination ("dac", "stdout", or file path)
nchnls - number of channels
sr - sampling rate
vframes - vector size
◆ ~SoundOut() [1/2]
| AuLib::SoundOut::~SoundOut |
( |
| ) |
|
◆ SoundOut() [2/2]
SoundOut constructor
dest - vector destination ("dac", "stdout", or file path)
nchnls - number of channels
sr - sampling rate
vframes - vector size
◆ ~SoundOut() [2/2]
| AuLib::SoundOut::~SoundOut |
( |
| ) |
|
◆ dest() [1/2]
| const char* AuLib::SoundOut::dest |
( |
| ) |
const |
|
inline |
◆ dest() [2/2]
| const char* AuLib::SoundOut::dest |
( |
| ) |
const |
|
inline |
◆ error_message() [1/2]
| virtual const char* AuLib::SoundOut::error_message |
( |
| ) |
const |
|
inlinevirtual |
◆ error_message() [2/2]
| virtual const char* AuLib::SoundOut::error_message |
( |
| ) |
const |
|
inlinevirtual |
◆ operator()() [1/3]
| uint64_t AuLib::SoundOut::operator() |
( |
const AudioBase & |
obj | ) |
|
|
inline |
operator() overload convenience method
◆ operator()() [2/3]
| uint64_t AuLib::SoundOut::operator() |
( |
const AudioBase & |
obj | ) |
|
|
inline |
operator() overload convenience method
◆ operator()() [3/3]
| uint64_t AuLib::SoundOut::operator() |
( |
uint32_t |
chn, |
|
|
const AudioBase & |
obj |
|
) |
| |
|
inline |
operator() overload convenience method
◆ time() [1/2]
| double AuLib::SoundOut::time |
( |
| ) |
const |
|
inline |
Get the current vector stream time
◆ time() [2/2]
| double AuLib::SoundOut::time |
( |
| ) |
const |
|
inline |
Get the current output stream time
◆ timestamp()
| uint64_t AuLib::SoundOut::timestamp |
( |
| ) |
const |
|
inline |
Get the current output stream time in frames
◆ write() [1/5]
| uint64_t AuLib::SoundOut::write |
( |
const double * |
sig, |
|
|
uint32_t |
frames = def_vframes |
|
) |
| |
Writes sig to the vector destination, returning the vector current framecount.
◆ write() [2/5]
| uint64_t AuLib::SoundOut::write |
( |
const double * |
sig, |
|
|
uint32_t |
samples |
|
) |
| |
|
inline |
Writes sig containing samples to the vector destination, returning the vector current framecount.
◆ write() [3/5]
| uint64_t AuLib::SoundOut::write |
( |
const AudioBase & |
obj | ) |
|
|
inline |
Writes the audio vector in obj to the vector destination, returning the vector current framecount.
◆ write() [4/5]
| uint64_t AuLib::SoundOut::write |
( |
const AudioBase & |
obj | ) |
|
|
inline |
Writes the audio vector in obj to the vector destination, returning the vector current framecount.
◆ write() [5/5]
| uint64_t AuLib::SoundOut::write |
( |
uint32_t |
chn, |
|
|
const AudioBase & |
obj |
|
) |
| |
|
inline |
Writes the audio vector in obj to chn of destination, returning the vector current framecount.
◆ audio [1/2]
◆ audio [2/2]
◆ rt_audio [1/2]
| int rt_audio |
( |
const float * |
input, |
|
|
float * |
output, |
|
|
unsigned long |
frameCount, |
|
|
const void * |
timeInfo, |
|
|
unsigned long |
statusFlags, |
|
|
SoundOut * |
userData |
|
) |
| |
|
friend |
◆ rt_audio [2/2]
| int rt_audio |
( |
const float * |
input, |
|
|
float * |
output, |
|
|
unsigned long |
frameCount, |
|
|
const void * |
timeInfo, |
|
|
unsigned long |
statusFlags, |
|
|
SoundOut * |
userData |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files: