In exclusive mode, a software peak meter always reports a peak value of 0.0. In exclusive mode, the client and the device exchange audio data directly, bypassing the software peak meter. If a device lacks a hardware peak meter, a client can use those methods to monitor the device's peak levels in shared mode, but not in exclusive mode. If a device has a hardware peak meter, a client can use the methods in the IAudioMeterInformation interface to monitor the device's peak levels in both shared mode and exclusive mode. If the audio device lacks a hardware peak meter, the audio engine automatically implements the peak meter in software, transparently to the client. If the adapter device that streams audio data to or from the endpoint device implements a hardware peak meter, the IAudioMeterInformation interface uses that meter to monitor the peak levels in the audio stream. The client obtains a reference to the IAudioMeterInformation interface on an endpoint object by calling the IMMDevice::Activate method with parameter iid set to REFIID IID_IAudioMeterInformation. The IAudioMeterInformation interface represents a peak meter on an audio stream to or from an audio endpoint device.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |