Mercurial > octave-nkf
comparison scripts/audio/loadaudio.m @ 10635:d1978e7364ad
Print name of function in error() string messages.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 16 May 2010 22:26:54 -0700 |
parents | 95c3e38098bf |
children | be55736a0783 |
comparison
equal
deleted
inserted
replaced
10634:60542efcfa2c | 10635:d1978e7364ad |
---|---|
72 Y(1:m) = []; | 72 Y(1:m) = []; |
73 endif | 73 endif |
74 X = mu2lin (Y, bit); | 74 X = mu2lin (Y, bit); |
75 else | 75 else |
76 fclose (num); | 76 fclose (num); |
77 error ("loadaudio does not support given extension"); | 77 error ("loadaudio: unsupported extension"); |
78 endif | 78 endif |
79 | 79 |
80 fclose (num); | 80 fclose (num); |
81 | 81 |
82 endfunction | 82 endfunction |