Gamestudio Links
Zorro Links
Newest Posts
Purchase A8 full licence version
by ukgamer. 04/29/26 18:09
Z9 getting Error 058
by k_ivan. 04/25/26 19:13
ZorroGPT
by TipmyPip. 04/25/26 16:09
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 4,296 guests, and 26 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ukgamer, valino, juergenwue, VladMak, Geir
19210 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: time_step / fps_max / wait [Re: Superku] #372811
06/04/11 15:49
06/04/11 15:49
Joined: Mar 2007
Posts: 1,852
A
alpha_strike Offline OP
Serious User
alpha_strike  Offline OP
Serious User
A

Joined: Mar 2007
Posts: 1,852
RTFM... jetzt habe ich es mal mit sound_playing probiert

"0 wenn ein Sound mit diesem Handle nicht gespielt wird A7.82 andernfalls die gegenwärtige Play-Position innerhalb des Sound-Buffers in Bytes."

Aber ich bekomme bei einem Sound-File, der genau 440.468 bytes laut Windows als Größe hat - durch sound_playing immer verschiedene Werte raus. An was kann das liegen?
sndplay ist meine Lesevariable, die die bytes dann darstellt

var sndplay=0;
SOUND* ss_xx="s_tip_01.wav";
function sndss()
{var hand;
hand=snd_play(ss_xx,100,0);
while(1){if(snd_playing(hand)){sndplay=snd_playing(hand);} wait(1);}
}

Last edited by alpha_strike; 06/04/11 15:50.
Re: time_step / fps_max / wait [Re: alpha_strike] #372819
06/04/11 16:54
06/04/11 16:54
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
"andernfalls die gegenwärtige Play-Position innerhalb des Sound-Buffers"

Der wird nicht jedes mal gleich sein.

Re: time_step / fps_max / wait [Re: Rei_Ayanami] #372879
06/05/11 14:22
06/05/11 14:22
Joined: Mar 2007
Posts: 1,852
A
alpha_strike Offline OP
Serious User
alpha_strike  Offline OP
Serious User
A

Joined: Mar 2007
Posts: 1,852
Jups, das habe ich nach Nachlesen von technischen Internas auch kapiert.
Die Lösung von JCL kommt dann noch am zufriedenstellendsten hin.
Danke Euch.

Page 2 of 2 1 2

Moderated by  old_bill, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1