diff audio/playaudio_async.m @ 2:7357e1dc2ad6

Simplified scheduler library with new schedule representation.
author samer
date Sat, 22 Dec 2012 16:17:51 +0000
parents 672052bd81f8
children 9e7be347b3a0
line wrap: on
line diff
--- a/audio/playaudio_async.m	Wed Dec 19 22:46:05 2012 +0000
+++ b/audio/playaudio_async.m	Sat Dec 22 16:17:51 2012 +0000
@@ -1,4 +1,3 @@
-function [Sched,GetData]=playaudio_async(Y,Snk,varargin)
 % playaudio_async - Play stream of audio data asynchronously
 %
 % playaudio :: 
@@ -40,5 +39,6 @@
 %
 % NB: all the audio buffers must be the same size for this to work.
 % NB: the rewind function should only be called when the timer is stopped.
+function [Sched,GetData]=playaudio_async(Y,Snk,varargin)
 	[Sched,GetData]=playaudio_unfold(size(Y,2),@decons,Y,Snk),varargin{:});
 end