![]() Sndvol modifies only the master volume levels of sessions. Instead, they rely on users to set these volume levels through the Sndvol program. Typical audio applications do not modify the volume levels of sessions. The effective volume level is also a value in the range 0.0 to 1.0. The policy-based volume level of the session, which the system dynamically assigns to the session as the global mix changes.Įach of the four volume-level factors in the preceding list is a value in the range 0.0 to 1.0, where 0.0 indicates silence and 1.0 indicates full volume (no attenuation). ![]() The per-channel volume level of the session, which clients can control through the methods in the IChannelAudioVolume interface.The master volume level of the session, which clients can control through the methods in the ISimpleAudioVolume interface.The per-channel volume levels of the streams in the session, which clients can control through the methods in the IAudioStreamVolume interface.The effective volume level of any channel in the session submix, as heard at the speakers, is the product of the following four volume-level factors: Instead, the client calls the IAudioSessionManager::GetSimpleAudioVolume method with the session GUID. ![]() ![]() The client obtains a reference to the ISimpleAudioVolume interface on a stream object by calling the IAudioClient::GetService method with parameter riid set to REFIID IID_ISimpleAudioVolume.Īlternatively, a client can obtain the ISimpleAudioVolume interface of an existing session without having to first create a stream object and add the stream to the session. The IAudioClient::Initialize method initializes a stream object and assigns the stream to an audio session. The ISimpleAudioVolume interface enables a client to control the master volume level of an audio session. ![]()
0 Comments
Leave a Reply. |