Victor STINNER wrote:
Le mar 28/09/2004 à 11:08, Matthieu Fertré a écrit :
I also corrected Jukebox::PlayItem : session arg wasn't correctly
copied
Sorry, I hadn't understand what you want to do with session in argument,
I never use it...
With this, I changed character step sound : it play only if it
wasn't playing.
Method is_playing does not work (at least with "stable" version of
clanlib...), it always return false...
Are you sure that is_playing() doesn't work ? I used it for commit
suicid weapon. And seems to work with step sound. But is_playing, stop,
play, set_loop, etc. only works with CL_SoundBuffer_Session. That's why
I'm using session.
I'm not sure for CL_SoundBuffer_Session. As you have probably seen I
have introduced session in sound_item, because lot of methods on
CL_SoundBuffer don't work at all ! I have probably try is_playing() on
CL_SoundBuffer, so it should be work on CL_SoundBuffer_Session...
When i say i never use session, i want to say i never pass the session
argument on jukebox.PlayXXX(), I use the default arg which is null...
Bye, Haypo
_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev