[wdmaudiodev] Re: setting sample rate in the control panel in Vista

  • From: Eugene Gavrilov <egavrilov@xxxxxxxxxxxxx>
  • To: Hakon Strande <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 1 Nov 2007 19:09:15 +0300

Hakon,

> If the device is disconnected and reconnected it is not expected that
> the system retains the sample rate setting for this device especially if
> the device now on re-connect exposes different format support that does
> not contain the original format supported on the first connect.

Yes,  I  guess  so. However, this happens with our driver. Do you need
any  additional  information?  I guess the issue can be related to the
data format used by our driver: 24-bit audio in 32-bit containers.
(Bits per sample: 32; Valid bits per sample: 24)

> If this is a USB Audio device can you try connecting it to ANOTHER USB
> port (that the device has never been connected to before) and report the
> behavior?

The  same  thing  happens.  I  connect the device, install the driver.
Check   audio   playback. There's single option in the Windows control
panel (24 bit + sample rate + 'Studio quality'). Selection is disabled.
I  disconnect   the   device.   Change  sample  rate. Re-connect   the
device.   Our  custom  control panel shows new sample rate  (retrieved
directly  from  the device), driver KS topology only manifests single data
range with the new sample rate, Windows  control  panel still displays old
format  and  allows to choose  between  old  and new. 'Studio quality'
is only shown near the new sample  rate.
When  the  control  panel  is opened, the driver gets a
lot  of  Intersection  requests  with  all sample rates, 8, 16, 24 bit
depths,  but no 32 bits. If I try to playback audio, the driver gets a
lot  of requests to create KS Pin with old format (wrong sample rate),
these requests fail.  If  I  change the format, close and re-open the
control  panel,  it displays single format (correct one), selection is
disabled, audio playback is OK.

Regards,
 Eugene Gavrilov
 Senior Software Engineer,
 CEntrance, 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: