Mercurial > octave-nkf
view scripts/audio/@audioplayer/playblocking.m @ 19530:a9c67ed90fc0
fix audioplayer docstrings to work with new texinfo
* audioplayer.m, get.m, play.m, playblocking.m, set.m: fix docstrings using
stand alone deftypefnx tags
author | Vytautas Jančauskas <unaudio@gmail.com> |
---|---|
date | Fri, 20 Sep 2013 00:46:16 +0300 |
parents | ee3ec3f02358 |
children | 8bb399569393 |
line wrap: on
line source
## -*- texinfo -*- ## @deftypefn{Function File} playblocking (@var{playerObj}) ## Play back audio stored in the audioplayer object with blocking. ## @end deftypefn ## @deftypefn{Function File} playblocking (@var{playerObj}, @var{start}) ## Play back audio stored in the audioplayer object starting at the time in seconds specified by @var{start}. ## @end deftypefn ## @deftypefn{Function File} playblocking (@var{playerObj}, [@var{start}, @var{end}]) ## Play back audio stored in the audioplayer object starting at the time in seconds specified by @var{start} and ending at the time specified by @var{end}. ## @end deftypefn function playblocking(varargin) if (nargin < 1 || nargin > 2) print_usage (); endif __player_playblocking__(struct(varargin{1}).player, varargin{2:end}); endfunction