Несколько приблизился к месту ошибки. Скорее всего это из-за проблем с инициализацией аудио-пина. В новом тесте больше отладочной инфы именно на эту тему.
Несколько приблизился к месту ошибки. Скорее всего это из-за проблем с инициализацией аудио-пина. В новом тесте больше отладочной инфы именно на эту тему.
Последний раз редактировалось Titus; 10.10.2013 в 01:10.
Titus, win7 x64 звук via
win7 x64 звук via установлены родные драйвера:0.515: Entering RenderThreadProc
0.531: Device found
0.546: Pin 0: Communication type = 1
0.546: No standard streaming interfaces on the pin
0.546: Found SINK IN Pin, id = 0, hr = 80004005
0.546: Pin 1: Communication type = 0
0.562: RenderSink = 0, RenderSource = 0, CaptureSink = 0, CaptureSource = 0
0.562: Failed to create filter for \\?\hdaudio#func_01&ven_1106&dev_0397&subsys_10438 415&rev_1000#4&16c93ada&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\ehdmioutwave
0.562: Pin 0: Communication type = 1
0.562: No standard streaming interfaces on the pin
0.562: Found SINK IN Pin, id = 0, hr = 80004005
0.562: Pin 1: Communication type = 0
0.562: RenderSink = 0, RenderSource = 0, CaptureSink = 0, CaptureSource = 0
0.562: Failed to create filter for \\?\hdaudio#func_01&ven_1106&dev_0397&subsys_10438 415&rev_1000#4&16c93ada&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\eslavedhplineoutwave
0.562: All devices enumerated
0.562: EnumFilters failed
0.562: Leaving RenderThreadProc
13.432: Losing focus!! We must relenquish our resources ...
36.473: Gaining focus!! Must build graph ...
36.988: Entering RenderThreadProc
37.003: Device found
37.003: Pin 0: Communication type = 1
37.003: No standard streaming interfaces on the pin
37.003: Found SINK IN Pin, id = 0, hr = 80004005
37.003: Pin 1: Communication type = 0
37.003: RenderSink = 0, RenderSource = 0, CaptureSink = 0, CaptureSource = 0
37.003: Failed to create filter for \\?\hdaudio#func_01&ven_1106&dev_0397&subsys_10438 415&rev_1000#4&16c93ada&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\ehdmioutwave
37.003: Pin 0: Communication type = 1
37.003: No standard streaming interfaces on the pin
37.003: Found SINK IN Pin, id = 0, hr = 80004005
37.003: Pin 1: Communication type = 0
37.019: RenderSink = 0, RenderSource = 0, CaptureSink = 0, CaptureSource = 0
37.019: Failed to create filter for \\?\hdaudio#func_01&ven_1106&dev_0397&subsys_10438 415&rev_1000#4&16c93ada&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\eslavedhplineoutwave
37.019: All devices enumerated
37.019: EnumFilters failed
37.019: Leaving RenderThreadProc
0.530: Entering RenderThreadProc
0.624: Device found
0.624: Pin 0: Communication type = 1
0.624: No standard streaming interfaces on the pin
0.624: Found SINK IN Pin, id = 0, hr = 80004005
0.624: Pin 1: Communication type = 0
0.624: RenderSink = 0, RenderSource = 0, CaptureSink = 0, CaptureSource = 0
0.639: Failed to create filter for \\?\hdaudio#func_01&ven_1106&dev_0397&subsys_10438 415&rev_1000#4&16c93ada&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\hdmioutputwave
0.639: Pin 0: Communication type = 1
0.639: No standard streaming interfaces on the pin
0.639: Found SINK IN Pin, id = 0, hr = 80004005
0.639: Pin 1: Communication type = 0
0.639: RenderSink = 0, RenderSource = 0, CaptureSink = 0, CaptureSource = 0
0.639: Failed to create filter for \\?\hdaudio#func_01&ven_1106&dev_0397&subsys_10438 415&rev_1000#4&16c93ada&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\rearlineoutwave
0.639: All devices enumerated
0.639: EnumFilters failed
0.639: Leaving RenderThreadProc
Последний раз редактировалось palsw; 06.10.2013 в 18:19.
zebest, пищит![]()
Win7 x64 (с USB-гарнитурой) - не пишыт.
При возвращении фокуса говорит теперь так:Код:0.501: Entering RenderThreadProc 0.514: Device found 0.516: Pin 0: Communication type = 1 0.517: No standard streaming interfaces on the pin 0.518: Found SINK IN Pin, id = 0, hr = 80004005 0.518: Pin 1: Communication type = 0 0.519: RenderSink = 0, RenderSource = 0, CaptureSink = 0, CaptureSource = 0 0.522: Failed to create filter for \\?\hdaudio#func_01&ven_10ec&dev_0892&subsys_104384fb&rev_1003#4&382096a2&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\rearlineoutwave3 0.524: Pin 0: Communication type = 1 0.525: No standard streaming interfaces on the pin 0.526: Found SINK IN Pin, id = 0, hr = 80004005 0.527: Pin 1: Communication type = 0 0.527: RenderSink = 0, RenderSource = 0, CaptureSink = 0, CaptureSource = 0 0.528: Failed to create filter for \\?\hdaudio#func_01&ven_10ec&dev_0892&subsys_104384fb&rev_1003#4&382096a2&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\rtspdifoptwave 0.529: Pin 0: Communication type = 1 0.530: No standard streaming interfaces on the pin 0.531: Found SINK IN Pin, id = 0, hr = 80004005 0.531: Pin 1: Communication type = 0 0.532: RenderSink = 0, RenderSource = 0, CaptureSink = 0, CaptureSource = 0 0.532: Failed to create filter for \\?\hdaudio#func_01&ven_10ec&dev_0892&subsys_104384fb&rev_1003#4&382096a2&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\rtspdifwave 0.534: DeviceInterfaceAlias disabled 0.535: Pin 0: Communication type = 1 0.536: Failed to retrieve pin property KSPROPERTY_PIN_GLOBALCINSTANCES on PinID: 0 0.537: Total 1 DataRanges 0.537: Found SINK IN Pin, id = 0, hr = 0 0.538: Pin 1: Communication type = 3 0.542: Failed to retrieve pin property KSPROPERTY_PIN_GLOBALCINSTANCES on PinID: 1 0.543: Total 1 DataRanges 0.544: Pin 2: Communication type = 4 0.544: Pin 3: Communication type = 4 0.545: Pin 4: Communication type = 4 0.545: RenderSink = 1, RenderSource = 1, CaptureSink = 1, CaptureSource = 0 0.545: Succeeded to create filter for \\?\usb#vid_047f&pid_aa15&mi_00#8&30b5d44&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\global 0.546: All devices enumerated 0.548: Filters enumerated 0.548: Filter for rendering is avaliable 0.549: Total 1 filters 0.550: Pin for rendering is avaliable 0.551: Заполнение буфера 16-битным синусом 0.557: Pin state is KSSTATE_STOP 3.502: Setting Pin to KSSTATE_RUN ... 3.508: Packet 0 is available... Submitting packet 0
Дамп нужен?---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!
Program: C:\Users\Rider\AppData\Local\Temp\Rar$EXa0.163\kss ample.exe
File: dbgheap.c
Line: 1200
Expression: _pFirstBlock == pHead
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
---------------------------
Abort Retry Ignore
---------------------------
Win7 x64 с Realtek ALC892
0.500: Entering RenderThreadProc
0.510: Device found
0.511: Pin 0: Communication type = 1
0.512: No standard streaming interfaces on the pin
0.512: Found SINK IN Pin, id = 0, hr = 80004005
0.513: Pin 1: Communication type = 0
0.513: RenderSink = 0, RenderSource = 0, CaptureSink = 0, CaptureSource = 0
0.515: Failed to create filter for \\?\hdaudio#func_01&ven_10ec&dev_0892&subsys_1458a 022&rev_1003#4&24707100&0&0201#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\rearlineoutwave3
0.516: Pin 0: Communication type = 1
0.517: No standard streaming interfaces on the pin
0.517: Found SINK IN Pin, id = 0, hr = 80004005
0.517: Pin 1: Communication type = 0
0.518: RenderSink = 0, RenderSource = 0, CaptureSink = 0, CaptureSource = 0
0.518: Failed to create filter for \\?\hdaudio#func_01&ven_10ec&dev_0892&subsys_1458a 022&rev_1003#4&24707100&0&0201#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\rtspdifoptwave
0.519: Pin 0: Communication type = 1
0.519: No standard streaming interfaces on the pin
0.520: Found SINK IN Pin, id = 0, hr = 80004005
0.520: Pin 1: Communication type = 0
0.520: RenderSink = 0, RenderSource = 0, CaptureSink = 0, CaptureSource = 0
0.521: Failed to create filter for \\?\hdaudio#func_01&ven_10ec&dev_0892&subsys_1458a 022&rev_1003#4&24707100&0&0201#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\rtspdifwave
0.521: All devices enumerated
0.524: EnumFilters failed
0.524: Leaving RenderThreadProc
IT FOUND A VOICE... NOW IT NEEDS A BODY
А что это за две дополнительные кнопочки на окне?
В шок-мегадеме звука у меня нет, может поэтому не пищит?
И вообще, тест - это DirectStreaming, а в эмуляторе - DirectSound.
---------- Post added at 20:37 ---------- Previous post was at 20:31 ----------
Нет, нет, дампов не нужно.
---------- Post added at 20:38 ---------- Previous post was at 20:37 ----------
В общем, понятно, у тех, у кого звук в принципе долже быть, но нету, затыкается при инициализации аудио-пина с ошибкой:
'No standard streaming interfaces on the pin'
В общем, так. У устройства должен быть стандартный интерфейс KSINTERFACESETID_Standard с GUID = {1a8766a0-62ce-11cf-a5d6-28db04c10000}. На WinXP у меня все устройства имеют такой GUID, а вот на Вин7, похоже, GUID другой. Новый тест выведет начальную часть этого неопознанного GUID.
Последний раз редактировалось Titus; 10.10.2013 в 01:10.
Код:0.501: Entering RenderThreadProc 0.516: Device found 0.518: Pin 0: Communication type = 1 0.519: Total 7 DataRanges 0.520: Interface GUID {1A8766A0-62CE-11CF-A5} 0.520: Interfice ID 1 0.521: No standard streaming interfaces on the pin 0.522: Found SINK IN Pin, id = 0, hr = 80004005 0.522: Pin 1: Communication type = 0 0.523: RenderSink = 0, RenderSource = 0, CaptureSink = 0, CaptureSource = 0 0.525: Failed to create filter for \\?\hdaudio#func_01&ven_10ec&dev_0892&subsys_104384fb&rev_1003#4&382096a2&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\rearlineoutwave3 0.526: Pin 0: Communication type = 1 0.527: Total 6 DataRanges 0.527: Interface GUID {1A8766A0-62CE-11CF-A5} 0.527: Interfice ID 1 0.528: No standard streaming interfaces on the pin 0.528: Found SINK IN Pin, id = 0, hr = 80004005 0.528: Pin 1: Communication type = 0 0.528: RenderSink = 0, RenderSource = 0, CaptureSink = 0, CaptureSource = 0 0.529: Failed to create filter for \\?\hdaudio#func_01&ven_10ec&dev_0892&subsys_104384fb&rev_1003#4&382096a2&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\rtspdifoptwave 0.529: Pin 0: Communication type = 1 0.530: Total 6 DataRanges 0.530: Interface GUID {1A8766A0-62CE-11CF-A5} 0.530: Interfice ID 1 0.530: No standard streaming interfaces on the pin 0.530: Found SINK IN Pin, id = 0, hr = 80004005 0.532: Pin 1: Communication type = 0 0.533: RenderSink = 0, RenderSource = 0, CaptureSink = 0, CaptureSource = 0 0.533: Failed to create filter for \\?\hdaudio#func_01&ven_10ec&dev_0892&subsys_104384fb&rev_1003#4&382096a2&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\rtspdifwave 0.534: DeviceInterfaceAlias disabled 0.534: Pin 0: Communication type = 1 0.534: Failed to retrieve pin property KSPROPERTY_PIN_GLOBALCINSTANCES on PinID: 0 0.535: Total 1 DataRanges 0.535: Interface GUID {1A8766A0-62CE-11CF-A5} 0.535: Interfice ID 0 0.535: Found SINK IN Pin, id = 0, hr = 0 0.535: Pin 1: Communication type = 3 0.536: Failed to retrieve pin property KSPROPERTY_PIN_GLOBALCINSTANCES on PinID: 1 0.536: Total 1 DataRanges 0.536: Interface GUID {1A8766A0-62CE-11CF-A5} 0.536: Interfice ID 0 0.536: Pin 2: Communication type = 4 0.537: Pin 3: Communication type = 4 0.537: Pin 4: Communication type = 4 0.537: RenderSink = 1, RenderSource = 1, CaptureSink = 1, CaptureSource = 0 0.537: Succeeded to create filter for \\?\usb#vid_047f&pid_aa15&mi_00#8&30b5d44&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\global 0.537: All devices enumerated 0.538: Filters enumerated 0.538: Filter for rendering is avaliable 0.539: Total 1 filters 0.539: Pin for rendering is avaliable 0.540: Заполнение буфера 16-битным синусом 0.543: Pin state is KSSTATE_STOP 9.105: Setting Pin to KSSTATE_RUN ... 9.112: Packet 0 is available... Submitting packet 0
Так, все понятно, интерфейс тоже стандартный, НО!
Если ID = 0, то это KSINTERFACE_STANDARD_STREAMING (что считается корректным),
а если ID = 1, то это KSINTERFACE_STANDARD_LOOPED_STREAMING (что отвергается в примере).
---------- Post added at 21:28 ---------- Previous post was at 21:27 ----------
Вот, что про них написано в микрософте:
KSINTERFACE_STANDARD_STREAMING:
The KSINTERFACE_STANDARD_STREAMING interface is used between most KS audio filters and is supported by all audio miniports. If a pin supports this interface, the relevant filter processes the data embedded in each KSSTREAM_HEADER structure once.
KSINTERFACE_STANDARD_LOOPED_STREAMING:
The KSINTERFACE_STANDARD_LOOPED_STREAMING interface is used by clients of DSound. At release time of Windows XP, Kmixer and Portcls are the only KS Audio filters that support this interface.
If a pin supports KSINTERFACE_STANDARD_LOOPED_STREAMING, the relevant filter does not complete buffers until the pin is placed into the Stop state. The filter processes data by continuously looping around the data in the single buffer submitted to the filter.
Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)