Skip to content

Commit 275da7c

Browse files
authored
stereo_sound: fix record and record_for (#237)
* fix recording * fixing stereo also
1 parent 4a963ad commit 275da7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bundles/stereo_sound/functions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function start_recording(mediaRecorder: MediaRecorder) {
114114
const recording_signal_duration_ms = 100;
115115

116116
function play_recording_signal() {
117-
play(sine_sound(1200, recording_signal_duration_ms / 1000));
117+
play_concurrently(sine_sound(1200, recording_signal_duration_ms / 1000));
118118
}
119119

120120
// eslint-disable-next-line @typescript-eslint/no-shadow

0 commit comments

Comments
 (0)