Solved

How can I get the sound driver filename ?

Posted on 1999-01-12
3
207 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 100 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Implementing a ResolveEventHandler in C++ 13 131
C Language combined operators 28 109
getting a fire fox page (view page source ) in c++ 6 42
Compile GLUT with Visual Studio 2015 1 143
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

785 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