Can app use AUDCLNT_SHAREMODE_SHARED for audio capture on virtual machine?

hhh 21 Reputation points
2022-11-23T08:02:22.727+00:00

I use AUDCLNT_SHAREMODE_SHARED in IAudioClient::Initialize on virtual machine, but I get error AUDCLNT_E_BUFFER_ERROR when I run the audio capture thread. I don't know if the sharemode is the reason that caused the error. Thanks for helping!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,517 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,510 questions
{count} votes