Hi I am not sure but I believe the filed ReferenceGuid in KSFLTER_DESCRIPTOR
should not be NULL. Please reference to
https://msdn.microsoft.com/en-us/library/windows/hardware/ff562553(v=vs.85).aspx
. You also need to describe it in your INF file.
BR,Tzung-Dar Tsai
寄件者: 若水 <shlikewater@xxxxxxxxx>
收件者: wdmaudiodev@xxxxxxxxxxxxx
寄件日期: 2016/8/12 (週五) 5:46 PM
主旨: [wdmaudiodev] Re: avstream audio-only streaming
Dear Tzung-Dar Tsai:Thank you for your help. I attached filter descriptor of my
driver. Could you help us to check it? Thanks.
constGUIDCaptureFilterCategories[CAPTUREFILTERCATEGORIESCOUNT] = {
STATIC_KSCATEGORY_AUDIO, STATIC_KSCATEGORY_RENDER, STATIC_KSCATEGORY_CAPTURE };
const
KSFILTER_DESCRIPTOR CaptureFilterDescriptor = { &CaptureFilterDispatch,
//Dispatch Table NULL, //Automation Table KSFILTER_DESCRIPTOR_VERSION,
//SABINEASIOAUDIOVERION, //Version 0,
//KSFILTER_FLAG_DISPATCH_LEVEL_PROCESSING, //Flags NULL, //&KSNAME_Filter,
//Reference GUID DEFINE_KSFILTER_PIN_DESCRIPTORS(CapturePinDescriptor), //Pin
Descriptor DEFINE_KSFILTER_CATEGORIES(CaptureFilterCategories), //Pin
Categories DEFINE_KSFILTER_NODE_DESCRIPTORS_NULL, //Node Descriptor
DEFINE_KSFILTER_DEFAULT_CONNECTIONS, //Connection NULL //Component ID};
2016-08-12 17:37 GMT+08:00 Tsai Tzung-Dar <dmarc-noreply@xxxxxxxxxxxxx>:
Hi With out source code I do not know how to help you. Because in you describe
I think your driver is not register as an audio driver. Otherwise you should
can enum Audio Capture source filter in DirectShow filter list. Anyway which
code base you reference to? Do you reference to WDK sample avshws?
BR,Tzung-Dar Tsai
寄件者: 若水 <shlikewater@xxxxxxxxx>
收件者: wdmaudiodev@xxxxxxxxxxxxx
寄件日期: 2016/8/12 (週五) 4:56 PM
主旨: [wdmaudiodev] Re: avstream audio-only streaming
Dear Tzung-Dar Tsai:Thank you for your help. Because I will add some new
functions for my device, I have to develop a new driver. About my avstream
miniport, I cannot find it in audio capture sources filter and audio renders
filter. Of course, If I want to find my device in audio capture source filter,
I must registry CLSID_AudioInputDeviceCategory interface. However,
CLSID_AudioInputDeviceCategory does not included in avstream. I don't know how
to registry the interface in avstream driver. And, I think that because there
is not CLSID_AudioInputDeviceCategory interface, I cannot find my device in
sound management. Could you help me? Thanks.
Best Regards,Shang Jing
2016-08-12 16:41 GMT+08:00 Tsai Tzung-Dar <dmarc-noreply@xxxxxxxxxxxxx>:
Hi Sure avstream support audio-only streaming. The default USB Audio Driver
"USBAudio.sys" is an avstream driver. Why you need to develop driver for usb
audio device? Does you device do not follow USB Audio Class 1.0 spec? If you
are develop a driver for USB Audio Class 2.0 Device. There are a company have
USB Audio Class 2.0 Device driver. You can reference to follow URL:USB Audio
2.0 Class Driver for Windows
| |
| | | | | | | |
| USB Audio 2.0 Class Driver for WindowsUSB Audio 2.0 Class Driver and
Development Tool for Windows 10, 8.1, 8 and 7. |
| |
| 檢視於 www.thesycon.de | Yahoo 預覽 |
| |
| |
Their driver also develop by AVStream miniport.
BR,Tzung-Dar Tsai
寄件者: 若水 <shlikewater@xxxxxxxxx>
收件者: wdmaudiodev@xxxxxxxxxxxxx
寄件日期: 2016/8/12 (週五) 3:54 PM
主旨: [wdmaudiodev] avstream audio-only streaming
Hello, I am reading msdn. msdn said that avstream supports video-only streaming
and integrated audio/video streaming. Does avstream support audio-only
streaming? If it does not support audio-only streaming, how do I develop an
audio driver for usb audio device? Thanks.
Best Regards,Shang Jing