|
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 { ... } lives_audio_buf_t::@1 |
| int lives_audio_buf_t::_cachans |
current output channels
Definition at line 134 of file audio.h.
Referenced by audio_cache_end(), and audio_cache_init().
| int lives_audio_buf_t::_casamps |
| ssize_t lives_audio_buf_t::_cbytesize |
current _filebuffer bytesize; if this changes we need to realloc _filebuffer
Definition at line 129 of file audio.h.
Referenced by audio_cache_init().
| int lives_audio_buf_t::_cfileno |
| int lives_audio_buf_t::_cin_interleaf |
Definition at line 135 of file audio.h.
Referenced by audio_cache_end(), and audio_cache_init().
| int lives_audio_buf_t::_cout_interleaf |
Definition at line 136 of file audio.h.
Referenced by audio_cache_init().
| size_t lives_audio_buf_t::_csamp_space |
current sample buffer size in single channel samples
Definition at line 130 of file audio.h.
Referenced by audio_cache_init().
| int lives_audio_buf_t::_cseek |
| int lives_audio_buf_t::_fd |
file descriptor
Definition at line 131 of file audio.h.
Referenced by audio_cache_end(), and audio_cache_init().
| uint8_t* lives_audio_buf_t::_filebuffer |
raw data to/from file - can be cast to int16_t
Definition at line 128 of file audio.h.
Referenced by audio_cache_end(), and audio_cache_init().
| double lives_audio_buf_t::_shrink_factor |
| 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(), audio_cache_end(), audio_cache_init(), free_audio_frame_buffer(), push_audio_to_channel(), render_audio_segment(), 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 audio_cache_end(), audio_cache_init(), and 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 audio_cache_end(), audio_cache_init(), and 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 audio_cache_end(), audio_cache_init(), 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(), audio_cache_end(), audio_cache_init(), free_audio_frame_buffer(), push_audio_to_channel(), render_audio_segment(), and sample_move_abuf_float().
| volatile boolean lives_audio_buf_t::die |
set to TRUE to shut down thread
Definition at line 140 of file audio.h.
Referenced by audio_cache_end(), and audio_cache_init().
| boolean lives_audio_buf_t::eof |
did we read EOF ? [readonly by client]
Definition at line 79 of file audio.h.
Referenced by audio_cache_init().
| int lives_audio_buf_t::in_achans |
channels for _filebuffer side
Definition at line 95 of file audio.h.
Referenced by audio_cache_init(), 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().
| volatile boolean lives_audio_buf_t::is_ready |
Definition at line 78 of file audio.h.
Referenced by audio_cache_init(), and wake_audio_thread().
| 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(), push_audio_to_channel(), and render_audio_segment().
| 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(), and render_audio_segment().
| 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(), render_audio_segment(), sample_move_abuf_float(), and sample_move_abuf_int16().
| boolean lives_audio_buf_t::sequential |
hint that we will read sequentially starting from seek
Definition at line 105 of file audio.h.
Referenced by audio_cache_init().
| 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(), push_audio_to_channel(), and render_audio_segment().