LiVES
3.2.0
|
#include <audio.h>
Data Fields | |
lives_operation_t | operation |
volatile boolean | is_ready |
boolean | eof |
did we read EOF ? [readonly by client] More... | |
int | fileno |
off_t | seek |
ticks_t | start_tc |
int | arate |
ssize_t | bytesize |
boolean | in_interleaf |
boolean | out_interleaf |
int | in_achans |
channels for _filebuffer side More... | |
int | out_achans |
channels for buffer* side More... | |
int | in_asamps |
int | out_asamps |
int | swap_sign |
int | swap_endian |
double | shrink_factor |
resampling ratio More... | |
size_t | samp_space |
buffer space in samples (* by sizeof(type) to get bytesize) [if interleaf, also * by chans] More... | |
boolean | sequential |
hint that we will read sequentially starting from seek More... | |
uint8_t ** | buffer8 |
sample data in 8 bit format (or NULL) More... | |
union { | |
short ** buffer16 | |
sample data in 16 bit format (or NULL) More... | |
uint8_t ** buffer16_8 | |
sample data in 8 bit format (or NULL) More... | |
}; | |
int32_t ** | buffer24 |
sample data in 24 bit format (or NULL) More... | |
int32_t ** | buffer32 |
sample data in 32 bit format (or NULL) More... | |
float ** | bufferf |
sample data in float format (or NULL) More... | |
boolean | s8_signed |
boolean | s16_signed |
boolean | s24_signed |
boolean | s32_signed |
volatile size_t | samples_filled |
number of samples filled (readonly client) More... | |
size_t | start_sample |
used for reading (readonly server) More... | |
uint8_t * | _filebuffer |
raw data to/from file - can be cast to int16_t More... | |
ssize_t | _cbytesize |
current _filebuffer bytesize; if this changes we need to realloc _filebuffer More... | |
size_t | _csamp_space |
current sample buffer size in single channel samples More... | |
int | _fd |
file descriptor More... | |
int | _cfileno |
current fileno More... | |
int | _cseek |
current seek pos More... | |
int | _cachans |
current output channels More... | |
int | _cin_interleaf |
int | _cout_interleaf |
int | _casamps |
current out_asamps More... | |
double | _shrink_factor |
resampling ratio More... | |
volatile boolean | die |
set to TRUE to shut down thread More... | |
union { ... } |
ssize_t lives_audio_buf_t::_cbytesize |
size_t lives_audio_buf_t::_csamp_space |
uint8_t* lives_audio_buf_t::_filebuffer |
int lives_audio_buf_t::arate |
Definition at line 88 of file audio.h.
Referenced by fill_abuffer_from(), init_audio_frame_buffers(), push_audio_to_channel(), render_audio_segment(), sample_move_abuf_float(), and sample_move_abuf_int16().
short** lives_audio_buf_t::buffer16 |
sample data in 16 bit format (or NULL)
Definition at line 110 of file audio.h.
Referenced by append_to_audio_buffer16(), free_audio_frame_buffer(), push_audio_to_channel(), and sample_move_abuf_int16().
uint8_t** lives_audio_buf_t::buffer16_8 |
int32_t** lives_audio_buf_t::buffer24 |
sample data in 24 bit format (or NULL)
Definition at line 113 of file audio.h.
Referenced by free_audio_frame_buffer().
int32_t** lives_audio_buf_t::buffer32 |
sample data in 32 bit format (or NULL)
Definition at line 114 of file audio.h.
Referenced by free_audio_frame_buffer().
uint8_t** lives_audio_buf_t::buffer8 |
sample data in 8 bit format (or NULL)
Definition at line 108 of file audio.h.
Referenced by free_audio_frame_buffer(), and push_audio_to_channel().
float** lives_audio_buf_t::bufferf |
sample data in float format (or NULL)
Definition at line 115 of file audio.h.
Referenced by append_to_audio_bufferf(), free_audio_frame_buffer(), push_audio_to_channel(), and sample_move_abuf_float().
volatile boolean lives_audio_buf_t::die |
boolean lives_audio_buf_t::eof |
int lives_audio_buf_t::in_achans |
channels for _filebuffer side
Definition at line 95 of file audio.h.
Referenced by init_audio_frame_buffers(), and push_audio_to_channel().
boolean lives_audio_buf_t::in_interleaf |
Definition at line 92 of file audio.h.
Referenced by init_audio_frame_buffers(), and push_audio_to_channel().
lives_operation_t lives_audio_buf_t::operation |
int lives_audio_buf_t::out_achans |
channels for buffer* side
Definition at line 96 of file audio.h.
Referenced by append_to_audio_buffer16(), append_to_audio_bufferf(), free_audio_frame_buffer(), init_audio_frame_buffers(), push_audio_to_channel(), render_audio_segment(), sample_move_abuf_float(), and sample_move_abuf_int16().
int lives_audio_buf_t::out_asamps |
Definition at line 98 of file audio.h.
Referenced by render_audio_segment().
boolean lives_audio_buf_t::out_interleaf |
Definition at line 93 of file audio.h.
Referenced by init_audio_frame_buffers(), and push_audio_to_channel().
boolean lives_audio_buf_t::s16_signed |
Definition at line 119 of file audio.h.
Referenced by init_audio_frame_buffers(), and push_audio_to_channel().
boolean lives_audio_buf_t::s8_signed |
Definition at line 118 of file audio.h.
Referenced by push_audio_to_channel().
size_t lives_audio_buf_t::samp_space |
buffer space in samples (* by sizeof(type) to get bytesize) [if interleaf, also * by chans]
Definition at line 103 of file audio.h.
Referenced by fill_abuffer_from().
volatile size_t lives_audio_buf_t::samples_filled |
number of samples filled (readonly client)
Definition at line 124 of file audio.h.
Referenced by append_to_audio_buffer16(), append_to_audio_bufferf(), fill_abuffer_from(), free_audio_frame_buffer(), init_audio_frame_buffers(), push_audio_to_channel(), sample_move_abuf_float(), and sample_move_abuf_int16().
boolean lives_audio_buf_t::sequential |
size_t lives_audio_buf_t::start_sample |
used for reading (readonly server)
Definition at line 125 of file audio.h.
Referenced by fill_abuffer_from(), free_audio_frame_buffer(), init_audio_frame_buffers(), sample_move_abuf_float(), and sample_move_abuf_int16().
int lives_audio_buf_t::swap_endian |
Definition at line 100 of file audio.h.
Referenced by init_audio_frame_buffers(), and push_audio_to_channel().