Hi All,

after discussion with Joe we have decided to tackle this issue by not using the new input resampler on Windows Vista since Windows Vista seems broken at 48kHz nd delivers a distorted audio input stream. Instead on Vista we now request a 12kHz stream and process it directly.

Rather than a hard compile time decision, I have implemented a default that can be overridden if desired. This will allow easy testing if a Vista fix is discovered. Also it allows us to compare our resampling process with that of Windows and hardware CODECs relatively easily.

Note that the settings parameter described below need only be used if the fix needs to be overridden.

$ svn log -r 3588
------------------------------------------------------------------------
r3588 | bsomervi | 2013-10-04 20:00:29 +0100 (Fri, 04 Oct 2013) | 21 lines

Fix audio input rate issue on Windows Vista

Windows Vista has a broken rate converter which gets invoked when an
input audio stream at 48kHz sampel rate is requested. I've no idea why
our application can't get exclusive access to the audio input device
and have a unconverted stream direct at 48kHz.

To get around this our down sampling filter for audio input from 48kHz
to 12kHz is disaabled by default on Windows Vista, instead we request
a 12kHz stream and process it directly.

This default behviour can be overriden by specifying the following
settings value:

[Tune]
Audio\DisableInputResampling=false

This settings value defaults to true on Windows Vista and false
everywhere else so normally needn't be present.


------------------------------------------------------------------------

73
Bill
G4WJS.
_______________________________________________
Wsjt-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/wsjt-devel

Reply via email to