API documentation for libmpg123, libout123, and libsyn123
Note:
This API doc is automatically generated from the current development version that you can get via Subversion or as a daily snapshot from http://mpg123.org/snapshot.
There may be differences (additions) compared to the latest stable release. See
NEWS.libmpg123,
NEWS.libout123,
NEWS.libsyn123,
and the overall NEWS file on libmpg123 versions and important changes between them.
Let me emphasize that the policy for the lib*123 family is to always stay backwards compatible -- only additions are planned (and it's not yet planned to change the plans;-).
Let me emphasize that the policy for the lib*123 family is to always stay backwards compatible -- only additions are planned (and it's not yet planned to change the plans;-).
syn123.h
Go to the documentation of this file.
190 };
265 };
373 };
MPG123_EXPORT const char * syn123_wave_name(int id)
MPG123_EXPORT int syn123_query_waves(syn123_handle *sh, size_t *count, int *id, double *freq, double *phase, int *backwards, size_t *period)
MPG123_EXPORT int syn123_conv(void *MPG123_RESTRICT dst, int dst_enc, size_t dst_size, void *MPG123_RESTRICT src, int src_enc, size_t src_bytes, size_t *dst_bytes, size_t *clipped, syn123_handle *sh)
MPG123_EXPORT size_t syn123_read(syn123_handle *sh, void *dst, size_t dst_bytes)
MPG123_EXPORT int syn123_setup_waves(syn123_handle *sh, size_t count, int *id, double *freq, double *phase, int *backwards, size_t *period)
MPG123_EXPORT size_t syn123_resample_fillcount(long input_rate, long output_rate, size_t outs)
MPG123_EXPORT size_t syn123_resample_count(long inrate, long outrate, size_t ins)
MPG123_EXPORT double syn123_db2lin(double db)
MPG123_EXPORT int syn123_setup_pink(syn123_handle *sh, int rows, unsigned long seed, size_t *period)
MPG123_EXPORT void syn123_be2host(void *buf, size_t samplesize, size_t samplecount)
MPG123_EXPORT size_t syn123_resample_out(syn123_handle *sh, size_t ins, int *err)
MPG123_EXPORT int syn123_setup_silence(syn123_handle *sh)
MPG123_EXPORT void syn123_host2be(void *buf, size_t samplesize, size_t samplecount)
MPG123_EXPORT long syn123_resample_maxrate(void)
const char * syn123_strerror(int errcode)
MPG123_EXPORT size_t syn123_clip(void *buf, int encoding, size_t samples)
MPG123_EXPORT int syn123_setup_resample(syn123_handle *sh, long inrate, long outrate, int channels, int dirty, int smooth)
MPG123_EXPORT const char * syn123_distversion(unsigned int *major, unsigned int *minor, unsigned int *patch)
MPG123_EXPORT syn123_handle * syn123_new(long rate, int channels, int encoding, size_t maxbuf, int *err)
MPG123_EXPORT int syn123_query_filter(syn123_handle *sh, size_t position, size_t *count, unsigned int *order, double *b, double *a, int *mixenc, int *channels, int *init_firstval)
MPG123_EXPORT void syn123_interleave(void *MPG123_RESTRICT dst, void **MPG123_RESTRICT src, int channels, size_t samplesize, size_t samplecount)
MPG123_EXPORT unsigned int syn123_libversion(unsigned int *patch)
MPG123_EXPORT size_t syn123_resample_in(syn123_handle *sh, size_t outs, int *err)
MPG123_EXPORT void syn123_del(syn123_handle *sh)
MPG123_EXPORT size_t syn123_soft_clip(void *buf, int encoding, size_t samples, double limit, double width, syn123_handle *sh)
MPG123_EXPORT double syn123_lin2db(double volume)
MPG123_EXPORT syn123_ssize_t syn123_resample_inexpect(syn123_handle *sh, size_t outs)
MPG123_EXPORT int syn123_setup_filter(syn123_handle *sh, int append, unsigned int order, double *b, double *a, int mixenc, int channels, int init_firstval)
MPG123_EXPORT void syn123_swap_bytes(void *buf, size_t samplesize, size_t samplecount)
MPG123_EXPORT int64_t syn123_resample_total64(long inrate, long outrate, int64_t ins)
MPG123_EXPORT size_t syn123_resample(syn123_handle *sh, float *MPG123_RESTRICT dst, float *MPG123_RESTRICT src, size_t samples)
MPG123_EXPORT int syn123_setup_geiger(syn123_handle *sh, double activity, unsigned long seed, size_t *period)
MPG123_EXPORT int syn123_setup_sweep(syn123_handle *sh, int wave_id, double phase, int backwards, int sweep_id, double *f1, double *f2, int smooth, size_t duration, double *endphase, size_t *period, size_t *buffer_period)
MPG123_EXPORT void syn123_le2host(void *buf, size_t samplesize, size_t samplecount)
MPG123_EXPORT int syn123_mixenc(int src_enc, int dst_enc)
MPG123_EXPORT size_t syn123_resample_history(long inrate, long outrate, int dirty)
MPG123_EXPORT void syn123_drop_filter(syn123_handle *sh, size_t count)
MPG123_EXPORT void syn123_mono2many(void *MPG123_RESTRICT dst, void *MPG123_RESTRICT src, int channels, size_t samplesize, size_t samplecount)
MPG123_EXPORT void syn123_deinterleave(void **MPG123_RESTRICT dst, void *MPG123_RESTRICT src, int channels, size_t samplesize, size_t samplecount)
MPG123_EXPORT size_t syn123_resample_incount(long input_rate, long output_rate, size_t outs)
MPG123_EXPORT int syn123_dither(syn123_handle *sh, int dither, unsigned long *seed)
MPG123_EXPORT syn123_ssize_t syn123_resample_expect(syn123_handle *sh, size_t ins)
MPG123_EXPORT int syn123_setup_white(syn123_handle *sh, unsigned long seed, size_t *period)
MPG123_EXPORT int syn123_filter(syn123_handle *sh, void *buf, int encoding, size_t samples)
MPG123_EXPORT void syn123_host2le(void *buf, size_t samplesize, size_t samplecount)
MPG123_EXPORT size_t syn123_resample_maxincount(long input_rate, long output_rate)
MPG123_EXPORT int syn123_mix(void *MPG123_RESTRICT dst, int dst_enc, int dst_channels, void *MPG123_RESTRICT src, int src_enc, int src_channels, const double *mixmatrix, size_t samples, int silence, size_t *clipped, syn123_handle *sh)
MPG123_EXPORT int syn123_amp(void *buf, int encoding, size_t samples, double volume, double offset, size_t *clipped, syn123_handle *sh)
MPG123_EXPORT off_t syn123_resample_intotal(long inrate, long outrate, off_t outs)
MPG123_EXPORT off_t syn123_resample_total(long inrate, long outrate, off_t ins)
MPG123_EXPORT int64_t syn123_resample_intotal64(long inrate, long outrate, int64_t outs)