Mercurial > octave
diff scripts/audio/@audioplayer/set.m @ 21758:ffad2baa90f7
maint: Use newlines to make code more readable.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 20 May 2016 15:46:45 -0700 |
parents | 516bb87ea72e |
children | bac0d6f07a3e |
line wrap: on
line diff
--- a/scripts/audio/@audioplayer/set.m Fri May 20 12:03:39 2016 -0700 +++ b/scripts/audio/@audioplayer/set.m Fri May 20 15:46:45 2016 -0700 @@ -62,6 +62,7 @@ endfunction function setproperty (player, property, value) + switch (property) case "SampleRate" __player_set_fs__ (player, value); @@ -72,4 +73,6 @@ otherwise error ("audioplayer: no such property or the property specified is read-only"); endswitch + endfunction +