Examples of AudioChannelVolumeMessage


Examples of vavi.sound.mfi.vavi.track.AudioChannelVolumeMessage

     *
     * @param adpcmVolume in %
     */
    public static MfiEvent getVolumeEvent(int adpcmVolume) {
        int realAdpcmVolume = (int) (adpcmVolume * maxAdpcmVolume / 100f);
        MfiMessage message = new AudioChannelVolumeMessage(0x00, 0x7f, 0x80, realAdpcmVolume);
        return new MfiEvent(message, 0l);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.