Mercurial > hg > ishara
view audio/filesink.m @ 42:ae596261e75f
Various fixes and development to audio handling
author | samer |
---|---|
date | Tue, 02 Dec 2014 14:51:13 +0000 |
parents | 672052bd81f8 |
children | 62e31e7980e6 |
line wrap: on
line source
function s=filesink(ch,rate,file,varargin) str=sprintf('filesink(''%s'')',file); s=wavsink(ch,rate,@()filestream(file),@()str,varargin{:}); end function [str,disp]=filestream(file) import java.io.*; str=BufferedOutputStream(FileOutputStream(jfile(file))); disp=@nop; end