[vlc-devel] libvlc API: Add equalizer to audio.c

Cyril MATHE cmathe at actech-innovation.com
Fri Jul 31 14:38:30 CEST 2009


What do you think of this API ?

unsigned libvlc_audio_equalizer_presets_get_count()
char *   libvlc_audio_equalizer_preset_name(int i_index)

libvlc_audio_equalizer_t
{
libvlc_instance_t p_instance;
float f_preamp;
float f_band[BAND_NUMBER]
int i_band;
bool b_enable;
}

libvlc_audio_equalizer_t * libvlc_audio_equalizer_new(p_instance)

void libvlc_audio_equalizer_release(libvlc_audio_equalizer)

unsigned libvlc_audio_equalizer_get_band_count(libvlc_audio_equalizer*)

float libvlc_audio_equalizer_get_amplification_at_band_index(
libvlc_audio_equalizer*, int i_index)

void libvlc_audio_equalizer_get_amplification_at_band_index(
libvlc_audio_equalizer*, int i_index, float f_amp)

float libvlc_audio_equalizer_get_preamplification_at_band_index(
libvlc_audio_equalizer*)

void libvlc_audio_equalizer_get_preamplification_at_band_index(
libvlc_audio_equalizer*, float f_preamp)

void libvlc_audio_equalizer_set_preset( libvlc_audio_equalizer*, int
i_presetID)

bool libvlc_audio_equalizer_get_enable(libvlc_audio_equalizer*)

void libvlc_audio_equalizer_set_enable(libvlc_audio_equalizer*, bool
b_enable)

void libvlc_media_player_get_equalizer(libvlc_audio_equalizer*)

void libvlc_media_player_set_equalizer(libvlc_audio_equalizer*)





More information about the vlc-devel mailing list