ReactOS 0.4.16-dev-297-gc569aee
|
Modules | |
mpg123 status and information | |
Enumerations | |
enum | mpg123_channels { MPG123_LEFT =0x1 , MPG123_RIGHT =0x2 , MPG123_LR =0x3 } |
Functions | |
MPG123_EXPORT int | mpg123_eq (mpg123_handle *mh, enum mpg123_channels channel, int band, double val) |
MPG123_EXPORT double | mpg123_geteq (mpg123_handle *mh, enum mpg123_channels channel, int band) |
MPG123_EXPORT int | mpg123_reset_eq (mpg123_handle *mh) |
MPG123_EXPORT int | mpg123_volume (mpg123_handle *mh, double vol) |
MPG123_EXPORT int | mpg123_volume_change (mpg123_handle *mh, double change) |
MPG123_EXPORT int | mpg123_getvolume (mpg123_handle *mh, double *base, double *really, double *rva_db) |
another channel enumeration, for left/right choice
Enumerator | |
---|---|
MPG123_LEFT | The Left Channel. |
MPG123_RIGHT | The Right Channel. |
MPG123_LR | Both left and right channel; same as MPG123_LEFT|MPG123_RIGHT |
MPG123_EXPORT int mpg123_eq | ( | mpg123_handle * | mh, |
enum mpg123_channels | channel, | ||
int | band, | ||
double | val | ||
) |
Set the 32 Band Audio Equalizer settings.
mh | handle |
channel | Can be MPG123_LEFT, MPG123_RIGHT or MPG123_LEFT|MPG123_RIGHT for both. |
band | The equaliser band to change (from 0 to 31) |
val | The (linear) adjustment factor. |
Definition at line 416 of file libmpg123.c.
MPG123_EXPORT double mpg123_geteq | ( | mpg123_handle * | mh, |
enum mpg123_channels | channel, | ||
int | band | ||
) |
Get the 32 Band Audio Equalizer settings.
mh | handle |
channel | Can be MPG123_LEFT, MPG123_RIGHT or MPG123_LEFT|MPG123_RIGHT for (arithmetic mean of) both. |
band | The equaliser band to change (from 0 to 31) |
Definition at line 437 of file libmpg123.c.
MPG123_EXPORT int mpg123_getvolume | ( | mpg123_handle * | mh, |
double * | base, | ||
double * | really, | ||
double * | rva_db | ||
) |
Return current volume setting, the actual value due to RVA, and the RVA adjustment itself. It's all as double float value to abstract the sample format. The volume values are linear factors / amplitudes (not percent) and the RVA value is in decibels.
mh | handle |
base | return address for base volume (linear factor) |
really | return address for actual volume (linear factor) |
rva_db | return address for RVA value (decibels) |
MPG123_EXPORT int mpg123_reset_eq | ( | mpg123_handle * | mh | ) |
Reset the 32 Band Audio Equalizer settings to flat
mh | handle |
Definition at line 172 of file frame.c.
Referenced by frame_init_par().
MPG123_EXPORT int mpg123_volume | ( | mpg123_handle * | mh, |
double | vol | ||
) |
Set the absolute output volume including the RVA setting, vol<0 just applies (a possibly changed) RVA setting.
mh | handle |
vol | volume value (linear factor) |
Definition at line 980 of file frame.c.
Referenced by mpg123_volume_change().
MPG123_EXPORT int mpg123_volume_change | ( | mpg123_handle * | mh, |
double | change | ||
) |
Adjust output volume including the RVA setting by chosen amount
mh | handle |
change | volume value (linear factor increment) |
Definition at line 974 of file frame.c.