Package bs.util

Examples of bs.util.LoopingByteInputStream


     */
    public InputStream play(Sound sound, SoundFilter filter, boolean loop) {
        InputStream is;
        if (sound != null) {
            if (loop) {
                is = new LoopingByteInputStream(sound.getSamples());
            } else {
                is = new ByteArrayInputStream(sound.getSamples());
            }

            return play(is, filter);
View Full Code Here

TOP

Related Classes of bs.util.LoopingByteInputStream

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.