snd_create

Posted By: flits

snd_create - 08/18/09 10:57

i updated my gs version and now snd_create doesnt work anymore

this is a part of the code

SOUND* snd_to_play;

...
snd_to_play = snd_create("Gitaar_Muziek.ogg");
shandle = snd_play(snd_to_play, 100,0);

the sound file is located inside the work folder
and it have been working the last time
Posted By: Espér

Re: snd_create - 08/18/09 12:17

i dunno what manual you read..

but...
Code:
SOUND* snd_to_play = snd_create("Gitaar_Muziek.ogg");
[...]
snd_play(snd_to_play, 100,0);


Should do it... (tested)
Posted By: flits

Re: snd_create - 08/18/09 14:54

doesnt work either

this does work but the sound doesnt seem to be created by snd_create

Code:
SOUND* snd_to_play = "Gitaar_Muziek.ogg";

//snd_to_play = snd_create("Gitaar_Muziek.ogg");
shandle = snd_play(snd_to_play, 100,0);


Posted By: Rei_Ayanami

Re: snd_create - 08/18/09 15:01

mayby because of the double ";;"?
Posted By: flits

Re: snd_create - 08/18/09 15:02

ow soory i just did a wrong copie but its not the problem

thx anyway
© 2024 lite-C Forums