I want to control microphone gain in my application, however, in wave library there in no such thing as waveInSetVolume.
It looks like I need to learn how to use “mixer” API's.
Is “mixer” API the only way to accomplish this in Windows?
Mixer API seems pretty complex and I do not want to waste time on it to find out it is not the best API to use to control audio input gain.
Any constructive suggestions will be as always appreciated.
do the other API's / frameworks use same goofy terminology to define input device and selected output device? I am having a heck of a time understanding "mixer" "line" terminology and the way "ends" of such line are identified.
Seems like lots of unnecessary work.
I have also "discovered " that device ID in wave and in "mixer" are opposite.
I have two (so far) and they are exactly opposite to identify.
I bet one of them was developed on Northern hemisphere and the other on Southern!
You can try to link with the static libraries of MFC, ATL and the C runtime time.
By default it links to the dynamic libraries.
Go to Project -> Properties -> Configuration Properties -> General.
If you're using MFC, change Use of MFC from Use MFC in a Shared DLL to Use MFC in a Static Library.
If you're using ATL, change Use of ATL from Dynamic Link to ATL to Static Link to ATL.
Finally go to Project -> Properties -> Configuration Properties -> C/C++ -> Code Generation -> Runtime Library.
Change /MDd to /MTd (Debug mode) or /MD to /MT (Release mode).
«_Superman_» I love work. It gives me something to do between weekends.
I am opening my VC++6.0 application in VS2008 and getting the above error. what setting needs to be done for this to port this application in VS2008.
Also if I am porting this application to VS2008, will it work in Visual Studio Pro 2010?
Take a look at the options offered. In my system I have the following options:
Multi-threaded : a static library that supports threading
Multi-threaded Debug : as above, that includes debug information
Multi-threaded DLL : a dynamic library that supports threading
Multi-threaded Debug DLL : as above, that includes debug information
These are versions of the C/C++ basic runtime libraries, and are purely to support the language. You add extra libraries to your project to support Win32 and MFC/ATL as required. Note that most required libraries are added to your project when it is created by the New Project wizard in Visual Studio.
I am C++/MFC devloper. I have been working with dll/com/mfc from few years now, but I always have confusion, what is exact diffrence in Static,Dynamic,Shared library. Moreover when I use shared library it creates lib file and then I link with lib file to reuse source code.
My assumption about 'lib vs dll' was like '.h vs .cpp'. Is my assumption correct?
Wherever I work with multiple project I got huge number of linker errors.
Last Visit: 31-Dec-99 19:00 Last Update: 5-Mar-24 2:02