lo folks
i've got this problem with the sound: i want to turn it off and set sound quality to off to get it silent, but i would still hear sound as usual.
i also have the problem that the sound is a bit delayed, but that may also be just me.
sound off how?
- [Xpert]DarkStar
- On Lightcycle Grid
- Posts: 37
- Joined: Tue Jul 20, 2004 9:00 pm
- Contact:
What version are you running?
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
- [Xpert]DarkStar
- On Lightcycle Grid
- Posts: 37
- Joined: Tue Jul 20, 2004 9:00 pm
- Contact:
I'll gladly take a patch.
Otherwise, I'm currently rewriting the sound engine anyway, and what's in cvs doesn't support those config options well.

Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6712
- Joined: Thu Dec 18, 2003 7:03 pm
Yeah, eventually. At least turning it off. 
Um, I'm kinda torn on some of them, though, and it looks like SDL just kinda wimps out. So when I go to reimplement stuff with OpenAL and other libraries (libsample or whatever it's called), the question's going to come up. "Is it worthwhile to resample when someone wants lower quality sound?" Presumably, someone chooses lower quality sound to improve performance. Sound effects by default will be 22khz, so they'll have to be resampled to play at 44.1khz with custom playlists. That's not a big deal, when you want higher quality sound, you have to be willing to pay for it in performance (and the resampling library we'll probably use is really freaking fast).
In any case, OpenAL wants the sound in the final format you're sending it to the sound card, doesn't resample for us. It will throw doppler shift and some other effects on there for us, which is neat (and what got me working on it), but it still expects samples in raw format for the sound card. Obviously we'll resample on load for sound effects, resampling is only an issue for music since that has to be done on the fly.
Anyway, yeah, somewhere in my plan is to have separate mixer controls available for sound effects and music, possibly a panel where you can set individual levels for sound effects. And mute/disable one or the other or both.

Um, I'm kinda torn on some of them, though, and it looks like SDL just kinda wimps out. So when I go to reimplement stuff with OpenAL and other libraries (libsample or whatever it's called), the question's going to come up. "Is it worthwhile to resample when someone wants lower quality sound?" Presumably, someone chooses lower quality sound to improve performance. Sound effects by default will be 22khz, so they'll have to be resampled to play at 44.1khz with custom playlists. That's not a big deal, when you want higher quality sound, you have to be willing to pay for it in performance (and the resampling library we'll probably use is really freaking fast).
In any case, OpenAL wants the sound in the final format you're sending it to the sound card, doesn't resample for us. It will throw doppler shift and some other effects on there for us, which is neat (and what got me working on it), but it still expects samples in raw format for the sound card. Obviously we'll resample on load for sound effects, resampling is only an issue for music since that has to be done on the fly.
Anyway, yeah, somewhere in my plan is to have separate mixer controls available for sound effects and music, possibly a panel where you can set individual levels for sound effects. And mute/disable one or the other or both.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden