Habs mal mit der im source-Ordner liegenden goal.ogg probiert, so
funktionierts, zu mindest bei mir:
var ton1_handle_n;
SOUND* ton1 = "goal.ogg";
function tastenton1()
{
while(1)
{
while(snd_playing(ton1_handle_n)) { wait(1); }
ton1_handle = snd_play(ton1, 100, 0);
if(!key_t){ snd_stop(ton1_handle_n; )}
wait(1);
}
}
und z.B. in der main:
on_t = tastenton1;
Hoffe ich konnte helfen.
Last edited by jane; 03/10/10 00:01.