Why isn't the audio playing for me?

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
IMRSIV
Posts: 1
Joined: Wed Oct 29, 2014 12:08 pm

Why isn't the audio playing for me?

Post by IMRSIV » Sat Sep 12, 2015 5:20 pm

Running on Android...

on opencard
put specialFolderPath("engine") & "/Sounds/MSG_1.wav" into tFirstSound
mobilePlaySoundOnChannel tFirstSound, "current", "now"
put specialFolderPath("engine") & "/Sounds/MSG_2.wav" into tSecondSound
mobilePlaySoundOnChannel tSecondSound, "current", "next"
end opencard

The paths are correct and the files exist. Nothing plays at all, not the first or the second sound. If I remove the second "put" and the second "mobilePlaySoundOnChannel":

on opencard
put specialFolderPath("engine") & "/Sounds/MSG_1.wav" into tFirstSound
mobilePlaySoundOnChannel tFirstSound, "current", "now"
end opencard

then the first sound plays. What am I doing wrong?

Post Reply

Return to “Multimedia”