?
Solved

How can I get the sound driver filename ?

Posted on 1999-01-12
3
Medium Priority
?
217 Views
Last Modified: 2012-05-04
Hi,
I would like to find out the currently used sound driver "filename" on my machine. On windows 95, you can go to System Properties > Device Manager > Sound, video and game controllers > properties > Driver to get the information. I assume that I can get to the same information from my C++ program, can I ?
0
Comment
Question by:tolga
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 300 total points
ID: 1181966
You can find it on Win95 by examining the entries in 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\MediaResources'. There are subkeys for wave and midi and several other media types, which all have subkeys for the drivers associated with them...
0
 

Author Comment

by:tolga
ID: 1181967
Thanks, I tried the same path on Windows NT, all I found was Midi, mci and NonGeneralMIDIDriverList. I wonder if I can find the Wave driver name on NT.
0
 
LVL 86

Expert Comment

by:jkr
ID: 1181968
I'm sorry i can't help - i'm currently sitting at a NT4 box, but with no sound card installed :-(
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question