mpg123 logo
download : svn :: features :: sf.net project - bug tracker :: news archive
libmpg123 API :: hacking :: testing :: benchmarking :: FAQ :: links :: contact
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 and the overall NEWS file on libmpg123 versions and important changes between them.
Let me emphasize that the policy for libmpg123 is to always stay backwards compatible -- only additions are planned (and it's not yet planned to change the plans;-).
Data Fields

mpg123_frameinfo Struct Reference
[mpg123 status and information]

#include <mpg123.h>

Data Fields

enum mpg123_version version
int layer
long rate
enum mpg123_mode mode
int mode_ext
int framesize
enum mpg123_flags flags
int emphasis
int bitrate
int abr_rate
enum mpg123_vbr vbr

Detailed Description

Data structure for storing information about a frame of MPEG Audio

Definition at line 714 of file mpg123.h.


Field Documentation

The MPEG version (1.0/2.0/2.5).

Definition at line 716 of file mpg123.h.

The MPEG Audio Layer (MP1/MP2/MP3).

Definition at line 717 of file mpg123.h.

The sampling rate in Hz.

Definition at line 718 of file mpg123.h.

The audio mode (Mono, Stereo, Joint-stero, Dual Channel).

Definition at line 719 of file mpg123.h.

The mode extension bit flag.

Definition at line 720 of file mpg123.h.

The size of the frame (in bytes, including header).

Definition at line 721 of file mpg123.h.

MPEG Audio flag bits. Just now I realize that it should be declared as int, not enum. It's a bitwise combination of the enum values.

Definition at line 722 of file mpg123.h.

The emphasis type.

Definition at line 723 of file mpg123.h.

Bitrate of the frame (kbps).

Definition at line 724 of file mpg123.h.

The target average bitrate.

Definition at line 725 of file mpg123.h.

The VBR mode.

Definition at line 726 of file mpg123.h.


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