Bug 3757 - bits of music will always be heard at start
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Sound
Version: GIT MASTER
Hardware: All All
: P3 trivial
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2008-08-19 23:48 EDT by /dev/humancontroller
Modified: 2009-09-14 20:53:28 EDT
1 user (show)

See Also:


Attachments
strictly use s_musicVolume (944 bytes, patch)
2008-08-19 23:54 EDT, /dev/humancontroller

Description /dev/humancontroller 2008-08-19 23:48:53 EDT
In games like Tremulous the main menu has a music in the background. Hearing it every time gets annoying, so people shut it up by setting s_musicvolume to 0. Yet when launching the game, a bit of music can still be heard. This happens with the base sound system only.
Comment 1 /dev/humancontroller 2008-08-19 23:54:51 EDT
Created attachment 1835 [details]
strictly use s_musicVolume

I gather the music is pre-amplified by the volume for a short time (to fill a large buffer), which makes the volume transitioning with the use of static variables ineffective.
Comment 2 Ryan C. Gordon 2009-09-14 20:53:28 EDT
Fixed in svn revision #1603.

--ryan.