2 registered members (dr_panther, Quad),
903
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: [SOUND] balance problem
[Re: darkinferno]
#395605
02/25/12 14:00
02/25/12 14:00
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
Expert
Joined: Jan 2002
Posts: 4,225
Germany / Essen
|
From my point of view youre not missing a thing. snd_tune seems to be broken. Here is a small compileable example that demonstrates the issue:
#include <acknex.h>
void main()
{
SOUND* snd = snd_create("#1");
fixed handle = snd_loop(snd,100,0);
while (1)
{
fixed balance = cosv(total_ticks * 10) * 99;
snd_tune(handle,100,100,balance);
DEBUG_VAR(handle,0);
DEBUG_VAR(balance,50);
wait(1);
}
}
Keep in mind you can only use mono sounds. Stereo sounds are not yet supported. Wanna post in the bugs forum? Or shall I? I have the current beta installed. I can also post in the beta forum.
Always learn from history, to be sure you make the same mistakes again...
|
|
|
|