[wdmaudiodev] Re: PortClass audio driver: device initiated change of audio device default format properties

  • From: "Matthew van Eerde" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "Matthew.van.Eerde" for DMARC)
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 18 Oct 2018 20:16:28 +0000

Yes.



And if the external sound device has a particular sample rate selected – say, 
44.1 – it is your audio driver’s job to tell Windows that it ONLY supports 44.1.



________________________________
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of noise@xxxxxxxx <noise@xxxxxxxx>
Sent: Thursday, October 18, 2018 1:14:24 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: PortClass audio driver: device initiated change of 
audio device default format properties

Thanks Matthew, I am having a look at this!

But wouldn't this only retrieve the entire set of formats my device supports?

Viele Grüße/Cheers,
Hagen.

On 18.10.2018, at 22:00, Matthew van Eerde (Redacted sender 
"Matthew.van.Eerde" for DMARC) <dmarc-noreply@xxxxxxxxxxxxx> wrote:

If your format support changes, raise a KSEVENT_PINCAPS_FORMATCHANGE event. 
Windows will invalidate all currently running streams and requery format 
support.

From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on 
behalf of noise@xxxxxxxx <noise@xxxxxxxx>
Sent: Thursday, October 18, 2018 12:01:29 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] PortClass audio driver: device initiated change of 
audio device default format properties

Hi,

I have an external sound device which - beneath others - can control the 
sample rate.
To support Windows audio we are using a portclass driver.
Is it possible to promote a sample rate change from the device switching our 
portclass drivers current "default" format? (at least when the device is 
streaming...?!)

Thanks, for any suggestion where to look!

Viele Grüße/Cheers,
Hagen.

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

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:
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wdmaudiodev.com%2F&amp;data=02%7C01%7Cmatthew.van.eerde%40microsoft.com%7Cf053d7ddb50a426c0a7808d635366031%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636754905043782641&amp;sdata=S1XHBmjLfqruU%2B5xTER7dl%2BwBOkIAyafFA1viSJZziI%3D&amp;reserved=0


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

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:
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.wdmaudiodev.com%2F&amp;data=02%7C01%7Cmatthew.van.eerde%40microsoft.com%7Cf053d7ddb50a426c0a7808d635366031%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636754905043782641&amp;sdata=S1XHBmjLfqruU%2B5xTER7dl%2BwBOkIAyafFA1viSJZziI%3D&amp;reserved=0

Other related posts: