How to use IAudioEndpoint and connect it to Audio Engine?

mkckr0 0 Reputation points
2024-03-18T13:33:22.4633333+00:00

I want to create a new audio endpoint in user mode. So the audio player can work normally without a physical sound card. I find the API https://learn.microsoft.com/en-us/windows/win32/termserv/terminal-services-audioendpoint-api-reference.

As the doc says:

An audio endpoint represents an audio device, audio API, or any other audio source or sink, and is used to send data to or consume data from the audio engine. An audio endpoint must be connected to the audio engine through a connection, and each connection can have only one endpoint connected to it. After an endpoint is registered, the audio engine attaches the endpoint to the connection.

I don't know how to use the IAudioEndpoint and connect it to audio engine.

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,416 questions
{count} votes