Data Structures |
| struct | wrap_data |
Defines |
| #define | IO_FD 1 /* Wrapping over callbacks operation on integer file descriptor. */ |
| #define | IO_HANDLE 2 /* Wrapping over custom handle callbacks. */ |
| #define | O_BINARY 0 |
Functions |
| static void | wrap_io_cleanup (void *handle) |
| static void | wrap_destroy (void *handle) |
| static struct wrap_data * | wrap_get (mpg123_handle *mh) |
| int attribute_align_arg | mpg123_decode_frame (mpg123_handle *mh, long *num, unsigned char **audio, size_t *bytes) |
| int attribute_align_arg | mpg123_framebyframe_decode (mpg123_handle *mh, long *num, unsigned char **audio, size_t *bytes) |
| long attribute_align_arg | mpg123_tell (mpg123_handle *mh) |
| long attribute_align_arg | mpg123_tellframe (mpg123_handle *mh) |
| long attribute_align_arg | mpg123_tell_stream (mpg123_handle *mh) |
| long attribute_align_arg | mpg123_seek (mpg123_handle *mh, long sampleoff, int whence) |
| long attribute_align_arg | mpg123_feedseek (mpg123_handle *mh, long sampleoff, int whence, long *input_offset) |
| long attribute_align_arg | mpg123_seek_frame (mpg123_handle *mh, long frameoff, int whence) |
| long attribute_align_arg | mpg123_timeframe (mpg123_handle *mh, double sec) |
| int attribute_align_arg | mpg123_index (mpg123_handle *mh, long **offsets, long *step, size_t *fill) |
| int attribute_align_arg | mpg123_set_index (mpg123_handle *mh, long *offsets, long step, size_t fill) |
| int attribute_align_arg | mpg123_position (mpg123_handle *mh, long frame_offset, long buffered_bytes, long *current_frame, long *frames_left, double *current_seconds, double *seconds_left) |
| long attribute_align_arg | mpg123_length (mpg123_handle *mh) |
| int attribute_align_arg | mpg123_set_filesize (mpg123_handle *mh, long size) |
| long | wrap_read (void *handle, void *buf, size_t count) |
| off_t | wrap_lseek (void *handle, off_t offset, int whence) |
| static long | fallback_read (int fd, void *buf, size_t count) |
| static long | fallback_lseek (int fd, long offset, int whence) |
| int attribute_align_arg | mpg123_replace_reader (mpg123_handle *mh, long(*r_read)(int, void *, size_t), long(*r_lseek)(int, long, int)) |
| int attribute_align_arg | mpg123_replace_reader_handle (mpg123_handle *mh, long(*r_read)(void *, void *, size_t), long(*r_lseek)(void *, long, int), void(*cleanup)(void *)) |
| int attribute_align_arg | mpg123_open (mpg123_handle *mh, const char *path) |
| int attribute_align_arg | mpg123_open_fd (mpg123_handle *mh, int fd) |
| int attribute_align_arg | mpg123_open_handle (mpg123_handle *mh, void *handle) |