Mercurial > octave
comparison scripts/audio/@audiorecorder/set.m @ 31549:ed7b17c7ddf3 stable
maint: Strip trailing spaces and add missing EOL to all files.
* README, NEWS.6.md, RELEASE_CHECKLIST.md, README.md, besselj.cc, Array.h,
LSODE.cc, set.m, audiorecorder.m, play.m, set.m, patch.m:
Strip trailing spaces.
* command-widget.cc, led-indicator.cc, led-indicator.h:
Add missing EOL to files.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 25 Nov 2022 21:38:22 -0800 |
parents | 2d6e60776588 |
children | 597f3ee61a48 |
comparison
equal
deleted
inserted
replaced
31548:c8ad083a5802 | 31549:ed7b17c7ddf3 |
---|---|
115 %! assert (recorder.UserData, [1, 2; 3, 4]); | 115 %! assert (recorder.UserData, [1, 2; 3, 4]); |
116 | 116 |
117 ## Test input validation | 117 ## Test input validation |
118 %!testif HAVE_PORTAUDIO; audiodevinfo (1) > 0 | 118 %!testif HAVE_PORTAUDIO; audiodevinfo (1) > 0 |
119 %! recorder = audiorecorder (); | 119 %! recorder = audiorecorder (); |
120 %! fail ('set (recorder, "foobar", 1)', "not a valid property name"); | 120 %! fail ('set (recorder, "foobar", 1)', "not a valid property name"); |
121 %! fail ('set (recorder, "Running", 1)', "is read-only"); | 121 %! fail ('set (recorder, "Running", 1)', "is read-only"); |