Mercurial > octave-nkf
diff scripts/audio/playaudio.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 |
line wrap: on
line diff
--- a/scripts/audio/playaudio.m Sun May 16 18:28:59 2010 -0700 +++ b/scripts/audio/playaudio.m Sun May 16 22:26:54 2010 -0700 @@ -67,7 +67,7 @@ || strcmp (ext, "snd") || strcmp (ext, "ul")) system (sprintf ("cat \"%s\" > /dev/audio", name)); else - error ("playaudio does not support given extension"); + error ("playaudio: unsupported extension"); endif else print_usage ();