Here is some more information on this bug. I compared calls that driver sees on Windows 7 and Window 8 (Both 64 bit). In following explanation it is assumed that sample rate is changed from 48 kHz to 44.1 kHz. Behavior on Windows 7: - As soon as driver calls GenerateEventList with KSEVENT_PINCAPS_FORMATCHANGE, OS sends KSPROPERTY_PIN_PROPOSEDATAFORMAT with SET request on 48 kHz. Driver returns STATUS_NO_MATCH on this query. - Then OS sends KSPROPERTY_PIN_PROPOSEDATAFORMAT GET request followed by a SET request with 44.1 kHz. Behavior on Windows 8: - As soon as driver calls GenerateEventList with KSEVENT_PINCAPS_FORMATCHANGE, OS sends KSPROPERTY_PIN_PROPOSEDATAFORMAT with SET request on 48 kHz. Driver returns STATUS_NO_MATCH on this query. So here OS does not send GET request upon receiving a failure code. Moreover if I try to open device properties in Sound and Audio CPL and then open "Advance" tab, here is what I see: - OS sends KSPROPERTY_PIN_PROPOSEDATAFORMAT with SET request on 48 kHz. Driver returns STATUS_NO_MATCH on this query. This happens 4 times. - Then OS sends KSPROPERTY_PIN_PROPOSEDATAFORMAT with GET request followed by a NewStream Call with 44.1 kHz (sample rate supported by device) - Then OS enumerates all formats. Driver returns STATUS_SUCCESS only on 44.1 kHZ otherwise it returns STATUS_NO_MATCH. - Still OS shows 48 kHz on the list. So basically driver is working fine with Windows 7 but not with Windows 8. Is there anything that I am missing here? cheers, Neetu On Mon, Oct 1, 2012 at 5:21 PM, Neetu Sand <neetu.freelist@xxxxxxxxx> wrote: > Edit: Driver returns STATUS_NO_MATCH for 44.1 formats. > > > On Mon, Oct 1, 2012 at 2:46 PM, Neetu Sand <neetu.freelist@xxxxxxxxx>wrote: > >> Yes, I get calls to proposed format handler and driver returns >> STATUS_NO_MATCH. >> >> One more thing is that if I open sound and Audio CPL and change default >> entry from 44.1 kHz to 96 kHz and restart Sound CPL, the 44.1 kHz entry >> disappears. >> >> >> On Fri, Sep 28, 2012 at 9:36 PM, Matthew van Eerde < >> Matthew.van.Eerde@xxxxxxxxxxxxx> wrote: >> >>> After you raise the “format change” event, Windows should requery your >>> format support via the proposed format handler and your data intersection >>> handler. If you fail all requests for 44.1 formats in your data >>> intersection handler, then that should not appear in the list of supported >>> formats in the Sound control panel.**** >>> >>> ** ** >>> >>> Can you confirm that you’re seeing calls to your data intersection >>> handler and proposed format handler shortly after you raise the event?** >>> ** >>> >>> ** ** >>> >>> *From:* wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto: >>> wdmaudiodev-bounce@xxxxxxxxxxxxx] *On Behalf Of *Neetu Sand >>> *Sent:* Thursday, September 27, 2012 9:42 AM >>> *To:* wdmaudiodev@xxxxxxxxxxxxx >>> *Subject:* [wdmaudiodev] Re: KSEVENT_PINCAPS_FORMATCHANGE - bug in win8 >>> control panel?**** >>> >>> ** ** >>> >>> Say if I change from 44.1 kHz to 96 kHz then Sound and Audio CPL should >>> show all formats related to 96 kHz. >>> >>> In Windows 8, it shows all formats (different bit depths) related to 96 >>> kHz as well it shows one entry for 44.1 kHz. This entry (44.1 kHz) is >>> selected as default entry. >>> >>> Yes, driver is exposing preferred format in >>> "PropertyHandlerProposedFormat" GET request.**** >>> >>> On Thu, Sep 27, 2012 at 9:21 PM, Matthew van Eerde < >>> Matthew.van.Eerde@xxxxxxxxxxxxx> wrote:**** >>> >>> What were the old and new lists? What was the previously selected >>> format?**** >>> >>> **** >>> >>> Do you expose a “preferred” format?**** >>> >>> **** >>> >>> *From:* wdmaudiodev-bounce@xxxxxxxxxxxxx [mailto: >>> wdmaudiodev-bounce@xxxxxxxxxxxxx] *On Behalf Of *Neetu Sand >>> *Sent:* Thursday, September 27, 2012 4:01 AM >>> *To:* wdmaudiodev@xxxxxxxxxxxxx >>> *Subject:* [wdmaudiodev] KSEVENT_PINCAPS_FORMATCHANGE - bug in win8 >>> control panel?**** >>> >>> **** >>> >>> Hi All, >>> >>> We have a driver that supports dynamic format changes on windows 7. I >>> tried same driver on windows 8 and here is what I have observed: >>> >>> - When I change sample rate, Sound and audio control panel correctly >>> updates the sample rate list to reflect the formats related to new sample >>> rate. >>> - The default selected sample rate is set to previous/last selected >>> sample rate. >>> - When I try to play something in media player after changing sample >>> rate, Sound and Audio CPL uses old sample rate. >>> >>> Is this a bug in Windows 8 or has anything changed on windows 8?? >>> >>> cheers >>> Neetu**** >>> >>> ** ** >>> >> >> >