annotate audio/private/austream.m @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents 62e31e7980e6
children
rev   line source
samer@43 1 % austream - construct audio stream from ordinary stream
samer@43 2 % austream :: java.io.InputStream -> java.sound.sampled.AudioInputStream.
samer@0 3 function str=austream(str)
samer@0 4 if ~str.markSupported, str=java.io.BufferedInputStream(str); end
samer@0 5 str=javax.sound.sampled.AudioSystem.getAudioInputStream(str);
samer@0 6 end