mpg123_fmt_struct

Structure defining an audio format. Providing the members as individual function arguments to define a certain output format is easy enough. This struct makes is more comfortable to deal with a list of formats. Negative values for the members might be used to communicate use of default values.

struct mpg123_fmt_struct {}

Members

Variables

channels
int channels;

< channel count

encoding
int encoding;

encoding code, can be single value or bitwise or of members of * mpg123_enc_enum

rate
int rate;

< sampling rate in Hz

Meta