Code example for SequenceInputStream

0
            } 
 
        } 
 
        public AudioInputStream getAudioInputStream() { 
            InputStream tInputStream = new SequenceInputStream(outputList.elements());
            AudioInputStream tAudioInputStream = new AudioInputStream(tInputStream, currentFormat,
                    totBytes / currentFormat.getFrameSize());
 
            return tAudioInputStream;
        } 
 
        /** 
         * Returns the current volume. 
         * 
         * @return the current volume (between 0 and 1) 
         */ 
        public float getVolume() { 
            return 1.0f; 
        }