Skip to content

fengjixuchui/WinAudioTest

 
 

Repository files navigation

WinAudioTest

Show the device list

Audio Render Devices:
    [ 1] Cirrus Logic CS8409 (AB 57) - Unplugged
    [ 2] AMD High Definition Audio Device - Not Present
    [ 3] Cirrus Logic CS8409 (AB 57) - Active
    [ 4] AMD High Definition Audio Device - Unplugged
    [ 5] AMD High Definition Audio Device - Unplugged
    [ 6] AMD High Definition Audio Device - Unplugged
    [ 7] AMD High Definition Audio Device - Unplugged
    [ 8] AMD High Definition Audio Device - Unplugged
    [ 9] AMD High Definition Audio Device - Unplugged
    [10] AMD High Definition Audio Device - Not Present

Default Audio Render Devices for Games, system notification sounds, and voice commands:
    [11] Cirrus Logic CS8409 (AB 57) - Active

Default Audio Render Devices for Music, movies, narration, and live music recording:
    [12] Cirrus Logic CS8409 (AB 57) - Active

Default Audio Render Devices for Voice communications:
    [13] Cirrus Logic CS8409 (AB 57) - Active

Audio Capture Devices:
    [14] Cirrus Logic CS8409 (AB 57) - Unplugged
    [15] Cirrus Logic CS8409 (AB 57) - Active
    [16] AMD High Definition Audio Device - Not Present
    [17] AMD High Definition Audio Device - Not Present
    [18] AMD High Definition Audio Device - Not Present
    [19] AMD High Definition Audio Device - Not Present
    [20] AMD High Definition Audio Device - Not Present
    [21] AMD High Definition Audio Device - Not Present

Default Audio Capture Devices for Games, system notification sounds, and voice commands:
    [22] Cirrus Logic CS8409 (AB 57) - Active

Default Audio Capture Devices for Music, movies, narration, and live music recording:
    [23] Cirrus Logic CS8409 (AB 57) - Active

Default Audio Capture Devices for Voice communications:
    [24] Cirrus Logic CS8409 (AB 57) - Active

[a] Only show active devices    [d] Only show disabled devices    [n] Only show not-present devices    [u] Only show unplugged devices
[r] Only show audio render devices    [c] Only show audio capture devices
[x] Quit    [b] Back    [f] Forward    [p] Go-up

>>>

Select a device to enter, for example 3:

>>> 3
--------------------------------------------------------------------------------
            DeviceID: {0.0.0.00000000}.{1b3fe298-8184-4b91-9e7a-a4ef3f70a5a6}
          DeviceName: Speakers (Cirrus Logic CS8409 (AB 57))
 DeviceInterfaceName: Cirrus Logic CS8409 (AB 57)
               State: Active
--------------------------------------------------------------------------------
[i] Show all properties
[x] Quit    [b] Back    [f] Forward    [p] Go-up

