You can write an .inf that wraps wdma_usb.inf but specifies
PKEY_AudioEngine_OEMFormat to favor 8 kHz 16 bit.
But why do you want to favor 8 kHz if the device supports 48 kHz?
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on
behalf of Akshaykeerti Sharma <asharma@xxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, November 8, 2017 3:52:19 PM
Subject: [wdmaudiodev] Change default sample rate windows
I was wondering if there is a way to change the default sample rate on a
USB-audio peripheral on windows?
As for the current moment my new device enumerates at 48KHz/16bit. I would
prefer it to enumerate at 8KHz/16bit. The USB device supports both the sample
rates and it works fine when it is manually changed to 8KHz/16bit. I tried to
debug the device but it seems that I never get the "Get_cur" request for the
sampling rate when enumeration happens.. "Set_cur" works fine when I manually
change the sample rate and it sends the right request so I can manipulate the
firmware to go into 8KHz/48KHz mode.
Also, where does it get the "Restore Defaults" from. When I click it, the
system goes back to 48KHz/16bit.
Thanks for the help!