#include <codec.h>
Data Fields | |
rte_sndfmt | sndfmt |
unsigned int | sampling_freq |
unsigned int | channels |
unsigned int | fragment_size |
|
Sampling frequency in Hz. |
|
Number of audio channels: mono 1, stereo 2. In stereo mode the sample order is left0, right0, left1, right1, ... Order of surround channels to be defined. |
|
Audio data is passed in blocks rather than single samples. The codec may require a certain number of samples at once, modifying this value accordingly. This size is given in bytes, but must be divisible by sample size in bytes times |