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;-).
#include <mpg123.h>
#include <unistd.h>
#include <stdio.h>
Include dependency graph for mpglib.c:

Go to the source code of this file.

Macros

#define INBUFF   16384
 
#define OUTBUFF   32768
 

Functions

int main (int argc, char **argv)
 

Detailed Description

Example program mimicking the old mpglib test program. It takes an MPEG bitstream from standard input and writes raw audio to standard output. This is an use case of the mpg123_decode() in and out function in the feeder mode, quite close to classic mpglib usage and thus a template to convert from that to libmpg123.

Definition in file mpglib.c.

Macro Definition Documentation

◆ INBUFF

#define INBUFF   16384

input buffer size

Definition at line 24 of file mpglib.c.

◆ OUTBUFF

#define OUTBUFF   32768

output buffer size

Definition at line 25 of file mpglib.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

The whole operation.

Definition at line 28 of file mpglib.c.

Hopefully valid HTML! Valid CSS!