How to output sound from the program to Realtek High Defination Audio, and to a certain port?

There are two audio outputs: analog and digital (i.e., on the system unit). How to output sound only to a specific port. Maybe there is an API? Where to find it?

    1 answer 1

    High Definition Audio is a standard for bus codecs (formerly ACLink). Directly communicate with the codec on the bus can be from the device driver, but not from the Delphi application. Accordingly, either a user driver is written, which sits on the codec and somehow communicates with it in a special way, or uses the system driver and the system API, etc.

    What does Windows provide? This is an audio API . The API allows you to number the exit points for work (endpoint), for example, the dynamics and select the desired ones. It is likely that it is possible to choose the desired output.