LiVES 1.4.9
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
size_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
size_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

current output channels

current out_asamps

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

current fileno

current sample buffer size in single channel samples

current seek pos

file descriptor

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

sample data in 16 bit format (or NULL)

sample data in 24 bit format (or NULL)

sample data in 32 bit format (or NULL)

sample data in 8 bit format (or NULL)

sample data in float format (or NULL)

volatile gboolean lives_audio_buf_t::die

set to TRUE to shut down thread

did we read EOF ? [readonly by client]

channels for _filebuffer side

volatile gboolean lives_audio_buf_t::is_ready

channels for buffer* side

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

number of samples filled (readonly client)

resampling ratio

used for reading (readonly server)

weed_timecode_t lives_audio_buf_t::start_tc

The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines