20#define MPG123_API_VERSION 45
30#ifdef BUILD_MPG123_DLL
32#define MPG123_EXPORT __declspec(dllexport)
36#define MPG123_EXPORT __declspec(dllimport)
46#if defined(_MSC_VER) && !defined(MPG123_DEF_SSIZE_T)
47#define MPG123_DEF_SSIZE_T
53#ifndef MPG123_NO_CONFIGURE
84#if (!defined MPG123_NO_LARGENAME) && ((defined _FILE_OFFSET_BITS) || (defined MPG123_LARGESUFFIX))
87#define MPG123_MACROCAT_REALLY(a, b) a ## b
88#define MPG123_MACROCAT(a, b) MPG123_MACROCAT_REALLY(a, b)
89#ifndef MPG123_LARGESUFFIX
90#define MPG123_LARGESUFFIX MPG123_MACROCAT(_, _FILE_OFFSET_BITS)
92#define MPG123_LARGENAME(func) MPG123_MACROCAT(func, MPG123_LARGESUFFIX)
94#define mpg123_open_fixed MPG123_LARGENAME(mpg123_open_fixed)
95#define mpg123_open MPG123_LARGENAME(mpg123_open)
96#define mpg123_open_fd MPG123_LARGENAME(mpg123_open_fd)
97#define mpg123_open_handle MPG123_LARGENAME(mpg123_open_handle)
98#define mpg123_framebyframe_decode MPG123_LARGENAME(mpg123_framebyframe_decode)
99#define mpg123_decode_frame MPG123_LARGENAME(mpg123_decode_frame)
100#define mpg123_tell MPG123_LARGENAME(mpg123_tell)
101#define mpg123_tellframe MPG123_LARGENAME(mpg123_tellframe)
102#define mpg123_tell_stream MPG123_LARGENAME(mpg123_tell_stream)
103#define mpg123_seek MPG123_LARGENAME(mpg123_seek)
104#define mpg123_feedseek MPG123_LARGENAME(mpg123_feedseek)
105#define mpg123_seek_frame MPG123_LARGENAME(mpg123_seek_frame)
106#define mpg123_timeframe MPG123_LARGENAME(mpg123_timeframe)
107#define mpg123_index MPG123_LARGENAME(mpg123_index)
108#define mpg123_set_index MPG123_LARGENAME(mpg123_set_index)
109#define mpg123_position MPG123_LARGENAME(mpg123_position)
110#define mpg123_length MPG123_LARGENAME(mpg123_length)
111#define mpg123_framelength MPG123_LARGENAME(mpg123_framelength)
112#define mpg123_set_filesize MPG123_LARGENAME(mpg123_set_filesize)
113#define mpg123_replace_reader MPG123_LARGENAME(mpg123_replace_reader)
114#define mpg123_replace_reader_handle MPG123_LARGENAME(mpg123_replace_reader_handle)
115#define mpg123_framepos MPG123_LARGENAME(mpg123_framepos)
724,
void *outmemory,
size_t outmemsize,
size_t *done );
734,
const unsigned char *
in,
size_t size );
756,
const unsigned char *inmemory,
size_t inmemsize
757,
void *outmemory,
size_t outmemsize,
size_t *done );
806,
unsigned long *
header,
unsigned char **bodydata,
size_t *bodybytes );
867,
off_t sampleoff,
int whence );
887,
off_t frameoff,
int whence );
1277,
const char *stuff,
size_t from,
size_t count );
1294,
const char *stuff,
size_t from,
size_t count );
1464#define MPG123_ID3 0x3
1465#define MPG123_NEW_ID3 0x1
1466#define MPG123_ICY 0xc
1467#define MPG123_NEW_ICY 0x4
1499,
unsigned char **
v1,
size_t *v1_size
1500,
unsigned char **
v2,
size_t *v2_size );
1547,
const char* decoder,
int *
error );
1676,
ssize_t (*r_read) (
int,
void *,
size_t)
1695,
ssize_t (*r_read) (
void *,
void *,
size_t)
_STLP_MOVE_TO_STD_NAMESPACE void fill(_ForwardIter __first, _ForwardIter __last, const _Tp &__val)
static unsigned char bytes[4]
static void cleanup(void)
__kernel_ptrdiff_t ptrdiff_t
static const FxOffsetAndName offsets[]
GLuint GLuint GLsizei GLenum type
GLuint GLuint GLsizei count
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
GLfloat GLfloat GLfloat v2
MPG123_EXPORT int mpg123_getpar(mpg123_pars *mp, enum mpg123_parms type, long *value, double *fvalue)
MPG123_EXPORT int mpg123_fmt2(mpg123_pars *mp, long rate, int channels, int encodings)
MPG123_EXPORT mpg123_pars * mpg123_new_pars(int *error)
MPG123_EXPORT mpg123_handle * mpg123_parnew(mpg123_pars *mp, const char *decoder, int *error)
MPG123_EXPORT int mpg123_fmt_support(mpg123_pars *mp, long rate, int encoding)
MPG123_EXPORT void mpg123_delete_pars(mpg123_pars *mp)
MPG123_EXPORT int mpg123_par(mpg123_pars *mp, enum mpg123_parms type, long value, double fvalue)
MPG123_EXPORT int mpg123_fmt_all(mpg123_pars *mp)
MPG123_EXPORT int mpg123_fmt_none(mpg123_pars *mp)
MPG123_EXPORT const char * mpg123_current_decoder(mpg123_handle *mh)
MPG123_EXPORT const char ** mpg123_decoders(void)
MPG123_EXPORT const char ** mpg123_supported_decoders(void)
MPG123_EXPORT int mpg123_decoder(mpg123_handle *mh, const char *decoder_name)
MPG123_EXPORT const char * mpg123_plain_strerror(int errcode)
MPG123_EXPORT const char * mpg123_strerror(mpg123_handle *mh)
MPG123_EXPORT int mpg123_errcode(mpg123_handle *mh)
@ MPG123_NO_SEEK_FROM_END
@ MPG123_BAD_DECODER_SETUP
MPG123_EXPORT void mpg123_free(void *ptr)
MPG123_EXPORT void mpg123_delete(mpg123_handle *mh)
MPG123_EXPORT int mpg123_feature2(int key)
MPG123_EXPORT int mpg123_getparam(mpg123_handle *mh, enum mpg123_parms type, long *value, double *fvalue)
MPG123_EXPORT void mpg123_exit(void)
MPG123_EXPORT int mpg123_param(mpg123_handle *mh, enum mpg123_parms type, long value, double fvalue)
MPG123_EXPORT int mpg123_init(void)
MPG123_EXPORT mpg123_handle * mpg123_new(const char *decoder, int *error)
MPG123_EXPORT int mpg123_feature(const enum mpg123_feature_set key)
@ MPG123_IGNORE_STREAMLENGTH
@ MPG123_IGNORE_INFOFRAME
@ MPG123_FEATURE_TIMEOUT_READ
@ MPG123_FEATURE_DECODE_LAYER3
@ MPG123_FEATURE_DECODE_NTOM
@ MPG123_FEATURE_EQUALIZER
@ MPG123_FEATURE_MOREINFO
@ MPG123_FEATURE_PARSE_ID3V2
@ MPG123_FEATURE_PARSE_ICY
@ MPG123_FEATURE_OUTPUT_FLOAT32
@ MPG123_FEATURE_OUTPUT_32BIT
@ MPG123_FEATURE_OUTPUT_FLOAT64
@ MPG123_FEATURE_OUTPUT_8BIT
@ MPG123_FEATURE_ABI_UTF8OPEN
@ MPG123_FEATURE_DECODE_ACCURATE
@ MPG123_FEATURE_DECODE_DOWNSAMPLE
@ MPG123_FEATURE_DECODE_LAYER2
@ MPG123_FEATURE_OUTPUT_16BIT
@ MPG123_FEATURE_DECODE_LAYER1
MPG123_EXPORT int mpg123_replace_reader(mpg123_handle *mh, ssize_t(*r_read)(int, void *, size_t), off_t(*r_lseek)(int, off_t, int))
MPG123_EXPORT size_t mpg123_outblock(mpg123_handle *mh)
mpg123_string description
MPG123_EXPORT int mpg123_replace_reader_handle(mpg123_handle *mh, ssize_t(*r_read)(void *, void *, size_t), off_t(*r_lseek)(void *, off_t, int), void(*cleanup)(void *))
enum mpg123_version version
mpg123_text * comment_list
double sfb_s[2][2][3 *13]
MPG123_EXPORT int mpg123_replace_buffer(mpg123_handle *mh, void *data, size_t size)
mpg123_string description
MPG123_EXPORT int mpg123_format2(mpg123_handle *mh, long rate, int channels, int encodings)
MPG123_EXPORT int mpg123_format_all(mpg123_handle *mh)
MPG123_EXPORT int mpg123_format_none(mpg123_handle *mh)
MPG123_EXPORT void mpg123_encodings(const int **list, size_t *number)
MPG123_EXPORT void mpg123_rates(const long **list, size_t *number)
MPG123_EXPORT int mpg123_format(mpg123_handle *mh, long rate, int channels, int encodings)
MPG123_EXPORT int mpg123_getformat2(mpg123_handle *mh, long *rate, int *channels, int *encoding, int clear_flag)
MPG123_EXPORT int mpg123_format_support(mpg123_handle *mh, long rate, int encoding)
MPG123_EXPORT int mpg123_getformat(mpg123_handle *mh, long *rate, int *channels, int *encoding)
MPG123_EXPORT int mpg123_encsize(int encoding)
MPG123_EXPORT int mpg123_set_index(mpg123_handle *mh, off_t *offsets, off_t step, size_t fill)
MPG123_EXPORT off_t mpg123_tell_stream(mpg123_handle *mh)
MPG123_EXPORT off_t mpg123_tellframe(mpg123_handle *mh)
MPG123_EXPORT off_t mpg123_tell(mpg123_handle *mh)
MPG123_EXPORT off_t mpg123_feedseek(mpg123_handle *mh, off_t sampleoff, int whence, off_t *input_offset)
MPG123_EXPORT off_t mpg123_timeframe(mpg123_handle *mh, double sec)
MPG123_EXPORT off_t mpg123_seek(mpg123_handle *mh, off_t sampleoff, int whence)
MPG123_EXPORT off_t mpg123_seek_frame(mpg123_handle *mh, off_t frameoff, int whence)
MPG123_EXPORT int mpg123_index(mpg123_handle *mh, off_t **offsets, off_t *step, size_t *fill)
MPG123_EXPORT int mpg123_position(mpg123_handle *mh, off_t frame_offset, off_t buffered_bytes, off_t *current_frame, off_t *frames_left, double *current_seconds, double *seconds_left)
MPG123_EXPORT int mpg123_scan(mpg123_handle *mh)
MPG123_EXPORT int mpg123_info(mpg123_handle *mh, struct mpg123_frameinfo *mi)
MPG123_EXPORT int mpg123_spf(mpg123_handle *mh)
MPG123_EXPORT double mpg123_tpf(mpg123_handle *mh)
MPG123_EXPORT off_t mpg123_length(mpg123_handle *mh)
MPG123_EXPORT off_t mpg123_framelength(mpg123_handle *mh)
MPG123_EXPORT int mpg123_set_moreinfo(mpg123_handle *mh, struct mpg123_moreinfo *mi)
MPG123_EXPORT int mpg123_set_filesize(mpg123_handle *mh, off_t size)
MPG123_EXPORT long mpg123_clip(mpg123_handle *mh)
MPG123_EXPORT int mpg123_getstate(mpg123_handle *mh, enum mpg123_state key, long *val, double *fval)
MPG123_EXPORT size_t mpg123_safe_buffer(void)
MPG123_EXPORT int mpg123_getvolume(mpg123_handle *mh, double *base, double *really, double *rva_db)
MPG123_EXPORT int mpg123_reset_eq(mpg123_handle *mh)
MPG123_EXPORT int mpg123_volume_change(mpg123_handle *mh, double change)
MPG123_EXPORT double mpg123_geteq(mpg123_handle *mh, enum mpg123_channels channel, int band)
MPG123_EXPORT int mpg123_volume(mpg123_handle *mh, double vol)
MPG123_EXPORT int mpg123_eq(mpg123_handle *mh, enum mpg123_channels channel, int band, double val)
#define comment(fmt, arg1)
static unsigned int number
static const WCHAR lang[]