Package com.volantis.map.sti.model

Examples of com.volantis.map.sti.model.Audio


     *
     * @param prefix prefix of parameter where parameter can be found.
     * @return audio model object.
     */
    private Audio getAudio() throws ConverterException {
        Audio audio = new Audio();

        // Set standard media parameters
        setMediaParameters(audio);

        // Set audio size.
        String limitParameter = getParameterValue(ParameterNames.MAX_AUDIO_SIZE);

        if (limitParameter != null) {
            audio.setSizeLimit(Long.parseLong(limitParameter));
        }

        // Set audio specific parameters.
        audio.setCodec(getParameterValue(ParameterNames.AUDIO_CODEC));

        return audio;
    }
View Full Code Here

TOP

Related Classes of com.volantis.map.sti.model.Audio

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.