You could access this page securely.

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 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.


#define INBUFF   16384
#define OUTBUFF   32768


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.

Hopefully valid HTML! Valid CSS!