LiVES  1.6.4-svn
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Fields
lives_audio_buf_t Struct Reference

#include <audio.h>

Data Fields

lives_operation_t operation
volatile gboolean is_ready
gboolean eof
 did we read EOF ? [readonly by client]
int fileno
off_t seek
weed_timecode_t start_tc
double arate
ssize_t bytesize
gboolean in_interleaf
gboolean out_interleaf
int in_achans
 channels for _filebuffer side
int out_achans
 channels for buffer* side
int in_asamps
int out_asamps
int swap_sign
int swap_endian
double shrink_factor
 resampling ratio
size_t samp_space
 buffer space in samples (* by sizeof(type) to get bytesize) [if interleaf, also * by chans]
uint8_t ** buffer8
 sample data in 8 bit format (or NULL)
short ** buffer16
 sample data in 16 bit format (or NULL)
int32_t ** buffer24
 sample data in 24 bit format (or NULL)
int32_t ** buffer32
 sample data in 32 bit format (or NULL)
float ** bufferf
 sample data in float format (or NULL)
size_t samples_filled
 number of samples filled (readonly client)
size_t start_sample
 used for reading (readonly server)
uint8_t * _filebuffer
 raw data to/from file - can be cast to int16_t
ssize_t _cbytesize
 current _filebuffer bytesize; if this changes we need to realloc _filebuffer
size_t _csamp_space
 current sample buffer size in single channel samples
int _fd
 file descriptor
int _cfileno
 current fileno
int _cseek
 current seek pos
int _cachans
 current output channels
int _cin_interleaf
int _cout_interleaf
int _casamps
 current out_asamps
volatile gboolean die
 set to TRUE to shut down thread

Field Documentation

int lives_audio_buf_t::_cachans

current output channels

int lives_audio_buf_t::_casamps

current out_asamps

ssize_t lives_audio_buf_t::_cbytesize

current _filebuffer bytesize; if this changes we need to realloc _filebuffer

int lives_audio_buf_t::_cfileno

current fileno

int lives_audio_buf_t::_cin_interleaf
int lives_audio_buf_t::_cout_interleaf
size_t lives_audio_buf_t::_csamp_space

current sample buffer size in single channel samples

int lives_audio_buf_t::_cseek

current seek pos

int lives_audio_buf_t::_fd

file descriptor

uint8_t* lives_audio_buf_t::_filebuffer

raw data to/from file - can be cast to int16_t

double lives_audio_buf_t::arate
short** lives_audio_buf_t::buffer16

sample data in 16 bit format (or NULL)

int32_t** lives_audio_buf_t::buffer24

sample data in 24 bit format (or NULL)

int32_t** lives_audio_buf_t::buffer32

sample data in 32 bit format (or NULL)

uint8_t** lives_audio_buf_t::buffer8

sample data in 8 bit format (or NULL)

float** lives_audio_buf_t::bufferf

sample data in float format (or NULL)

ssize_t lives_audio_buf_t::bytesize
volatile gboolean lives_audio_buf_t::die

set to TRUE to shut down thread

gboolean lives_audio_buf_t::eof

did we read EOF ? [readonly by client]

int lives_audio_buf_t::fileno
int lives_audio_buf_t::in_achans

channels for _filebuffer side

int lives_audio_buf_t::in_asamps
gboolean lives_audio_buf_t::in_interleaf
volatile gboolean lives_audio_buf_t::is_ready
lives_operation_t lives_audio_buf_t::operation
int lives_audio_buf_t::out_achans

channels for buffer* side

int lives_audio_buf_t::out_asamps
gboolean lives_audio_buf_t::out_interleaf
size_t lives_audio_buf_t::samp_space

buffer space in samples (* by sizeof(type) to get bytesize) [if interleaf, also * by chans]

size_t lives_audio_buf_t::samples_filled

number of samples filled (readonly client)

off_t lives_audio_buf_t::seek
double lives_audio_buf_t::shrink_factor

resampling ratio

size_t lives_audio_buf_t::start_sample

used for reading (readonly server)

weed_timecode_t lives_audio_buf_t::start_tc
int lives_audio_buf_t::swap_endian
int lives_audio_buf_t::swap_sign

The documentation for this struct was generated from the following file: