comparison scripts/audio/@audiorecorder/record.m @ 19531:77b52b86b419

change @audiorecorder method docstrings to work with new texinfo * audiorecorder.m, get.m, getaudiodata.m, play.m, record.m, set.m: change stand-alone deftypefnx tags to deftypefn tags
author Vytautas Jančauskas <unaudio@gmail.com>
date Fri, 20 Sep 2013 00:51:21 +0300
parents ee3ec3f02358
children 8bb399569393
comparison
equal deleted inserted replaced
19530:a9c67ed90fc0 19531:77b52b86b419
1 ## -*- texinfo -*- 1 ## -*- texinfo -*-
2 ## @deftypefn{Function File} record (@var{recorderObj}) 2 ## @deftypefn{Function File} record (@var{recorderObj})
3 ## Record audio without blocking. The recording will continue until you use the stop method on @var{recorderObj}. 3 ## Record audio without blocking. The recording will continue until you use the stop method on @var{recorderObj}.
4 ## @deftypefnx{Function File} record (@var{playerObj}, @var{length}) 4 ## @end deftypefn
5 ## @deftypefn{Function File} record (@var{playerObj}, @var{length})
5 ## Record audio without blocking. The recording will continue for @var{length} seconds. 6 ## Record audio without blocking. The recording will continue for @var{length} seconds.
6 ## @end deftypefn 7 ## @end deftypefn
7 8
8 function record(varargin) 9 function record(varargin)
9 if (nargin < 1 || nargin > 2) 10 if (nargin < 1 || nargin > 2)