|
VLC
4.0.0-dev
|

Data Structures | |
| struct | aout_volume |
Functions | |
| static int | ReplayGainCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
| aout_volume_t * | aout_volume_New (vlc_object_t *parent, const audio_replay_gain_t *gain) |
| Creates a software amplifier. More... | |
| int | aout_volume_SetFormat (aout_volume_t *vol, vlc_fourcc_t format) |
| Selects the current sample format for software amplification. More... | |
| void | aout_volume_Delete (aout_volume_t *vol) |
| Destroys a software amplifier. More... | |
| void | aout_volume_SetVolume (aout_volume_t *vol, float factor) |
| int | aout_volume_Amplify (aout_volume_t *vol, block_t *block) |
| Applies replay gain and software volume to an audio buffer. More... | |
| static float | aout_ReplayGainSelect (vlc_object_t *obj, const char *str, const audio_replay_gain_t *replay_gain) |
|
static |
| int aout_volume_Amplify | ( | aout_volume_t * | vol, |
| block_t * | block | ||
| ) |
Applies replay gain and software volume to an audio buffer.
References audio_volume::amplify, aout_volume::gain_factor, aout_volume::module, aout_volume::object, aout_volume::output_factor, and unlikely.
Referenced by aout_DecPlay().
| void aout_volume_Delete | ( | aout_volume_t * | vol | ) |
Destroys a software amplifier.
References aout_volume::module, module_unneed, aout_volume::object, ReplayGainCallback(), var_DelCallback(), vlc_object_delete, and vlc_object_parent.
Referenced by aout_DecDelete(), and aout_DecNew().
| aout_volume_t* aout_volume_New | ( | vlc_object_t * | parent, |
| const audio_replay_gain_t * | gain | ||
| ) |
Creates a software amplifier.
References aout_volume::module, aout_volume::output_factor, aout_volume::replay_gain, ReplayGainCallback(), unlikely, var_AddCallback(), var_TriggerCallback(), and vlc_custom_create.
| int aout_volume_SetFormat | ( | aout_volume_t * | vol, |
| vlc_fourcc_t | format | ||
| ) |
Selects the current sample format for software amplification.
References audio_volume::format, aout_volume::module, module_need, module_unneed, msg_Dbg, aout_volume::object, and unlikely.
Referenced by aout_CheckReady(), and aout_DecNew().
| void aout_volume_SetVolume | ( | aout_volume_t * | vol, |
| float | factor | ||
| ) |
References aout_volume::output_factor, and unlikely.
Referenced by aout_GainNotify().
|
static |
References aout_ReplayGainSelect(), aout_volume::gain_factor, vlc_value_t::psz_string, aout_volume::replay_gain, VLC_SUCCESS, and VLC_UNUSED.
Referenced by aout_volume_Delete(), and aout_volume_New().
1.8.13