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 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 <out123.h>
#include <stdlib.h>
#include <stdio.h>
Include dependency graph for feedseek.c:

Go to the source code of this file.

Macros

#define _POSIX_C_SOURCE   200112L
 
#define INBUFF   16384 * 2 * 2
 
#define CHECK(cond, ...)   if(!(cond)){ fprintf(stderr, __VA_ARGS__); goto bad_end; }
 

Functions

int main (int argc, char **argv)
 

Detailed Description

Fuzzy feeder seeking.

Definition in file feedseek.c.

Macro Definition Documentation

◆ _POSIX_C_SOURCE

#define _POSIX_C_SOURCE   200112L

POSIX standard for ftello.

Definition at line 11 of file feedseek.c.

◆ INBUFF

#define INBUFF   16384 * 2 * 2

input buffer size

Definition at line 17 of file feedseek.c.

◆ CHECK

#define CHECK (   cond,
  ... 
)    if(!(cond)){ fprintf(stderr, __VA_ARGS__); goto bad_end; }

Error handling helper, end program if condition is not met. Yes, a goto for error handling. Controlled cleanup in a final section instead of just jumping out of the program.

Definition at line 23 of file feedseek.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

The whole operation.

Definition at line 26 of file feedseek.c.

Hopefully valid HTML! Valid CSS!