API documentation for libmpg123, libout123, and libsyn123

Note: This API doc is automatically generated from the current development version that you can get via Subversion or as a daily snapshot from http://mpg123.org/snapshot. There may be differences (additions) compared to the latest stable release. See NEWS.libmpg123, NEWS.libout123, NEWS.libsyn123, and the overall NEWS file on libmpg123 versions and important changes between them.
Let me emphasize that the policy for the lib*123 family is to always stay backwards compatible -- only additions are planned (and it's not yet planned to change the plans;-).
mpg123_fmt Struct Reference

#include <fmt123.h>

Public Attributes

long rate
int channels
int encoding

Detailed Description

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.

Definition at line 147 of file fmt123.h.

Member Data Documentation

◆ rate

long mpg123_fmt::rate

sampling rate in Hz

Definition at line 149 of file fmt123.h.

◆ channels

int mpg123_fmt::channels

channel count

Definition at line 150 of file fmt123.h.

◆ encoding

int mpg123_fmt::encoding

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

Definition at line 153 of file fmt123.h.

The documentation for this struct was generated from the following file:
Hopefully valid HTML! Valid CSS!