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 574 #undef mpg123_open_fd 575 #undef mpg123_open_handle 590 newpos_long = newpos;
591 if(newpos_long == newpos)
long(* r_h_lseek)(void *, long, int)
long attribute_align_arg mpg123_timeframe(mpg123_handle *mh, double sec)
long attribute_align_arg mpg123_feedseek(mpg123_handle *mh, long sampleoff, int whence, long *input_offset)
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
struct mpg123_pars_struct p
static void wrap_destroy(void *handle)
GLsizei const GLchar ** path
GLuint GLuint GLsizei count
long attribute_align_arg mpg123_tell_stream(mpg123_handle *mh)
long attribute_align_arg mpg123_tell(mpg123_handle *mh)
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)
_Check_return_opt_ _CRTIMP long __cdecl lseek(_In_ int _FileHandle, _In_ long _Offset, _In_ int _Origin)
#define open_stream_handle
off_t wrap_lseek(void *handle, off_t offset, int whence)
const char * strerror(int err)
ssize_t(* r_h_read)(void *, void *, size_t)
void(* wrapperclean)(void *)
GLenum GLuint GLenum GLsizei const GLchar * buf
namespace GUID const ADDRINFOEXW ADDRINFOEXW struct timeval OVERLAPPED LPLOOKUPSERVICE_COMPLETION_ROUTINE HANDLE * handle
static unsigned char bytes[4]
static ssize_t fallback_read(int fd, void *buf, size_t count)
ssize_t(* r_read)(int, void *, size_t)
long attribute_align_arg mpg123_tellframe(mpg123_handle *mh)
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 *))
_STLP_MOVE_TO_STD_NAMESPACE void fill(_ForwardIter __first, _ForwardIter __last, const _Tp &__val)
long attribute_align_arg mpg123_framelength(mpg123_handle *mh)
long attribute_align_arg mpg123_seek(mpg123_handle *mh, long sampleoff, int whence)
PWDFMEMORY_OFFSET offsets[FX_REQUEST_NUM_OTHER_PARAMS]
long(* r_lseek)(int, long, int)
int attribute_align_arg mpg123_set_index(mpg123_handle *mh, long *offsets, long step, size_t fill)
ssize_t wrap_read(void *handle, void *buf, size_t count)
int attribute_align_arg mpg123_replace_reader(mpg123_handle *mh, ssize_t(*r_read)(int, void *, size_t), long(*r_lseek)(int, long, int))
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
long attribute_align_arg mpg123_length(mpg123_handle *mh)
int attribute_align_arg mpg123_index(mpg123_handle *mh, long **offsets, long *step, size_t *fill)
long attribute_align_arg mpg123_seek_frame(mpg123_handle *mh, long frameoff, int whence)
char * cleanup(char *str)
static void wrap_io_cleanup(void *handle)
int attribute_align_arg mpg123_set_filesize(mpg123_handle *mh, long size)
#define attribute_align_arg
void(* h_cleanup)(void *)
_CRTIMP int __cdecl read(_In_ int _FileHandle, _Out_writes_bytes_(_MaxCharCount) void *_DstBuf, _In_ unsigned int _MaxCharCount)
static struct wrap_data * wrap_get(mpg123_handle *mh)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
static long fallback_lseek(int fd, long offset, int whence)