Quick question about the Alert.playSound() function.
I'm trying something that sometimes plays a very short sound multiple times in a row in the main() function before returning. Sometimes I hear the multiple sounds and other times it just plays the sound once.
Is the Alert.playSound() function synchronous or asynchronous? If the latter, is there a way to force it to be synchronous?
Thanks!
I'm trying something that sometimes plays a very short sound multiple times in a row in the main() function before returning. Sometimes I hear the multiple sounds and other times it just plays the sound once.
Is the Alert.playSound() function synchronous or asynchronous? If the latter, is there a way to force it to be synchronous?
Thanks!
Comment