[wdmaudiodev] Re: Change default sound format with an inf File in Win7

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 19 Feb 2010 09:51:34 -0800

Ueli Giger wrote:
>
> My goal is to change the default format of a USB soundcard by the
> installation over the inf file.
> I work with an USB Audio Codec from TI (PCM2904) and for our application
> we need  the default format Stereo, 16 Bit, 44100 Hz.

Why don't you just change the descriptors in your device to make that
the only available format?  You can even do that in a lower filter driver.

What's the point of this change?  If you're offering other formats, why
do you not want people to use them?


> The soundcard installs standardly the standard usb audio device driver
> with the wdma_usb.inf.
> My idea was now to modify the wdma_usb.inf according to these two
> discussions to change the default format:

Never, never, never change one of the system's standard INF files.  I'm
surprised someone even has to point that out to you.

It is possible to use a custom INF file for a USBAudio device, but it's
pain to do so.  Users must pre-install your driver before plugging in
the device, otherwise the standard USBAudio driver will claim it.


> //www.freelists.org/post/wdmaudiodev/sample-rate-control-on-Vista,18
> //www.freelists.org/post/wdmaudiodev/USB-audio-changes-in-Vista,7

You're aware this solution is only for Vista and newer, right?

-- 
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

******************

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/

Other related posts: