Package uk.co.caprica.vlcj.binding.internal

Examples of uk.co.caprica.vlcj.binding.internal.libvlc_equalizer_t


    public final Equalizer newEqualizer(String presetName) {
        Logger.debug("newEqualizer(presetName={})", presetName);
        checkEqualizer();
        int index = equalizerPresetNames.indexOf(presetName);
        if(index != -1) {
            libvlc_equalizer_t presetEqualizer = libvlc.libvlc_audio_equalizer_new_from_preset(index);
            if(presetEqualizer != null) {
                Equalizer equalizer = new Equalizer(libvlc);
                equalizer.setPreamp(libvlc.libvlc_audio_equalizer_get_preamp(presetEqualizer));
                for(int i = 0; i < libvlc.libvlc_audio_equalizer_get_band_count(); i++) {
                    equalizer.setAmp(i, libvlc.libvlc_audio_equalizer_get_amp_at_index(presetEqualizer, i));
View Full Code Here

TOP

Related Classes of uk.co.caprica.vlcj.binding.internal.libvlc_equalizer_t

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.