| typedef struct mpg123_handle_struct mpg123_handle |
| enum mpg123_parms |
Enumeration of the parameters types that it is possible to set/get.
| enum mpg123_param_flags |
Flag bits for MPG123_FLAGS, use the usual binary or to combine.
| enum mpg123_param_rva |
| int mpg123_init | ( | void | ) |
Function to initialise the mpg123 library. This function is not thread-safe. Call it exactly once per process, before any other (possibly threaded) work with the library.
| void mpg123_exit | ( | void | ) |
Function to close down the mpg123 library. This function is not thread-safe. Call it exactly once per process, before any other (possibly threaded) work with the library.
| mpg123_handle* mpg123_new | ( | const char * | decoder, | |
| int * | error | |||
| ) |
Create a handle with optional choice of decoder (named by a string, see mpg123_decoders() or mpg123_supported_decoders()). and optional retrieval of an error code to feed to mpg123_plain_strerror(). Optional means: Any of or both the parameters may be NULL.
| void mpg123_delete | ( | mpg123_handle * | mh | ) |
Delete handle, mh is either a valid mpg123 handle or NULL.
| int mpg123_param | ( | mpg123_handle * | mh, | |
| enum mpg123_parms | type, | |||
| long | value, | |||
| double | fvalue | |||
| ) |
Set a specific parameter, for a specific mpg123_handle, using a parameter type key chosen from the mpg123_parms enumeration, to the specified value.
| int mpg123_getparam | ( | mpg123_handle * | mh, | |
| enum mpg123_parms | type, | |||
| long * | val, | |||
| double * | fval | |||
| ) |
Get a specific parameter, for a specific mpg123_handle. See the mpg123_parms enumeration for a list of available parameters.
1.5.4