In case anyone was thinking, the format being played isn't in a DATA INTERCEPT or DAtaRange return values either. I can see the value being played on the stack when the function KsCreatePin is called, but I dont know how to get to that structure unless I walk the stack. It must be provided somehow / somewhere on the IRP_MJ_Create.
Does any one know of the documentation of IRP_MJ_Create when it comes to audio stuff like creating pins?
Cheers. On 9/11/2009 4:05 PM, NCH Obble Smith wrote:
Hi guys,Does anyone know how to intercept the default format of a audio device in an upper filter when Hardware acceleration (DX Sound) is on?I found it in the create event in (Irp->UserIosb->Information + 2) and look down you will see the waveformatex structure but this isn't the case on another audio card.Does anyone have any tips? Cheers Obble. ****************** WDMAUDIODEV addresses: Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribeUnsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribeModerator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx URL to WDMAUDIODEV page: http://www.wdmaudiodev.com/
****************** 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/