Change Request: Only use SW volume control
Ralf Engels <[email protected]>
| Newsgroups | gmane.comp.audio.zinf.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, please write your comments to the following change request. The HW (sound driver) volume control should not be used. Instead only the SW should deliver a volume (and balance) modified stream to the sound card. Benefits: 1. Using the Soundcard volume control changes the volume of all sounds which is 1.1 bad because e.g. system sounds are changed in the volume 1.2 not understandable for the user. Why does the player volume change the system sounds volume? 1.3 doublicates a system functionality. There is already an overall volume control. 2. Simplifies SW design This simplifies the interface to the sound driver. No longer are get and setVolume functions needed. 3. The current set volume functionality is buggy anyway and will never work correctly 3.1 getVolume is called before Init in the sound driver. If you don't belive me test it!!! 3.2 In some cases (e.g. alsa diver) this functionality can never be implemented correctly. The number of channels can change with every song, so what channels do we set for Alsa driver? 4. Implementation of ID3V2 tags will need a constant change in volume The ID3v2 tags define special tags to modify the played volume and other parameters. If we want to support this tag the volume would change for every song. Risks: No. The functionality is already there. Efford: Hard-code the SW volume control functionality. Remove setVolume and getVolume from the output drivers. BR, Ralf (Maybe I work to much. In the end I will send you actions points with Notes and organize telephon conferences.... :) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01