• Advertisement
Sign in to follow this  

a problem with DirectSound

This topic is 3640 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello guys, I am a newer to DirectSound techs. And I want to know that can I set the system audio setting (playback or recording) with DirectSound APIs??? For example, the microphone boost property, the master volumn property... Does DirectSound do these???? Because I want to let the user to set the microphone boost in a app. Thanks a lot! Hope for reply!

Share this post


Link to post
Share on other sites
Advertisement
As far as I know, DirectSound doesn't let you change settings like that. The only exception is the speaker configuration (Because that can directly affect how you process audio). Any other settings will need set via the registry or Win32 API if there are functions for it there.

Share this post


Link to post
Share on other sites
I use a .net open souce component which encapsulates Windows Mixer API to config the playback/recording property, and I can get set the Recording->Microphone->Microphone Boost property successfully in Windows XP and Windows Server 2003, but not in Windows Vista!!!! It seems that there is some kind of change for the audio subsystem in Vista, for example, each app has its own volumn control.. So I want to see if I can use DirectSound to config the microphone boost in the common Windows operating system now(Windows XP, Windows Server 2003, Windows Vista)...

Share this post


Link to post
Share on other sites
Are you running with Admistrator privileges on Vista? Sounds like virtualisation going on...

Share this post


Link to post
Share on other sites
You can work round it by running your app in XP compatibility mode. See http://blogs.msdn.com/larryosterman/archive/2007/03/07/how-does-my-existing-app-change-the-master-volume-on-vista.aspx

Alternatively you'll need to use the Vista specific API - see http://blogs.msdn.com/larryosterman/archive/2007/03/06/how-do-i-change-the-master-volume-in-windows-vista.aspx

Share this post


Link to post
Share on other sites
Thank you all of you..
I think I get what I need. At least, I know that with DirectSound, I can not set the microphone boost.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement