comparison scripts/audio/playaudio.m @ 3471:a0aef47b4b4d

[project @ 2000-01-22 23:10:42 by jwe]
author jwe
date Sat, 22 Jan 2000 23:10:43 +0000
parents 434790acb067
children 22bd65326ec1
comparison
equal deleted inserted replaced
3470:b3a16793a390 3471:a0aef47b4b4d
63 else 63 else
64 usage (usage_msg); 64 usage (usage_msg);
65 endif 65 endif
66 if (strcmp (ext, "lin") || strcmp (ext, "raw")) 66 if (strcmp (ext, "lin") || strcmp (ext, "raw"))
67 system (sprintf ("cat %s > /dev/dsp", name)); 67 system (sprintf ("cat %s > /dev/dsp", name));
68 elseif (strcmp (ext, "mu") || strcmp (ext, "au") || strcmp (ext, "snd")) 68 elseif (strcmp (ext, "mu") || strcmp (ext, "au")
69 || strcmp (ext, "snd") || strcmp (ext, "ul"))
69 system (sprintf ("cat %s > /dev/audio", name)); 70 system (sprintf ("cat %s > /dev/audio", name));
70 else 71 else
71 error ("playaudio does not support given extension"); 72 error ("playaudio does not support given extension");
72 endif 73 endif
73 else 74 else