We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35bcba8 commit bdf6deeCopy full SHA for bdf6dee
libcallback/audio_play.c
@@ -55,8 +55,10 @@ int PlayPCM(char *file, int vol) {
55
while(local_sdk_speaker_feed_pcm_data(buf, size)) usleep(100 * 1000);
56
}
57
fclose(fp);
58
- usleep(200 * 1000);
+ usleep(2 * 1000 * 1000);
59
local_sdk_speaker_finish_buf_data();
60
+ local_sdk_speaker_set_volume(0);
61
+ local_sdk_speaker_set_ap_mode(0);
62
63
fprintf(stderr, "[command] aplay: finish\n");
64
return 0;
0 commit comments