ensuring audio only plays in proper places

This commit is contained in:
Chris Cochrun 2022-09-26 06:38:11 -05:00
parent 4f0ab74fa1
commit 2711bde130
3 changed files with 23 additions and 5 deletions

View file

@ -172,9 +172,14 @@ Item {
}
function playAudio() {
showPassiveNotification("Audio should change");
audio.loadFile(audioSource.toString());
}
function stopAudio() {
audio.stop();
}
function stopVideo() {
mpv.stop();
black.visible = true;