view 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
line wrap: on
line source
% austream - construct audio stream from ordinary stream
% austream :: java.io.InputStream -> java.sound.sampled.AudioInputStream.
function str=austream(str)
	if ~str.markSupported, str=java.io.BufferedInputStream(str); end
	str=javax.sound.sampled.AudioSystem.getAudioInputStream(str);
end