In Vista, there are four different volume control methods for any one audio stream:
1. Stream Volume
2. Simple Volume
3. Channel Volume
4. Endpoint Volume
Because each One way is a gain stage, so each can be added to the audio input samples and produce the final audio output stream.
Each WASAPI instance in the diagram represents an audio stream that is combined in an audio synthesizer and "flows" to the audio driver. Stream volume, simple volume, and channel volume are all achieved by inserting an APO into a separate audio stream, while the endpoint volume is either added to the APO behind the synthesizer or processed with hardware volume control, depending on the user's audio resolution. The function of the program.
So what are the connections between these different audio controls?
First talk about the flow volume. Stream volume is a multi-channel volume that works for each audio stream, allowing the application to implement some relatively simple 3D effects (using multi-channel stream volume control to simulate a position change after an active ball is bounced) . You can let the app control the volume of an individual audio stream, but this is less demanding.
Next is the channel volume. The channel volume is the volume for the audio session and is used to control the volume of all audio streams throughout the session (if you remember the "big picture" post, it tells you that a session contains a lot of audio streams). The channel volume is due to the waveOutSetVolume API - since the waveform volume is multi-channel (stereo) volume, we have to simulate one in WASAPI. Again, this volume is rarely used - usually only when the system installation task (room correction) is run from the control panel, the channel volume is changed, so this setting affects all applications and not only Only for a specific application).
There is a simple volume. The simple volume is the volume of the pair of audio sessions and is used to control the volume of all audio streams throughout the session. It is a uniform volume that is applied to all channels on average. This is also the volume control method we want most applications to use - because it provides a simple way to control the volume and mute state of the application, which is sufficient for most applications. This volume is actually the volume slider for each application displayed in the Vista Sound Mixer.
Logically, you can apply the above three volumes together (but this is not true, they are actually applied at the same time) to create a final volume for each audio stream.
Finally, let's talk about the endpoint volume. As I mentioned before, the endpoint volume represents the master output output, which acts on the final synthesized audio stream and acts as a master volume control for a particular endpoint.
Vista Chinese display is determined by me We have been testing Windows Vista Beta1 for some time, an
ICBC U-Shield makes Vista blue screen. This is a problem that lasted for two years
Problem Description Part of the vista user reflects that when the mouse moves, there is often a win
Resource sharing and access has always been a problem that plagues our average users. Especially in
VISTA system can not preview the screensaver solution
Solve the problem that Huawei's campus network vista system can't access the Internet
How to run an incompatible old version of the software on Vista
The magic trick to copy files under Vista system
Analysis of Win Vista compatibility issues and incomplete resolution
How to avoid online activation and optional partitioning when installing Vista
How to completely solve the problem of Vista mad read hard disk
How to install Windows Vista system in RAID system
Solution for some VISTA patch failures failed.
Win8 fears repeating Vista: Metro interface is ugly and useless
Let Vista system only recognize the USB storage device you specify
What if the win7 system search function is not available?
Demystifying Windows 7 Cultivation
Teach you tips for quickly fixing MOEG video files
How to cancel the quick access function in win10 system?
Win8 tile IE is not open on the desktop
How does Win10 hide any program running interface?
What do the options in the XP System Start Menu mean?
Depth Technology Win7 Ultimate Virtual Memory Optimization Tips