简体   繁体   中英

Get audio recording volume (UWP)

I'm recording audio using LowLagMediaRecording . I want to check the volume in real time. Is there any way of doing that? Or an alternative way of recording that does allow me to check the volume?

I've checked both the LowLagMediaRecording and MediaCapture classes but can't find anything.

You should look into WASAPI and APIs like ActivateAudioInterfaceAsync , IAudioClient and IAudioCaptureClient . You might need a C++/CX or C++/WinRT component to enable these unless there's a pre-wrapped WinRT version of these you'd rather use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM