#include <alsa_slave.h>
|
| | AlsaAudioSlave (const char *play_name, const char *capt_name, unsigned int master_rate, unsigned int master_samples_per_period, unsigned int slave_rate, unsigned int slave_samples_per_period, unsigned int periods_per_cycle) |
| |
| virtual | ~AlsaAudioSlave () |
| |
| bool | start () |
| |
| void | stop () |
| |
| void | cycle_start (double, double, bool) |
| |
| void | cycle_end () |
| |
| uint32_t | capt_chan (uint32_t chn, float *dst, uint32_t n_samples) |
| |
| uint32_t | play_chan (uint32_t chn, float *src, uint32_t n_samples) |
| |
| bool | running () const |
| |
| void | freewheel (bool) |
| |
| int | state (void) const |
| |
| uint32_t | nplay (void) const |
| |
| uint32_t | ncapt (void) const |
| |
Definition at line 34 of file alsa_slave.h.
◆ AlsaAudioSlave()
| ARDOUR::AlsaAudioSlave::AlsaAudioSlave |
( |
const char * |
play_name, |
|
|
const char * |
capt_name, |
|
|
unsigned int |
master_rate, |
|
|
unsigned int |
master_samples_per_period, |
|
|
unsigned int |
slave_rate, |
|
|
unsigned int |
slave_samples_per_period, |
|
|
unsigned int |
periods_per_cycle |
|
) |
| |
◆ ~AlsaAudioSlave()
| virtual ARDOUR::AlsaAudioSlave::~AlsaAudioSlave |
( |
| ) |
|
|
virtual |
◆ _process_thread()
| static void* ARDOUR::AlsaAudioSlave::_process_thread |
( |
void * |
| ) |
|
|
staticprivate |
◆ capt_chan()
| uint32_t ARDOUR::AlsaAudioSlave::capt_chan |
( |
uint32_t |
chn, |
|
|
float * |
dst, |
|
|
uint32_t |
n_samples |
|
) |
| |
◆ cycle_end()
| void ARDOUR::AlsaAudioSlave::cycle_end |
( |
| ) |
|
◆ cycle_start()
| void ARDOUR::AlsaAudioSlave::cycle_start |
( |
double |
, |
|
|
double |
, |
|
|
bool |
|
|
) |
| |
◆ freewheel()
| void ARDOUR::AlsaAudioSlave::freewheel |
( |
bool |
| ) |
|
◆ ncapt()
| uint32_t ARDOUR::AlsaAudioSlave::ncapt |
( |
void |
| ) |
const |
|
inline |
◆ nplay()
| uint32_t ARDOUR::AlsaAudioSlave::nplay |
( |
void |
| ) |
const |
|
inline |
◆ play_chan()
| uint32_t ARDOUR::AlsaAudioSlave::play_chan |
( |
uint32_t |
chn, |
|
|
float * |
src, |
|
|
uint32_t |
n_samples |
|
) |
| |
◆ process_thread()
| void* ARDOUR::AlsaAudioSlave::process_thread |
( |
| ) |
|
|
private |
◆ reset_resampler()
◆ running()
| bool ARDOUR::AlsaAudioSlave::running |
( |
| ) |
const |
|
inline |
◆ start()
| bool ARDOUR::AlsaAudioSlave::start |
( |
| ) |
|
◆ state()
| int ARDOUR::AlsaAudioSlave::state |
( |
void |
| ) |
const |
|
inline |
◆ stop()
| void ARDOUR::AlsaAudioSlave::stop |
( |
| ) |
|
◆ update_latencies()
| virtual void ARDOUR::AlsaAudioSlave::update_latencies |
( |
uint32_t |
, |
|
|
uint32_t |
|
|
) |
| |
|
protectedpure virtual |
◆ _active
| bool ARDOUR::AlsaAudioSlave::_active |
|
private |
◆ _capt_buff
| float* ARDOUR::AlsaAudioSlave::_capt_buff |
|
private |
◆ _capt_latency
| uint32_t ARDOUR::AlsaAudioSlave::_capt_latency |
|
private |
◆ _draining
| std::atomic<int> ARDOUR::AlsaAudioSlave::_draining |
|
private |
◆ _pcmi
◆ _play_buff
| float* ARDOUR::AlsaAudioSlave::_play_buff |
|
private |
◆ _play_latency
| double ARDOUR::AlsaAudioSlave::_play_latency |
|
private |
◆ _ratio
| double ARDOUR::AlsaAudioSlave::_ratio |
|
private |
◆ _rb_capture
◆ _rb_playback
◆ _run
| bool ARDOUR::AlsaAudioSlave::_run |
|
private |
◆ _samples_per_period
| size_t ARDOUR::AlsaAudioSlave::_samples_per_period |
|
private |
◆ _samples_since_dll_reset
| uint64_t ARDOUR::AlsaAudioSlave::_samples_since_dll_reset |
|
private |
◆ _slave_speed
| volatile double ARDOUR::AlsaAudioSlave::_slave_speed |
|
private |
◆ _src_buff
| float* ARDOUR::AlsaAudioSlave::_src_buff |
|
private |
◆ _src_capt
◆ _src_play
◆ _t0
| double ARDOUR::AlsaAudioSlave::_t0 |
|
private |
◆ _t1
| double ARDOUR::AlsaAudioSlave::_t1 |
|
private |
◆ _thread
| pthread_t ARDOUR::AlsaAudioSlave::_thread |
|
private |
◆ Halted
The documentation for this class was generated from the following file: