It looks this will work -> not implemented yet, but have read the stuff about it in DDK and it's just what the doctor ordered. :) Thanks I really appreciate it. Peace Waldemar SK> You have to to define a second pin in your MIDI filter that supports SK> KSDATAFORMAT_SUBTYPE_DIRECTMUSIC. Look at the dmusuart sample in WinDDK. SK> That sample is not AVStream based but you need to build an identical SK> filter factory. SK> Then in your pin's DispatchCreate handler, check SK> Pin->ConnectionFormat->SubFormat to see if you've been opened as SK> KSDATAFORMAT_SUBTYPE_MIDI or KSDATAFORMAT_SUBTYPE_DIRECTMUSIC. SK> Depending on the format, the buffers you send/receive in the stream SK> pointer have a different format: KSMUSICFORMAT for MIDI and SK> DMUS_EVENTHEADER for DIRECTMUSIC. SK> - Stephan SK> Waldemar Haszlakiewicz wrote: >> Hi there >> >> Can somebody tell what needs to be done to support MIDI DirectX driver in >> Avstream driver directly? >> >> I've set the second KSDATARANGE for directX as stated, but still the >> Pin_SetDeviceState_Midi >> receives just the MME KSDATARANGE. >> >> Do I need to set some extra registry values or something? >> >> Peace >> Waldemar >> >> >> ****************** >> >> 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.de/ >> SK> ****************** SK> WDMAUDIODEV addresses: SK> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx SK> Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe SK> Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe SK> Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx SK> URL to WDMAUDIODEV page: SK> http://www.wdmaudiodev.de/ ****************** 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.de/