Mercurial > octave-antonio
comparison scripts/audio/saveaudio.m @ 11472:1740012184f9
Use uppercase for variable names in error() strings to match Info documentation. Only m-files done.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 21:33:04 -0800 |
parents | c776f063fefe |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
11471:994e2a93a8e2 | 11472:1740012184f9 |
---|---|
42 endif | 42 endif |
43 | 43 |
44 if (nargin < 4) | 44 if (nargin < 4) |
45 bps = 8; | 45 bps = 8; |
46 elseif (bps != 8 && bps != 16) | 46 elseif (bps != 8 && bps != 16) |
47 error ("saveaudio: bps must be either 8 or 16"); | 47 error ("saveaudio: BPS must be either 8 or 16"); |
48 endif | 48 endif |
49 | 49 |
50 [nr, nc] = size (x); | 50 [nr, nc] = size (x); |
51 if (nc != 1) | 51 if (nc != 1) |
52 if (nr == 1) | 52 if (nr == 1) |