Solved

How can I get the sound driver filename ?

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
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 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.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now