no audio when playing? [solved]
Posted: Thu Jul 18, 2013 11:01 pm
I have mp3 files in my theResourcesPath folder. I get notified by debugIt below that the file is indeed playing but I am not getting any audio. Am I missing something?
Code: Select all
put theResourcesPath & theFile into tSoundFile
if the platform is "android" or the platform is "iphone" then
if there is a file tSoundFile then
set the playLoudness to 100
play tSoundFile, false
if the result is "could not play sound" then
debugIt ("unable to play sound file " & tSoundFile)
else
debugIt ("playing " & theSound & " sound: " & tSoundFile)
end if
else
debugIt ("couldn't find file " & tSoundFile)
end if
end if