164#undef mpg123_decode_frame
184#undef mpg123_framebyframe_decode
204#undef mpg123_framepos
238#undef mpg123_tellframe
255#undef mpg123_tell_stream
279 largeval = MPG123_LARGENAME(
mpg123_seek)(mh, sampleoff, whence);
289#undef mpg123_feedseek
297 largeval = MPG123_LARGENAME(
mpg123_feedseek)(mh, sampleoff, whence, &largeioff);
299 if(largeval < 0)
return (
long)largeval;
302 *input_offset = largeioff;
303 if(
val != largeval || *input_offset != largeioff)
311#undef mpg123_seek_frame
328#undef mpg123_timeframe
362 err = MPG123_LARGENAME(
mpg123_index)(mh, &largeoffsets, &largestep, &thefill);
366 smallstep = largestep;
367 if(smallstep != largestep)
372 if(step !=
NULL) *step = smallstep;
404#undef mpg123_set_index
443#undef mpg123_position
447 off_t curframe, frameleft;
448 long small_curframe, small_frameleft;
454 small_curframe = curframe;
455 small_frameleft = frameleft;
456 if(small_curframe != curframe || small_frameleft != frameleft)
462 if(current_frame !=
NULL) *current_frame = small_curframe;
464 if(frames_left !=
NULL) *frames_left = small_frameleft;
470#undef mpg123_framelength
505#undef mpg123_set_filesize
539 error(
"Serious breakage - bad IO type in LFS wrapper!");
570#undef mpg123_replace_reader
571#undef mpg123_replace_reader_handle
573#undef mpg123_open_fixed
575#undef mpg123_open_handle
590 newpos_long = newpos;
591 if(newpos_long == newpos)
_STLP_MOVE_TO_STD_NAMESPACE void fill(_ForwardIter __first, _ForwardIter __last, const _Tp &__val)
#define attribute_align_arg
static unsigned char bytes[4]
static void cleanup(void)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
static const FxOffsetAndName offsets[]
GLuint GLuint GLsizei count
GLenum GLuint GLenum GLsizei const GLchar * buf
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
int attribute_align_arg mpg123_replace_reader(mpg123_handle *mh, ssize_t(*r_read)(int, void *, size_t), long(*r_lseek)(int, long, int))
int attribute_align_arg mpg123_replace_reader_handle(mpg123_handle *mh, ssize_t(*r_read)(void *, void *, size_t), long(*r_lseek)(void *, long, int), void(*cleanup)(void *))
int attribute_align_arg mpg123_set_index(mpg123_handle *mh, long *offsets, long step, size_t fill)
long attribute_align_arg mpg123_tell_stream(mpg123_handle *mh)
long attribute_align_arg mpg123_tellframe(mpg123_handle *mh)
long attribute_align_arg mpg123_tell(mpg123_handle *mh)
long attribute_align_arg mpg123_feedseek(mpg123_handle *mh, long sampleoff, int whence, long *input_offset)
long attribute_align_arg mpg123_timeframe(mpg123_handle *mh, double sec)
long attribute_align_arg mpg123_seek(mpg123_handle *mh, long sampleoff, int whence)
long attribute_align_arg mpg123_seek_frame(mpg123_handle *mh, long frameoff, int whence)
int attribute_align_arg mpg123_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)
long attribute_align_arg mpg123_framelength(mpg123_handle *mh)
int attribute_align_arg mpg123_set_filesize(mpg123_handle *mh, long size)
#define open_stream_handle
static void wrap_destroy(void *handle)
ssize_t wrap_read(void *handle, void *buf, size_t count)
static ssize_t fallback_read(int fd, void *buf, size_t count)
static long fallback_lseek(int fd, long offset, int whence)
static struct wrap_data * wrap_get(mpg123_handle *mh)
off_t wrap_lseek(void *handle, off_t offset, int whence)
static void wrap_io_cleanup(void *handle)
const char * strerror(int err)
struct mpg123_pars_struct p
void(* wrapperclean)(void *)
long(* r_h_lseek)(void *, long, int)
ssize_t(* r_h_read)(void *, void *, size_t)
ssize_t(* r_read)(int, void *, size_t)
long(* r_lseek)(int, long, int)
void(* h_cleanup)(void *)