classdef sigempty < sigbase
	methods
		function s=sigempty(channels,rate)
			if nargin<2, rate=nan; end
			s=s@sigbase(channels,rate);
		end

		function s=tostring(sig), s='sigempty'; end
		function s=construct(sig)
			s.start   = @nop;
			s.stop    = @nop;
			s.dispose = @nop;
			s.reader = @reader;

			function r=reader(n)
				r = @next;
				buf=zeros(sig.channels,double(n));
				function [x,rem]=next, x=buf; rem=n; end
			end
		end
	end
end
