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;-).
Defines | Functions

mpglib.c File Reference

#include <mpg123.h>
#include <unistd.h>
#include <stdio.h>

Go to the source code of this file.

Defines

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

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines