view scripts/audio/@audiorecorder/recordblocking.m @ 19522:ee3ec3f02358

maint: moved @audiorecorder and @audioplayer folders inside the audio folder
author Vytautas Jančauskas <unaudio@gmail.com>
date Wed, 18 Sep 2013 00:16:28 +0300
parents scripts/@audiorecorder/recordblocking.m@e1f98e402a7e
children 8bb399569393
line wrap: on
line source

## -*- texinfo -*-
## @deftypefn{Function File} recordblocking (@var{recorderObj}, @var{length})
## Record audio with blocking (synchronous I/O). You must specify the number of seconds
## that the recording will continue for.
## @end deftypefn

function recordblocking(varargin)
  if (nargin != 2)
    print_usage ();
  endif 
  __recorder_recordblocking__(struct(varargin{1}).recorder, varargin{2});
endfunction