RESOLVED: alxPlay doesnt work
by Komar "FLy" Sergey · in iTorque 2D · 05/20/2009 (6:05 am) · 5 replies
Hi, I have a problem with playing sound in iTGB with alxPlay:
I run the project and its work fine, without errors in console.log, but sound not playing, whats the problem?
new AudioDescription(AudioNonLooping)
{
volume = 1.0;
isLooping = false;
is3D = false;
type = $GuiAudioType;
};
new AudioProfile(wallhit)
{
filename = "~/data/audio/wallhit.ogg";
description = "AudioNonLooping";
preload = true;
};I run the project and its work fine, without errors in console.log, but sound not playing, whats the problem?
#2
05/20/2009 (10:06 am)
Thank you, any other FREE format to use?
#3
05/20/2009 (10:38 am)
mp3 format licensing is covered by apple on the iPhone, so you can use that free. The limitation is you can only have one mp3 playing at a time, because of the hardware. I think other than that the only option is wav files.
#4
05/20/2009 (10:46 am)
Thank you for answers
#5
05/30/2009 (1:32 pm)
Marking as resolved. For iTGB development from here out use only .wav and .mp3
Torque 3D Owner Ronny Bangsund
Torque Cheerleaders