Nick Randell
Nick Randell

Reputation: 18295

What APIs exist to configure the speaker setup using C# in Windows?

I've looked around many different places, but can't seem to find a straighforward way of doing this.

I have a number of sound cards in Windows 7 and output sound to my AVR amp using HDMI. The problem I have is that when the amp switches off, it causes windows to lose the speaker configuration.

So what I want to do is write a small utility that will reconfigure the speakers to be 5.1 surround sound. I'm sure there is a way to do it, but I've no idea where to start as there seem to be many different types of API.

Upvotes: 6

Views: 1083

Answers (1)

Roman Starkov
Roman Starkov

Reputation: 61382

I believe nowadays these things are controlled via Windows Core Audio - one of the major new features of Windows Vista that nobody notices because it's almost entirely under the hood.

There is a .NET wrapper that claims to be stable: http://netcoreaudio.codeplex.com/

Upvotes: 2

Related Questions