Author Topic: Audio Description datablocks?  (Read 938 times)

Hey, so I was trying to get music to loop cliently after messing with alxPlay and I cant seem to get the music to loop. I'm guessing it has to do with AudioProfile.
So under that, what can I put for description? And it would help even more if someone has a list of all the descriptions. Thank!

I'm currently just using description = AudioGui;

You can just create a new profile that inherits another or use an existing one.

Code: [Select]
datablock AudioDescription(AudioGuiLooping : AudioGui)
{
isLooping = true;
};

And then use that description in its place.

You can just create a new profile that inherits another or use an existing one.

Code: [Select]
datablock AudioDescription(AudioGuiLooping : AudioGui)
{
isLooping = true;
};

And then use that description in its place.
Thanks, all I needed.
EDIT: I can't seem to stop it with alxStop(NAME);
« Last Edit: June 26, 2014, 01:54:06 AM by Frostwind »

Thanks, all I needed.
EDIT: I can't seem to stop it with alxStop(NAME);

NAME? alxStop takes an audio source handle as returned by alxPlay.

$handle = alxPlay(AudioProfile sound);
alxStop($handle);