comparison scripts/audio/loadaudio.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
48 endif 48 endif
49 49
50 if (nargin < 3) 50 if (nargin < 3)
51 bps = 8; 51 bps = 8;
52 elseif (bps != 8 && bps != 16) 52 elseif (bps != 8 && bps != 16)
53 error ("loadaudio: bps must be either 8 or 16"); 53 error ("loadaudio: BPS must be either 8 or 16");
54 endif 54 endif
55 55
56 name = [name, ".", ext]; 56 name = [name, ".", ext];
57 num = fopen (name, "rb"); 57 num = fopen (name, "rb");
58 58