Update function names for consistency
This commit is contained in:
1 parent
d436bd1227
commit
a02f364a4c
2 files changed
+4
-4
No files matched your search
@@ -166,12 +166,12 @@ void playTone(int frequency, int ms) {
|
||||
/**
|
||||
* Play a tone through the speaker for some amount of time.
|
||||
*/
|
||||
//% help=music/stop-sound
|
||||
//% blockId=music_stop_sounds block="stop all sounds"
|
||||
//% help=music/stop-all-sounds
|
||||
//% blockId=music_stop_all_sounds block="stop all sounds"
|
||||
//% parts="headphone"
|
||||
//% blockNamespace=music
|
||||
//% weight=76 blockGap=8
|
||||
void stopSounds() {
|
||||
void stopAllSounds() {
|
||||
if (currentSample) {
|
||||
samplePtr = currentSample->length;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user