>>>
Press 'i' to show the current selected device properties:
>>> i
    {B3F8FA53-0004-438E-9003-51A46E139BFC}/15:
                                               E2 07 0A 00 04 00 04 00 00 00 3A 00 27 00 27 03 - Γ.........:.'.'.
                    DEVPKEY_Device_DeviceDesc: Speakers
    {B3F8FA53-0004-438E-9003-51A46E139BFC}/06: Cirrus Logic CS8409 (AB 57)
    {B3F8FA53-0004-438E-9003-51A46E139BFC}/02: {1}.HDAUDIO\FUNC_01&VEN_1013&DEV_8409&SUBSYS_106B3900&REV_1001\4&3B7F7DD&0&0001
    {83DA6326-97A6-4088-9453-A1923F573B29}/03: oem2.inf:ed86ca1163397bb2:HDAudio.Cirrus_CONF_0902:6.6001.3.38:hdaudio\func_01&ven_1013&dev_8409&subsys_106b3900
                   DEVPKEY_Device_InstallDate: 10/4/2018
                   DEVPKEY_Device_ContainerId: {00000000-0000-0000-FFFF-FFFFFFFFFFFF}
    {9637B4B9-11EE-4C35-B43C-7B2452C993CC}/01: {50AF5874-1BE5-4379-91E4-1BA078433033}
                DEVPKEY_Device_EnumeratorName: HDAUDIO
    {B3F8FA53-0004-438E-9003-51A46E139BFC}/01:
                                               A8 7F A4 D5 98 6D D1 11 A2 1A 00 A0 C9 22 31 96 - ¿.ñ╒.m╤.ó...╔"1.
                                               9C AC 97 DC EC DD 59 4D B6 50 3B 8B A6 7B C2 A1 - .¼.▄∞▌YM╢P;.ª{┬í
                                               00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - ................
                                               E0 CC 13 DE 04 83 E9 4E BA CE 48 24 21 4E 3E A5 - α╠.▐..ΘN║╬H$!N>Ñ
                                               00 00 02 00 01 00 00 00                         - ........
                PKEY_AudioEndpoint_FormFactor: Speakers
               PKEY_AudioEndpoint_JackSubType: {DFF21CE1-F70F-11D0-B917-00A0C9223196}
                 DEVPKEY_DeviceClass_IconPath: %windir%\system32\mmres.dll,-3010
    {840B8171-B0AD-410F-8581-CCCC0382CFEF}/00:
               PKEY_AudioEndpoint_Association: {00000000-0000-0000-0000-000000000000}
    PKEY_AudioEndpoint_Supports_EventDriven_Mode: 1
                   PKEY_AudioEngine_OEMFormat:
                                               |          wFormatTag: WAVE_FORMAT_EXTENSIBLE(0XFFFE)
                                               |           nChannels: 4
                                               |      nSamplesPerSec: 48000
                                               |     nAvgBytesPerSec: 768000
                                               |         nBlockAlign: 16
                                               |      wBitsPerSample: 32
                                               |              cbSize: 22
                                               | wValidBitsPerSample: 24
                                               |       dwChannelMask: KSAUDIO_SPEAKER_QUAD
                                               |           SubFormat: KSDATAFORMAT_SUBTYPE_PCM
    {D43FE3A9-CFDB-4627-B0E6-6DB276B8E5DB}/00: 0
    {6737016F-5360-48EE-AF05-E616C8FF27A7}/02: 0
    {9855C4CD-DF8C-449C-A181-8191B68BD06C}/00:
                                               E0 D5 C2 C1 E0 D5 C2 C1 E0 D5 C2 C1 E0 D5 C2 C1 - α╒┬┴α╒┬┴α╒┬┴α╒┬┴
    {B3F8FA53-0004-438E-9003-51A46E139BFC}/00: 1
                PKEY_AudioEngine_DeviceFormat:
                                               |          wFormatTag: WAVE_FORMAT_EXTENSIBLE(0XFFFE)
                                               |           nChannels: 4
                                               |      nSamplesPerSec: 48000
                                               |     nAvgBytesPerSec: 768000
                                               |         nBlockAlign: 16
                                               |      wBitsPerSample: 32
                                               |              cbSize: 22
                                               | wValidBitsPerSample: 24
                                               |       dwChannelMask: KSAUDIO_SPEAKER_QUAD
                                               |           SubFormat: KSDATAFORMAT_SUBTYPE_PCM
    {FD8A7B27-0B18-4025-AB1C-BDD6B32E1604}/02:
                                               00                                              - .
    {908DBA32-EDFF-4C28-8E45-C918561F6748}/02:
                                               01 00 00 5A 00 00 00 00 01 00 00 00 00 00 00 00 - ...Z............
                                               0C 94 3D B5 46 B8 31 48 9F 76 D1 02 B9 B7 25 A0 - ..=╡F╕1H.v╤.╣╖%.
                                               38 AC 59 14 75 38 BF 49 BB 59 0F E8 0F 4D 39 5D - 8¼Y.u8┐I╗Y.Φ.M9]
                                               00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - ................
                                               00 00 00 00 80 00 00 00 00 00 00 00             - ............
    {913BC9A7-624B-4A30-96AC-5064A9FC6589}/02: 5
    {A45429A4-AA63-4480-B7F8-3F2552DAEE93}/02:
    {A45429A4-AA63-4480-B7F8-3F2552DAEE93}/03:
    {4B416B7D-8501-40C1-ACFD-97AA9BDC17C8}/01: {0.0.0.00000000}.{5cabbcd3-6b73-49f3-b140-ca83cef15402}; {0.0.0.00000000}.{fcf48e8a-ace7-489c-924f-7b52faeb8be7}
    {B3F8FA53-0004-438E-9003-51A46E139BFC}/24: FALSE
    {B3F8FA53-0004-438E-9003-51A46E139BFC}/27: FALSE
        DEVPKEY_Device_PhysicalDeviceLocation: 129; 0; 0; 0; 0; 0; 0; 0; 48; 1; 0; 0; 0; 0; 0; 0; 255; 255; 255; 255
    {9A82A7DB-3EBB-41B4-83BA-18B7311718FC}/01: 65536
    {233164C8-1B2C-4C7D-BC68-B671687A2567}/01: {2}.\\?\hdaudio#func_01&ven_1013&dev_8409&subsys_106b3900&rev_1001#4&3b7f7dd&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\espeakerwave
    {8943B373-388C-4395-B557-BC6DBAFFAFDB}/02: FALSE
    {FB1DE864-E06D-47F4-82A6-8A0AEF44493C}/02: FALSE
    {5A9125B7-F367-4924-ACE2-0803A4A3A471}/00: 1610653016
    {5A9125B7-F367-4924-ACE2-0803A4A3A471}/02: 1610644996
    {5A9125B7-F367-4924-ACE2-0803A4A3A471}/03: 1610617440
    {5A9125B7-F367-4924-ACE2-0803A4A3A471}/04: 1610621440
    {5A9125B7-F367-4924-ACE2-0803A4A3A471}/05: 1610617344
    {5A9125B7-F367-4924-ACE2-0803A4A3A471}/06: 1610626816
    {5A9125B7-F367-4924-ACE2-0803A4A3A471}/07: 1610648996
    {194EF948-7CDB-403E-9F47-19418F7B24FD}/01: 175083679281
    {24DBB0FC-9311-4B3D-9CF0-18FF155639D4}/01: FALSE
    {A2A3FFF4-353F-407C-9D86-1F9DC7D5A606}/02:
    {74E4357A-7959-47A4-A8B2-FEB2FFD48427}/02:
                                               0A 00 01 00 80 BB 00 00 03 00 10 10 18 18 20 18 - .....╗........ .
                                               05 00 04 00 03 00 33 00 07 01 0F 00 01 00 34 00 - ......3.......4.
                                               7C 88 FF FF 7E 2F 8E C1 3D 93 65 49 B7 D1 1E EF - |.  ~/.┴=.eI╖╤.∩
                                               22 8D 2A F3 00 00 00 01 00 02 10 01 20 01 30 01 - ".*≤........ .0.
                                               40 00 40 01 40 02                               - @.@.@.
    {1E94C58F-3E40-4DDB-B10C-A86D8B870A31}/02: 0
    {B3F8FA53-0004-438E-9003-51A46E139BFC}/36: FALSE
    {A45429A4-AA63-4480-B7F8-3F2552DAEE93}/04:
    {A45429A4-AA63-4480-B7F8-3F2552DAEE93}/05:
    {A45429A4-AA63-4480-B7F8-3F2552DAEE93}/06:
    {3D6E1656-2E50-4C4C-8D85-D0ACAE3C6C68}/02:
                                               FE FF 04 00 80 BB 00 00 00 B8 0B 00 10 00 20 00 - ■ ...╗...╕.... .
                                               16 00 20 00 33 00 00 00 03 00 00 00 00 00 10 00 - .. .3...........
                                               80 00 00 AA 00 38 9B 71                         - ...¬.8.q
    {E4870E26-3CC5-4CD2-BA46-CA0A9A70ED04}/00:
                                               FE FF 04 00 80 BB 00 00 00 B8 0B 00 10 00 20 00 - ■ ...╗...╕.... .
                                               16 00 20 00 33 00 00 00 03 00 00 00 00 00 10 00 - .. .3...........
                                               80 00 00 AA 00 38 9B 71                         - ...¬.8.q
    {E4870E26-3CC5-4CD2-BA46-CA0A9A70ED04}/01:
                                               A0 86 01 00 00 00 00 00                         - ........
    {24DBB0FC-9311-4B3D-9CF0-18FF155639D4}/00: {0.0.0.00000000}.{02424614-9be8-46ba-bfc3-e3e06140e1bb}
    {B670D490-EACA-47F0-821E-BAAA5A8BF7F7}/03: TRUE
    {9C119480-DDC2-4954-A150-5BD240D454AD}/01: \\?\SWD#MMDEVAPI#{0.0.0.00000000}.{1b3fe298-8184-4b91-9e7a-a4ef3f70a5a6}#{e6327cad-dcec-4949-ae8a-991e976a79d2}
    {9C119480-DDC2-4954-A150-5BD240D454AD}/02: SWD\MMDEVAPI\{0.0.0.00000000}.{1b3fe298-8184-4b91-9e7a-a4ef3f70a5a6}
                  DEVPKEY_Device_FriendlyName: Speakers (Cirrus Logic CS8409 (AB 57))
         DEVPKEY_DeviceInterface_FriendlyName: Cirrus Logic CS8409 (AB 57)
                      PKEY_AudioEndpoint_GUID: {1B3FE298-8184-4B91-9E7A-A4EF3F70A5A6}

