sid
2008-07-24 12:02:42 UTC
Hi
I am working on windows mobile application development using both
native C++ and embedded visual basic.
I was wondering if there is any way to set the microphone settings
like microphone gain, bass boost, trebble adjustment programmatically.
primarily i am interested in enabling/disabling microphone gain
settings and adjusting the manual gain to my desired figures of +3db,
+9db etc ..
I have read about the "mixerSetControlDetails" API. But it does not
give any straight-forward and convincing implementation routine for
setting the "microphone gain", whcih is basically what I am interested
in.
The documentation also says "The Real Time Communications automatic
gain control won’t work properly unless the driver (and hardware)
supports mixerSetControlDetails on the microphone input. Specifically,
the dwControlID field of the MIXERCONTROLDETAILS struct should be
equal to MIXERCONTROL_CONTROLTYPE_VOLUME."
Since I work on different PDA models (3 for now), is it really worth
putting in the effort to explore this API and its quite complex
structures in detail or there is some other work around for embedded
devices
Any advice will be of great help
Thanks
Sid
I am working on windows mobile application development using both
native C++ and embedded visual basic.
I was wondering if there is any way to set the microphone settings
like microphone gain, bass boost, trebble adjustment programmatically.
primarily i am interested in enabling/disabling microphone gain
settings and adjusting the manual gain to my desired figures of +3db,
+9db etc ..
I have read about the "mixerSetControlDetails" API. But it does not
give any straight-forward and convincing implementation routine for
setting the "microphone gain", whcih is basically what I am interested
in.
The documentation also says "The Real Time Communications automatic
gain control won’t work properly unless the driver (and hardware)
supports mixerSetControlDetails on the microphone input. Specifically,
the dwControlID field of the MIXERCONTROLDETAILS struct should be
equal to MIXERCONTROL_CONTROLTYPE_VOLUME."
Since I work on different PDA models (3 for now), is it really worth
putting in the effort to explore this API and its quite complex
structures in detail or there is some other work around for embedded
devices
Any advice will be of great help
Thanks
Sid