sound off how?

For all the help you need with Armagetron!
Post Reply
User avatar
[Xpert]DarkStar
On Lightcycle Grid
Posts: 37
Joined: Tue Jul 20, 2004 9:00 pm
Contact:

sound off how?

Post by [Xpert]DarkStar »

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.
User avatar
Lucifer
Project Developer
Posts: 8750
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

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
User avatar
[Xpert]DarkStar
On Lightcycle Grid
Posts: 37
Joined: Tue Jul 20, 2004 9:00 pm
Contact:

Post by [Xpert]DarkStar »

whoops totally forgout about that... i am running today's cvs on linux x86_64
User avatar
Lucifer
Project Developer
Posts: 8750
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

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
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

ElronMacBong wrote:whoops totally forgout about that... i am running today's cvs on linux x86_64
For a quick fix-- add a return at the top of void eWavData::LoadWavFile() in engine/sound/eChannel.cpp. No sound files will load.
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

Quicker fix: Unload your ALSA drivers.
User avatar
KamP
Round Winner
Posts: 266
Joined: Sun Oct 09, 2005 4:50 am
Location: Miami, Florida
Contact:

Post by KamP »

just mute your computer?
User avatar
Phytotron
Formerly Oscilloscope
Posts: 5042
Joined: Thu Jun 09, 2005 10:06 pm
Location: A site or situation, especially considered in regard to its surroundings.
Contact:

Post by Phytotron »

Heh. I like KamP's suggestion.
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

Lucifer wrote:what's in cvs doesn't support those config options well.
It will though, yeah?
Image
User avatar
Lucifer
Project Developer
Posts: 8750
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

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.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
Post Reply