A device state is changed:

!!-->[DeviceID: {0.0.0.00000000}.{1b3fe298-8184-4b91-9e7a-a4ef3f70a5a6}][Cirrus Logic CS8409 (AB 57)] changed to new states: 0X1 (DEVICE_STATE_ACTIVE)


!!-->[DeviceID: {0.0.0.00000000}.{1b3fe298-8184-4b91-9e7a-a4ef3f70a5a6}][Cirrus Logic CS8409 (AB 57)] became default eRender eConsole device.


!!-->[DeviceID: {0.0.0.00000000}.{1b3fe298-8184-4b91-9e7a-a4ef3f70a5a6}][Cirrus Logic CS8409 (AB 57)] became default eRender eMultimedia device.


!!-->[DeviceID: {0.0.0.00000000}.{1b3fe298-8184-4b91-9e7a-a4ef3f70a5a6}][Cirrus Logic CS8409 (AB 57)] became default eRender eCommunications device.

The property value of a device is changed:

!!-->[DeviceID: {0.0.0.00000000}.{1b3fe298-8184-4b91-9e7a-a4ef3f70a5a6}][Cirrus Logic CS8409 (AB 57)][property: {B670D490-EACA-47F0-821E-BAAA5A8BF7F7}/02] value is changed to:
    {B670D490-EACA-47F0-821E-BAAA5A8BF7F7}/02:


!!-->[DeviceID: {0.0.0.00000000}.{1b3fe298-8184-4b91-9e7a-a4ef3f70a5a6}][Cirrus Logic CS8409 (AB 57)][property: {9C119480-DDC2-4954-A150-5BD240D454AD}/01] value is changed to:
    {9C119480-DDC2-4954-A150-5BD240D454AD}/01: \\?\SWD#MMDEVAPI#{0.0.0.00000000}.{1b3fe298-8184-4b91-9e7a-a4ef3f70a5a6}#{e6327cad-dcec-4949-ae8a-991e976a79d2}


!!-->[DeviceID: {0.0.0.00000000}.{1b3fe298-8184-4b91-9e7a-a4ef3f70a5a6}][Cirrus Logic CS8409 (AB 57)][property: {9C119480-DDC2-4954-A150-5BD240D454AD}/02] value is changed to:
    {9C119480-DDC2-4954-A150-5BD240D454AD}/02: SWD\MMDEVAPI\{0.0.0.00000000}.{1b3fe298-8184-4b91-9e7a-a4ef3f70a5a6}

About

An audio endpoint device utility tool, which may be useful for debuging some audio issues under Windows platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 70.0%
  • C++ 30.0%