I am faced with a situation where my users must use two independent softwareapplications throughout the day: the first application (a phone) recordsaudio at 8kHz and the second application (an automatic transcriber) records audio at 16kHz. I am an engineer responsible for working on the transcriberapplication. My problem is that if my users launch the phone first, Windows initializes the sound system to a sampling rate of 8kHz. When the users subsequentlylaunch the transcriber, the transcriber requests 16kHz audio from the soundsystem. The sound system provides a 16kHz audio stream, but it is really 8kHz audio resampled by KMixer to 16kHz. This results in an unacceptable loss of audio quality. I need to find a way to programmatically detect this situation. Upon detection I would warn the user and provide problem resolution instructions. Something like "please launch transcriber first, phone second."
My suggestion would be to write a service that opens the audio input at 16kHz. This will always start before either application.
Of course the other solution is to migrate to Windows 7 (or Vista) where the hardware rate is set by the audio engine settings, not the first application to open the device.
Jeff ****************** WDMAUDIODEV addresses: Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx URL to WDMAUDIODEV page: http://www.wdmaudiodev.com/