# 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;-).
Functions
extract_frames.c File Reference
example programs using libmpg123 and libout123
`#include <mpg123.h>`
`#include <unistd.h>`
`#include <stdio.h>`
`#include <string.h>`

Go to the source code of this file.

## Functions
int | do_work (mpg123_handle *m)
int | main (int argc, char **argv)

## Detailed Description

Parse stream and extract only the valid MPEG frames to standard output.

Definition in file extract_frames.c.

## Function Documentation

## ◆ do_work()

int do_work | ( | mpg123_handle * | m | ) |

The actual work on the existing handle.

Definition at line 65 of file extract_frames.c.

## ◆ main()

int main | ( | int | argc,
|  | char ** | argv
| ) |  |

The main program.

Definition at line 25 of file extract_frames.c.