Posted By
|
Message
|
»xerus
Registered 28/06/2002
Points 675
|
14th June, 2005 at 12:55:09 -
I was getting sick of samples being interrupted by other samples and other crazy stuff going on in my game, so I decided to go with the DirectSound Object. It was working great sound wise, but its lagging my game like crazy. In areas where I would get 50 frames per second constantly, it was dropping down to 30
Is this a common problem for the directsound object, or was I not doing something right?
For each sound I would load the file, then play it in a channel. I didnt think there was anymore to do than that... =/
n/a
|
Rox Flame Creative Talentician
Registered 06/10/2004
Points 383
|
14th June, 2005 at 14:29:24 -
If samples interrupting each other is the only problem then you can easily fix that by ticking the 'multi samples' box in the game setup. then you won't need direct sound object, it will simply play more than 1 sound at once.
Current project:
Dynabrick (%70)
|
»xerus
Registered 28/06/2002
Points 675
|
14th June, 2005 at 14:35:38 -
Using Multi-Samples doesnt always work. Sounds still get interrupted, or dont play at all.
n/a
|
Tigerworks Klik Legend
Registered 15/01/2002
Points 3882
|
14th June, 2005 at 19:54:27 -
Multi Samples can only play 8 sounds at once with the MMF engine. Directsound supports 128 sounds at once, and you can select some to be uninterruptable.
You need to enable "Auto reverb" in the setup box, otherwise the object memory leaks or something. I never figured out what the exact problem was and never managed to fix it... I ought to finish that damned Directsound 2 soon...
- Tigerworks
|
»xerus
Registered 28/06/2002
Points 675
|
14th June, 2005 at 21:25:30 -
I was hoping for a reply from you =D
If I enable reverb, it sounds way to weird. Can I turn it off in the event editor at start of frame or something?
n/a
|
Tigerworks Klik Legend
Registered 15/01/2002
Points 3882
|
16th June, 2005 at 12:28:34 -
Yeah Directsound 1 kind of sucks. I havent finished Directsound 2 yet but you can test it if you want, whats your email address?
- Tigerworks
|
|
|