Game Development Community

Unable to locate audio profile '0

by VcDeveloper · in Technical Issues · 10/05/2008 (7:28 pm) · 1 replies

I the "Introduction To Torque" tutorial when adjusting the "Master Volume" in the Option Dialog, there is no sound. I check the Torsion "Output" window and get this error:

Unable to locate audio profile '0'

When stepping through debug it gernerates the error on this line:

$AudioTestHandle = alxCreateSource("AudioChannel0", expandFilename("~/sounds/testing.wav"));
alxPlay($AudioTestHandle);

I thought it could not find the .wav file, so I changed it to this and I still get the error.
$AudioTestHandle = alxCreateSource("AudioChannel0", expandFilename("~/data/sounds/testing.wav"));
alxPlay($AudioTestHandle);

being new to the Torque Game Engine. Why isn't this working?

#1
10/05/2008 (9:48 pm)
Make sure you have a AudioDescription for AudioChannel0. If it's unable to locate the audio profile then it may not be there.