Commit 4d71da8
committed
codal_port/modaudio: Properly support sound exprs with wait=False/True.
Now they will play in the foreground (block) by default, ctrl-C will stop
them playing (if wait=True), and any active expression will be stopped
before playing another.
Fixes issue #76.
Signed-off-by: Damien George <damien@micropython.org>1 parent 5b90b75 commit 4d71da8
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | 146 | | |
148 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
149 | 163 | | |
150 | 164 | | |
151 | 165 | | |
| |||
0 commit comments