GET_SOUND issues.

GET_SOUND issues.

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

GET_SOUND issues.

Post by Argh »

Erm, was the number of custom sounds that can be invoked via COB via GET PLAY_SOUND capped at 32 for any really compelling performance reasons, or could it be raised? I'm already using over 32, just tested, discovered that over 32 sounds, it doesn't find them, no errors or anything. Kind've hard to deliver the whole "private sound" thing if I can't use very many sounds, 32 isn't that many, when we're talking about engine noises, random mechanical sounds, etc...

Ach, I'm using a SVN build. Lemme update to the latest and re-test.

Nevermind, whatever this is, it's something I borked somewhere, building the latest library of sound. Ah well.
Last edited by Argh on 21 Jan 2008, 11:04, edited 1 time in total.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Custom Sound is limited to 32.

Post by Argh »

Oh, the problem's not so nice, after all. I'm not getting any error messages, indicating that the sound wasn't being read, it just refuses to play.

Hmm. This all started after I added a host of new sounds, which work when being played as explosions, and seem to work when called outside COB. Moreover, the stuff that's defined before in the very lengthy include seems to be working. Strange.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Custom Sound is limited to 32.

Post by Argh »

Mmk. Well, now I've gotten it down to the sound library, which I've checked, and re-checked, for errors, or GET PLAY_SOUND itself. I need some sleep though :P
Post Reply

Return to “Engine”