Mercurial > octave-nkf
comparison scripts/audio/@audioplayer/subsasgn.m @ 19538:d7b55fc1b37d
Add missing texinfo docstrings to all audio functions
* libinterp/dldfcn/__player_audioplayer__.cc,
libinterp/dldfcn/__recorder_audiorecorder__.cc,
scripts/audio/@audioplayer/subsasgn.m, scripts/audio/@audioplayer/subsref.m,
scripts/audio/@audiorecorder/__get_properties__.m,
scripts/audio/@audiorecorder/subsasgn.m,
scripts/audio/@audiorecorder/subsref.m: Add texinfo docstrings to all
functions, internal or otherwise.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Thu, 03 Oct 2013 08:33:46 -0400 |
parents | 36a26a131209 |
children | 5802ea7037d4 |
comparison
equal
deleted
inserted
replaced
19537:36a26a131209 | 19538:d7b55fc1b37d |
---|---|
14 ## | 14 ## |
15 ## You should have received a copy of the GNU General Public License | 15 ## You should have received a copy of the GNU General Public License |
16 ## along with Octave; see the file COPYING. If not, see | 16 ## along with Octave; see the file COPYING. If not, see |
17 ## <http://www.gnu.org/licenses/>. | 17 ## <http://www.gnu.org/licenses/>. |
18 | 18 |
19 ## -*- texinfo -*- | |
20 ## @deftypefn {Function File} {@var{value} =} subsasgn (@var{player}, @var{idx}, @var{rhs}) | |
21 ## Perform subscripted assignment on the audio player object @var{player}. | |
22 ## Assign the value of @var{rhs} to the player property named by @var{idx}. | |
23 ## @end deftypefn | |
24 | |
19 function value = subsasgn (player, idx, rhs) | 25 function value = subsasgn (player, idx, rhs) |
20 if (isempty (idx)) | 26 if (isempty (idx)) |
21 error ("audioplayer: missing index"); | 27 error ("audioplayer: missing index"); |
22 endif | 28 endif |
23 if (strcmp (idx(1).type, ".")) | 29 if (strcmp (idx(1).type, ".")) |