comparison scripts/audio/@audioplayer/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 6d96538052b9
children 597f3ee61a48
comparison
equal deleted inserted replaced
31548:c8ad083a5802 31549:ed7b17c7ddf3
112 %! assert (player.UserData, [1, 2; 3, 4]); 112 %! assert (player.UserData, [1, 2; 3, 4]);
113 113
114 ## Test input validation 114 ## Test input validation
115 %!testif HAVE_PORTAUDIO; audiodevinfo (0) > 0 115 %!testif HAVE_PORTAUDIO; audiodevinfo (0) > 0
116 %! player = audioplayer ([-1, 1], 44100, 8); 116 %! player = audioplayer ([-1, 1], 44100, 8);
117 %! fail ('set (player, "foobar", 1)', "not a valid property name"); 117 %! fail ('set (player, "foobar", 1)', "not a valid property name");
118 %! fail ('set (player, "Running", 1)', "is read-only"); 118 %! fail ('set (player, "Running", 1)', "is read-only");