Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Google TV Streamer + Passthrough Audio issues #1318

Open
branches78 opened this issue Nov 23, 2024 · 6 comments
Open

[Bug]: Google TV Streamer + Passthrough Audio issues #1318

branches78 opened this issue Nov 23, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@branches78
Copy link

Problem description

I recently purchased the streamer and I am getting some passthrough audio issues, some are specific from the device which I will report to Google but I want a confirmation about two audio codecs, I want to know if they are related to the app or to the device.

On a recent firmware update, Google added 4 audio codec settings besides the ones that were already present in another settings screen (Auto, Dolby Digital Plus, Dolby Digital and PCM stereo).

In the below table you can see the outputs, the ones in blue are specific to the device, while the ones in red is where I need a confirmation.

I extracted two logs while playing the two codecs (PCM 6.1 48Khz and DTS-HD Master Audio 7.1 96Khz):

image

Steps to reproduce the issue

n/a

Expected behavior

To passthrough correctly PCM 6.1 48Khz and DTS-HD Master Audio 7.1 96Khz.

Your phone/tablet/androidTV model

Google TV Streamer

Operating system version

Android 14

Application version and app store

6.2.97 from Play Store

Additional system information

The device is connected directly to a Pioneer VSX-835 AV receiver.

Debug logs

DTS-HD Master Audio 7.1 96Khz - Auto Option.log

PCM 6.1 - Auto option.log

@branches78 branches78 added the bug Something isn't working label Nov 23, 2024
@phhusson
Copy link
Contributor

Can you show the result of adb shell dumpsys media.audio_policy ?

@branches78
Copy link
Author

There you go:

Supported System Usages:
AUDIO_USAGE_CALL_ASSISTANT
UID Policy:
mObserverRegistered=True
Assistants UIDs:
UID[0]=10064
Active Assistants UIDs:
No UIDs present.
Accessibility UIDs:
No UIDs present.
Input Method Service UID=10082
Is RTT Enabled: False
AudioCommandThread: 0xf37402b0

  • Commands:
    Command Time Wait pParam
    Last Command
    00 023671.638 0 0xf781a500
    OutputCommandThread: 0xf3740b70
  • Commands:
    Command Time Wait pParam
    Last Command
    18 023671.173 0 0x0

AudioPolicyManager Dump: 0xf38c3190
Primary Output I/O handle: 13
Phone state: AUDIO_MODE_NORMAL
Force use for communications: 0
Force use for media: 0
Force use for record: 0
Force use for dock: 9
Force use for system: 0
Force use for HDMI system audio: 0
Force use for encoded surround output: 0
Force use for vibrate ringing: 0
TTS output not available
Master mono: off
Communication Strategy id: 15
Config source: /vendor/etc/audio_policy_configuration.xml

Available output devices (2):

  1. Port ID: 2; "Speaker"; {AUDIO_DEVICE_OUT_SPEAKER, @:}
    Encapsulation modes: 0, metadata types: 0
  • Profiles (1):
    1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
      sampling rates: 44100, 48000
      channel masks: 0x0003
      AUDIO_ENCAPSULATION_TYPE_NONE
  1. Port ID: 165; "HDMI_Sink"; {AUDIO_DEVICE_OUT_HDMI, @:}
    Encapsulation modes: 0, metadata types: 0
  • Profiles (14):
    1. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DEFAULT (0x0)
      AUDIO_ENCAPSULATION_TYPE_NONE
    2. ""; [dynamic format]; AUDIO_FORMAT_PCM_16_BIT (0x1)
      sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
      channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
      AUDIO_ENCAPSULATION_TYPE_NONE
    3. ""; [dynamic format]; AUDIO_FORMAT_PCM_8_24_BIT (0x4)
      sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
      channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
      AUDIO_ENCAPSULATION_TYPE_NONE
    4. ""; [dynamic format]; AUDIO_FORMAT_PCM_32_BIT (0x3)
      sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
      channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
      AUDIO_ENCAPSULATION_TYPE_NONE
    5. ""; [dynamic format]; AUDIO_FORMAT_PCM_FLOAT (0x5)
      sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
      channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
      AUDIO_ENCAPSULATION_TYPE_NONE
    6. ""; [dynamic format]; AUDIO_FORMAT_MAT (0x24000000)
      sampling rates: 48000
      channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
      AUDIO_ENCAPSULATION_TYPE_NONE
    7. ""; [dynamic format]; AUDIO_FORMAT_IEC61937 (0xd000000)
      sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
      channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
      AUDIO_ENCAPSULATION_TYPE_NONE
    8. ""; [dynamic format]; AUDIO_FORMAT_MAT_2_0 (0x24000002)
      sampling rates: 48000
      channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
      AUDIO_ENCAPSULATION_TYPE_NONE
    9. ""; [dynamic format]; AUDIO_FORMAT_DTS (0xb000000)
      sampling rates: 32000, 44100, 48000
      channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f
      AUDIO_ENCAPSULATION_TYPE_NONE
    10. ""; [dynamic format]; AUDIO_FORMAT_E_AC3_JOC (0xa000001)
      sampling rates: 48000
      channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
      AUDIO_ENCAPSULATION_TYPE_NONE
    11. ""; [dynamic format]; AUDIO_FORMAT_AC3 (0x9000000)
      sampling rates: 32000, 44100, 48000
      channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f
      AUDIO_ENCAPSULATION_TYPE_NONE
    12. ""; [dynamic format]; AUDIO_FORMAT_DOLBY_TRUEHD (0xe000000)
      sampling rates: 48000
      channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
      AUDIO_ENCAPSULATION_TYPE_NONE
    13. ""; [dynamic format]; AUDIO_FORMAT_E_AC3 (0xa000000)
      sampling rates: 48000
      channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
      AUDIO_ENCAPSULATION_TYPE_NONE
    14. ""; [dynamic format]; AUDIO_FORMAT_DTS_HD (0xc000000)
      sampling rates: 44100, 48000, 88200, 96000, 176400, 192000
      channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
      AUDIO_ENCAPSULATION_TYPE_NONE

Available input devices (2):

  1. Port ID: 5; "Built-In Mic"; {AUDIO_DEVICE_IN_BUILTIN_MIC, @:bottom}
    Encapsulation modes: 0, metadata types: 0
  • Profiles (1):
    1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
      sampling rates: 8000, 16000
      channel masks: 0x000c, 0x0010
      AUDIO_ENCAPSULATION_TYPE_NONE
  1. Port ID: 7; "Remote Submix In"; {AUDIO_DEVICE_IN_REMOTE_SUBMIX, @:0}
    Encapsulation modes: 0, metadata types: 0
  • Profiles (1):
    1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
      sampling rates: 48000
      channel masks: 0x000c
      AUDIO_ENCAPSULATION_TYPE_NONE

Hardware modules (3):

  1. Handle: 10; "primary"
  • Output MixPorts (13):
    1. "primary_output"; 0x0002 (AUDIO_OUTPUT_FLAG_PRIMARY)
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 48000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (4):
    1. Port ID: 2; "Speaker"; {AUDIO_DEVICE_OUT_SPEAKER, @:}
      Encapsulation modes: 0, metadata types: 0
    2. "BT SCO"; {AUDIO_DEVICE_OUT_BLUETOOTH_SCO, @:}
      Encapsulation modes: 0, metadata types: 0
    3. "BT SCO Headset"; {AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET, @:}
      Encapsulation modes: 0, metadata types: 0
    4. "BT SCO Car Kit"; {AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 1
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
    1. "hdmi_mixed"; 0x0000 (AUDIO_OUTPUT_FLAG_NONE)
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 48000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
    1. "ms12_input_deep_buffer"; 0x0008 (AUDIO_OUTPUT_FLAG_DEEP_BUFFER)
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 48000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (1):
    1. Port ID: 165; "HDMI_Sink"; {AUDIO_DEVICE_OUT_HDMI, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 1
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
    1. "fast"; 0x0004 (AUDIO_OUTPUT_FLAG_FAST)
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 48000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (3):
    1. "BT A2DP Out"; {AUDIO_DEVICE_OUT_BLUETOOTH_A2DP, @:}
      Encapsulation modes: 0, metadata types: 0
    2. "BT A2DP Headphones"; {AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES, @:}
      Encapsulation modes: 0, metadata types: 0
    3. "BT A2DP Speaker"; {AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
    1. "mmap_no_irq_out"; 0x4001 (AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_MMAP_NOIRQ)
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 48000
        channel masks: 0x0003, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (1):
    1. Port ID: 165; "HDMI_Sink"; {AUDIO_DEVICE_OUT_HDMI, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
    1. "ms12_compressed"; 0x0001 (AUDIO_OUTPUT_FLAG_DIRECT)
    • Profiles (7):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 48000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
      2. ""; AUDIO_FORMAT_AC3 (0x9000000)
        sampling rates: 32000, 44100, 48000
        channel masks: 0x0001, 0x0003, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
      3. ""; AUDIO_FORMAT_E_AC3 (0xa000000)
        sampling rates: 32000, 44100, 48000
        channel masks: 0x0001, 0x0003, 0x0007, 0x003f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      4. ""; AUDIO_FORMAT_E_AC3_JOC (0xa000001)
        sampling rates: 48000
        channel masks: 0x0003, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
      5. ""; AUDIO_FORMAT_AC4 (0x22000000)
        sampling rates: 44100, 48000
        channel masks: 0x0001, 0x0003, 0x003f, 0x063f, 0x2d63f
        AUDIO_ENCAPSULATION_TYPE_NONE
      6. ""; AUDIO_FORMAT_MAT (0x24000000)
        sampling rates: 48000
        channel masks: 0x0003, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
      7. ""; AUDIO_FORMAT_MAT_2_0 (0x24000002)
        sampling rates: 48000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (1):
    1. Port ID: 165; "HDMI_Sink"; {AUDIO_DEVICE_OUT_HDMI, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
    1. "ms12compressed_bt"; 0x0001 (AUDIO_OUTPUT_FLAG_DIRECT)
    • Profiles (7):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 48000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
      2. ""; AUDIO_FORMAT_AC3 (0x9000000)
        sampling rates: 32000, 44100, 48000
        channel masks: 0x0001, 0x0003, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
      3. ""; AUDIO_FORMAT_E_AC3 (0xa000000)
        sampling rates: 32000, 44100, 48000
        channel masks: 0x0001, 0x0003, 0x0007, 0x003f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      4. ""; AUDIO_FORMAT_E_AC3_JOC (0xa000001)
        sampling rates: 48000
        channel masks: 0x0003, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
      5. ""; AUDIO_FORMAT_AC4 (0x22000000)
        sampling rates: 44100, 48000
        channel masks: 0x0001, 0x0003, 0x003f, 0x063f, 0x2d63f
        AUDIO_ENCAPSULATION_TYPE_NONE
      6. ""; AUDIO_FORMAT_MAT (0x24000000)
        sampling rates: 48000
        channel masks: 0x0003, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
      7. ""; AUDIO_FORMAT_MAT_2_0 (0x24000002)
        sampling rates: 48000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (3):
    1. "BT A2DP Out"; {AUDIO_DEVICE_OUT_BLUETOOTH_A2DP, @:}
      Encapsulation modes: 0, metadata types: 0
    2. "BT A2DP Headphones"; {AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES, @:}
      Encapsulation modes: 0, metadata types: 0
    3. "BT A2DP Speaker"; {AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
    1. "hdmi_compressed"; 0x0001 (AUDIO_OUTPUT_FLAG_DIRECT)
    • Profiles (27):
      1. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DEFAULT (0x0)
        AUDIO_ENCAPSULATION_TYPE_NONE
      2. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_PCM_16_BIT (0x1)
        AUDIO_ENCAPSULATION_TYPE_NONE
      3. ""; [dynamic format]; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      4. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_PCM_8_24_BIT (0x4)
        AUDIO_ENCAPSULATION_TYPE_NONE
      5. ""; [dynamic format]; AUDIO_FORMAT_PCM_8_24_BIT (0x4)
        sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      6. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_PCM_32_BIT (0x3)
        AUDIO_ENCAPSULATION_TYPE_NONE
      7. ""; [dynamic format]; AUDIO_FORMAT_PCM_32_BIT (0x3)
        sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      8. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_PCM_FLOAT (0x5)
        AUDIO_ENCAPSULATION_TYPE_NONE
      9. ""; [dynamic format]; AUDIO_FORMAT_PCM_FLOAT (0x5)
        sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      10. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_MAT (0x24000000)
        AUDIO_ENCAPSULATION_TYPE_NONE
      11. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_AC3 (0x9000000)
        AUDIO_ENCAPSULATION_TYPE_NONE
      12. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DOLBY_TRUEHD (0xe000000)
        AUDIO_ENCAPSULATION_TYPE_NONE
      13. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_E_AC3 (0xa000000)
        AUDIO_ENCAPSULATION_TYPE_NONE
      14. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DTS_HD (0xc000000)
        AUDIO_ENCAPSULATION_TYPE_NONE
      15. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_MAT_2_0 (0x24000002)
        AUDIO_ENCAPSULATION_TYPE_NONE
      16. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DTS (0xb000000)
        AUDIO_ENCAPSULATION_TYPE_NONE
      17. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_IEC61937 (0xd000000)
        AUDIO_ENCAPSULATION_TYPE_NONE
      18. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_E_AC3_JOC (0xa000001)
        AUDIO_ENCAPSULATION_TYPE_NONE
      19. ""; [dynamic format]; AUDIO_FORMAT_MAT (0x24000000)
        sampling rates: 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      20. ""; [dynamic format]; AUDIO_FORMAT_IEC61937 (0xd000000)
        sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      21. ""; [dynamic format]; AUDIO_FORMAT_MAT_2_0 (0x24000002)
        sampling rates: 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      22. ""; [dynamic format]; AUDIO_FORMAT_DTS (0xb000000)
        sampling rates: 32000, 44100, 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
      23. ""; [dynamic format]; AUDIO_FORMAT_E_AC3_JOC (0xa000001)
        sampling rates: 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      24. ""; [dynamic format]; AUDIO_FORMAT_AC3 (0x9000000)
        sampling rates: 32000, 44100, 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
      25. ""; [dynamic format]; AUDIO_FORMAT_DOLBY_TRUEHD (0xe000000)
        sampling rates: 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      26. ""; [dynamic format]; AUDIO_FORMAT_E_AC3 (0xa000000)
        sampling rates: 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      27. ""; [dynamic format]; AUDIO_FORMAT_DTS_HD (0xc000000)
        sampling rates: 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (1):
    1. Port ID: 165; "HDMI_Sink"; {AUDIO_DEVICE_OUT_HDMI, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
    1. "hw_avsync"; 0x0041 (AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_HW_AV_SYNC)
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 44100, 48000
        channel masks: 0x0001, 0x0003, 0x003f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (1):
    1. Port ID: 165; "HDMI_Sink"; {AUDIO_DEVICE_OUT_HDMI, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
    1. "hw_avsync_bt"; 0x0041 (AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_HW_AV_SYNC)
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 48000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (3):
      1. "BT A2DP Out"; {AUDIO_DEVICE_OUT_BLUETOOTH_A2DP, @:}
      Encapsulation modes: 0, metadata types: 0
      2. "BT A2DP Headphones"; {AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES, @:}
      Encapsulation modes: 0, metadata types: 0
      3. "BT A2DP Speaker"; {AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
    1. "ms12_compressed_hw_avsync"; 0x0041 (AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_HW_AV_SYNC)
    • Profiles (7):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 48000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
      2. ""; AUDIO_FORMAT_AC3 (0x9000000)
        sampling rates: 32000, 44100, 48000
        channel masks: 0x0001, 0x0003, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
      3. ""; AUDIO_FORMAT_E_AC3 (0xa000000)
        sampling rates: 32000, 44100, 48000
        channel masks: 0x0001, 0x0003, 0x0007, 0x003f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      4. ""; AUDIO_FORMAT_E_AC3_JOC (0xa000001)
        sampling rates: 48000
        channel masks: 0x0003, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
      5. ""; AUDIO_FORMAT_AC4 (0x22000000)
        sampling rates: 44100, 48000
        channel masks: 0x0001, 0x0003, 0x003f, 0x063f, 0x2d63f
        AUDIO_ENCAPSULATION_TYPE_NONE
      6. ""; AUDIO_FORMAT_MAT (0x24000000)
        sampling rates: 48000
        channel masks: 0x0003, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
      7. ""; AUDIO_FORMAT_MAT_2_0 (0x24000002)
        sampling rates: 48000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (1):
      1. Port ID: 165; "HDMI_Sink"; {AUDIO_DEVICE_OUT_HDMI, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
    1. "hw_avsync_compressed"; 0x0041 (AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_HW_AV_SYNC)
    • Profiles (27):
      1. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DEFAULT (0x0)
        AUDIO_ENCAPSULATION_TYPE_NONE
      2. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_PCM_16_BIT (0x1)
        AUDIO_ENCAPSULATION_TYPE_NONE
      3. ""; [dynamic format]; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      4. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_PCM_8_24_BIT (0x4)
        AUDIO_ENCAPSULATION_TYPE_NONE
      5. ""; [dynamic format]; AUDIO_FORMAT_PCM_8_24_BIT (0x4)
        sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      6. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_PCM_32_BIT (0x3)
        AUDIO_ENCAPSULATION_TYPE_NONE
      7. ""; [dynamic format]; AUDIO_FORMAT_PCM_32_BIT (0x3)
        sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      8. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_PCM_FLOAT (0x5)
        AUDIO_ENCAPSULATION_TYPE_NONE
      9. ""; [dynamic format]; AUDIO_FORMAT_PCM_FLOAT (0x5)
        sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      10. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_MAT (0x24000000)
        AUDIO_ENCAPSULATION_TYPE_NONE
      11. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_AC3 (0x9000000)
        AUDIO_ENCAPSULATION_TYPE_NONE
      12. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DOLBY_TRUEHD (0xe000000)
        AUDIO_ENCAPSULATION_TYPE_NONE
      13. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_E_AC3 (0xa000000)
        AUDIO_ENCAPSULATION_TYPE_NONE
      14. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DTS_HD (0xc000000)
        AUDIO_ENCAPSULATION_TYPE_NONE
      15. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_MAT_2_0 (0x24000002)
        AUDIO_ENCAPSULATION_TYPE_NONE
      16. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DTS (0xb000000)
        AUDIO_ENCAPSULATION_TYPE_NONE
      17. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_IEC61937 (0xd000000)
        AUDIO_ENCAPSULATION_TYPE_NONE
      18. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_E_AC3_JOC (0xa000001)
        AUDIO_ENCAPSULATION_TYPE_NONE
      19. ""; [dynamic format]; AUDIO_FORMAT_MAT (0x24000000)
        sampling rates: 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      20. ""; [dynamic format]; AUDIO_FORMAT_IEC61937 (0xd000000)
        sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      21. ""; [dynamic format]; AUDIO_FORMAT_MAT_2_0 (0x24000002)
        sampling rates: 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      22. ""; [dynamic format]; AUDIO_FORMAT_DTS (0xb000000)
        sampling rates: 32000, 44100, 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
      23. ""; [dynamic format]; AUDIO_FORMAT_E_AC3_JOC (0xa000001)
        sampling rates: 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      24. ""; [dynamic format]; AUDIO_FORMAT_AC3 (0x9000000)
        sampling rates: 32000, 44100, 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
      25. ""; [dynamic format]; AUDIO_FORMAT_DOLBY_TRUEHD (0xe000000)
        sampling rates: 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      26. ""; [dynamic format]; AUDIO_FORMAT_E_AC3 (0xa000000)
        sampling rates: 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      27. ""; [dynamic format]; AUDIO_FORMAT_DTS_HD (0xc000000)
        sampling rates: 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (1):
      1. Port ID: 165; "HDMI_Sink"; {AUDIO_DEVICE_OUT_HDMI, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
    1. "immersive_out"; 0x40000 (AUDIO_OUTPUT_FLAG_SPATIALIZER)
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 48000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (3):
      1. "BT A2DP Out"; {AUDIO_DEVICE_OUT_BLUETOOTH_A2DP, @:}
      Encapsulation modes: 0, metadata types: 0
      2. "BT A2DP Headphones"; {AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES, @:}
      Encapsulation modes: 0, metadata types: 0
      3. "BT A2DP Speaker"; {AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
  • Input MixPorts (1):
    1. "primary input"; 0x0000 (AUDIO_INPUT_FLAG_NONE)
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 8000, 16000
        channel masks: 0x000c, 0x0010
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (2):
    1. Port ID: 5; "Built-In Mic"; {AUDIO_DEVICE_IN_BUILTIN_MIC, @:bottom}
      Encapsulation modes: 0, metadata types: 0
    2. "BT SCO Headset Mic"; {AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
  • Declared devices (10):
    1. Port ID: 2; "Speaker"; {AUDIO_DEVICE_OUT_SPEAKER, @:}
    Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 44100, 48000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
        2. "BT SCO"; {AUDIO_DEVICE_OUT_BLUETOOTH_SCO, @:}
        Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 8000, 16000
        channel masks: 0x0001
        AUDIO_ENCAPSULATION_TYPE_NONE
        3. "BT SCO Headset"; {AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET, @:}
        Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 8000, 16000
        channel masks: 0x0001
        AUDIO_ENCAPSULATION_TYPE_NONE
        4. "BT SCO Car Kit"; {AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT, @:}
        Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 8000, 16000
        channel masks: 0x0001
        AUDIO_ENCAPSULATION_TYPE_NONE
        5. "BT A2DP Out"; {AUDIO_DEVICE_OUT_BLUETOOTH_A2DP, @:}
        Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 44100, 48000, 88200, 96000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
        6. "BT A2DP Headphones"; {AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES, @:}
        Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 44100, 48000, 88200, 96000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
        7. "BT A2DP Speaker"; {AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER, @:}
        Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 44100, 48000, 88200, 96000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
        8. Port ID: 165; "HDMI_Sink"; {AUDIO_DEVICE_OUT_HDMI, @:}
        Encapsulation modes: 0, metadata types: 0
    • Profiles (14):
      1. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DEFAULT (0x0)
        AUDIO_ENCAPSULATION_TYPE_NONE
      2. ""; [dynamic format]; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      3. ""; [dynamic format]; AUDIO_FORMAT_PCM_8_24_BIT (0x4)
        sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      4. ""; [dynamic format]; AUDIO_FORMAT_PCM_32_BIT (0x3)
        sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      5. ""; [dynamic format]; AUDIO_FORMAT_PCM_FLOAT (0x5)
        sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      6. ""; [dynamic format]; AUDIO_FORMAT_MAT (0x24000000)
        sampling rates: 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      7. ""; [dynamic format]; AUDIO_FORMAT_IEC61937 (0xd000000)
        sampling rates: 32000, 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      8. ""; [dynamic format]; AUDIO_FORMAT_MAT_2_0 (0x24000002)
        sampling rates: 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      9. ""; [dynamic format]; AUDIO_FORMAT_DTS (0xb000000)
        sampling rates: 32000, 44100, 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
      10. ""; [dynamic format]; AUDIO_FORMAT_E_AC3_JOC (0xa000001)
        sampling rates: 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      11. ""; [dynamic format]; AUDIO_FORMAT_AC3 (0x9000000)
        sampling rates: 32000, 44100, 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f
        AUDIO_ENCAPSULATION_TYPE_NONE
      12. ""; [dynamic format]; AUDIO_FORMAT_DOLBY_TRUEHD (0xe000000)
        sampling rates: 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      13. ""; [dynamic format]; AUDIO_FORMAT_E_AC3 (0xa000000)
        sampling rates: 48000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
      14. ""; [dynamic format]; AUDIO_FORMAT_DTS_HD (0xc000000)
        sampling rates: 44100, 48000, 88200, 96000, 176400, 192000
        channel masks: 0x0003, 0x000b, 0x0033, 0x0037, 0x003f, 0x013f, 0x063f
        AUDIO_ENCAPSULATION_TYPE_NONE
        9. Port ID: 5; "Built-In Mic"; {AUDIO_DEVICE_IN_BUILTIN_MIC, @:bottom}
        Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 8000, 16000
        channel masks: 0x000c, 0x0010
        AUDIO_ENCAPSULATION_TYPE_NONE
        10. "BT SCO Headset Mic"; {AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, @:}
        Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 8000, 16000
        channel masks: 0x0010
        AUDIO_ENCAPSULATION_TYPE_NONE
  • Audio Routes (9):
    1. Mix; Sink: "Speaker"
      Sources: "primary_output"
    2. Mix; Sink: "HDMI_Sink"
      Sources: "hw_avsync", "mmap_no_irq_out", "ms12_compressed", "hdmi_compressed", "ms12_compressed_hw_avsync", "hw_avsync_compressed", "ms12_input_deep_buffer"
    3. Mix; Sink: "primary input"
      Sources: "Built-In Mic", "BT SCO Headset Mic"
    4. Mix; Sink: "BT A2DP Out"
      Sources: "fast", "immersive_out", "hw_avsync_bt", "ms12compressed_bt"
    5. Mix; Sink: "BT A2DP Headphones"
      Sources: "fast", "immersive_out", "hw_avsync_bt", "ms12compressed_bt"
    6. Mix; Sink: "BT A2DP Speaker"
      Sources: "fast", "immersive_out", "hw_avsync_bt", "ms12compressed_bt"
    7. Mix; Sink: "BT SCO"
      Sources: "primary_output"
    8. Mix; Sink: "BT SCO Headset"
      Sources: "primary_output"
    9. Mix; Sink: "BT SCO Car Kit"
      Sources: "primary_output"
  1. Handle: 18; "usb"
  • Output MixPorts (2):
    1. "usb_accessory output"; 0x0000 (AUDIO_OUTPUT_FLAG_NONE)
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 44100
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (1):
    1. "USB Host Out"; {AUDIO_DEVICE_OUT_USB_ACCESSORY, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
    1. "usb_device output"; 0x0000 (AUDIO_OUTPUT_FLAG_NONE)
    • Profiles (1):
      1. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DEFAULT (0x0)
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (2):
    1. "USB Device Out"; {AUDIO_DEVICE_OUT_USB_DEVICE, @:}
      Encapsulation modes: 0, metadata types: 0
    2. "USB Headset Out"; {AUDIO_DEVICE_OUT_USB_HEADSET, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
  • Input MixPorts (1):
    1. "usb_device input"; 0x0000 (AUDIO_INPUT_FLAG_NONE)
    • Profiles (1):
      1. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DEFAULT (0x0)
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (2):
    1. "USB Device In"; {AUDIO_DEVICE_IN_USB_DEVICE, @:}
      Encapsulation modes: 0, metadata types: 0
    2. "USB Headset In"; {AUDIO_DEVICE_IN_USB_HEADSET, @:}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
  • Declared devices (5):
    1. "USB Host Out"; {AUDIO_DEVICE_OUT_USB_ACCESSORY, @:}
    Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 44100
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
        2. "USB Device Out"; {AUDIO_DEVICE_OUT_USB_DEVICE, @:}
        Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DEFAULT (0x0)
        AUDIO_ENCAPSULATION_TYPE_NONE
        3. "USB Headset Out"; {AUDIO_DEVICE_OUT_USB_HEADSET, @:}
        Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DEFAULT (0x0)
        AUDIO_ENCAPSULATION_TYPE_NONE
        4. "USB Device In"; {AUDIO_DEVICE_IN_USB_DEVICE, @:}
        Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DEFAULT (0x0)
        AUDIO_ENCAPSULATION_TYPE_NONE
        5. "USB Headset In"; {AUDIO_DEVICE_IN_USB_HEADSET, @:}
        Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; [dynamic format][dynamic channels][dynamic rates]; AUDIO_FORMAT_DEFAULT (0x0)
        AUDIO_ENCAPSULATION_TYPE_NONE
  • Audio Routes (4):
    1. Mix; Sink: "USB Host Out"
      Sources: "usb_accessory output"
    2. Mix; Sink: "USB Device Out"
      Sources: "usb_device output"
    3. Mix; Sink: "USB Headset Out"
      Sources: "usb_device output"
    4. Mix; Sink: "usb_device input"
      Sources: "USB Device In", "USB Headset In"
  1. Handle: 26; "r_submix"
  • Output MixPorts (1):
    1. "r_submix output"; 0x0000 (AUDIO_OUTPUT_FLAG_NONE)
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 48000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (1):
    1. "Remote Submix Out"; {AUDIO_DEVICE_OUT_REMOTE_SUBMIX, @:0}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
  • Input MixPorts (1):
    1. "r_submix input"; 0x0000 (AUDIO_INPUT_FLAG_NONE)
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 48000
        channel masks: 0x000c
        AUDIO_ENCAPSULATION_TYPE_NONE
    • Supported devices (1):
    1. Port ID: 7; "Remote Submix In"; {AUDIO_DEVICE_IN_REMOTE_SUBMIX, @:0}
      Encapsulation modes: 0, metadata types: 0
    • maxOpenCount: 1; curOpenCount: 0
    • maxActiveCount: 1; curActiveCount: 0
    • recommendedMuteDurationMs: 0 ms
  • Declared devices (2):
    1. "Remote Submix Out"; {AUDIO_DEVICE_OUT_REMOTE_SUBMIX, @:0}
    Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 48000
        channel masks: 0x0003
        AUDIO_ENCAPSULATION_TYPE_NONE
        2. Port ID: 7; "Remote Submix In"; {AUDIO_DEVICE_IN_REMOTE_SUBMIX, @:0}
        Encapsulation modes: 0, metadata types: 0
    • Profiles (1):
      1. ""; AUDIO_FORMAT_PCM_16_BIT (0x1)
        sampling rates: 48000
        channel masks: 0x000c
        AUDIO_ENCAPSULATION_TYPE_NONE
  • Audio Routes (2):
    1. Mix; Sink: "Remote Submix Out"
      Sources: "r_submix output"
    2. Mix; Sink: "r_submix input"
      Sources: "Remote Submix In"

Outputs (3):

  1. Port ID: 1; I/O handle: 13; IOProfile name:primary_output; Latency: 127; 0x0002 (AUDIO_OUTPUT_FLAG_PRIMARY)
    AUDIO_FORMAT_PCM_16_BIT; 48000; Channel mask: 0x3
    Devices: {AUDIO_DEVICE_OUT_SPEAKER, @:}
    Global active count: 0
  • Product Strategies (1):
    id 20: - ActivityCount: 0, StopTime: 22586941444267,
  • Volume Activities (13):
    id 1: - ActivityCount: 0, StopTime: 0, , Volume: -758.000, MuteCount: 00
    id 2: - ActivityCount: 0, StopTime: 22586941444267, , Volume: -21.000, MuteCount: 00
    id 3: - ActivityCount: 0, StopTime: 0, , Volume: -758.000, MuteCount: 00
    id 4: - ActivityCount: 0, StopTime: 0, , Volume: -758.000, MuteCount: 00
    id 5: - ActivityCount: 0, StopTime: 0, , Volume: -758.000, MuteCount: 00
    id 6: - ActivityCount: 0, StopTime: 0, , Volume: -758.000, MuteCount: 00
    id 8: - ActivityCount: 0, StopTime: 0, , Volume: -758.000, MuteCount: 00
    id 9: - ActivityCount: 0, StopTime: 0, , Volume: -758.000, MuteCount: 00
    id 10: - ActivityCount: 0, StopTime: 0, , Volume: 0.000, MuteCount: 01
    id 11: - ActivityCount: 0, StopTime: 0, , Volume: -758.000, MuteCount: 00
    id 12: - ActivityCount: 0, StopTime: 0, , Volume: -758.000, MuteCount: 00
    id 13: - ActivityCount: 0, StopTime: 0, , Volume: 0.000, MuteCount: 00
    id 14: - ActivityCount: 0, StopTime: 0, , Volume: 0.000, MuteCount: 00
  1. Port ID: 174; I/O handle: 837; IOProfile name:ms12_input_deep_buffer; Latency: 233; 0x0008 (AUDIO_OUTPUT_FLAG_DEEP_BUFFER)
    AUDIO_FORMAT_PCM_16_BIT; 48000; Channel mask: 0x3
    Devices: {AUDIO_DEVICE_OUT_HDMI, @:}
    Global active count: 0
  • Product Strategies (1):
    id 20: - ActivityCount: 0, StopTime: 23671166936563,
  • Volume Activities (13):
    id 1: - ActivityCount: 0, StopTime: 0, , Volume: -22.750, MuteCount: 00
    id 2: - ActivityCount: 0, StopTime: 23671166936563, , Volume: -10.000, MuteCount: 00
    id 3: - ActivityCount: 0, StopTime: 0, , Volume: -22.425, MuteCount: 00
    id 4: - ActivityCount: 0, StopTime: 0, , Volume: 0.000, MuteCount: 00
    id 5: - ActivityCount: 0, StopTime: 0, , Volume: -25.750, MuteCount: 00
    id 6: - ActivityCount: 0, StopTime: 0, , Volume: -10.000, MuteCount: 00
    id 8: - ActivityCount: 0, StopTime: 0, , Volume: -10.000, MuteCount: 00
    id 9: - ActivityCount: 0, StopTime: 0, , Volume: -10.000, MuteCount: 00
    id 10: - ActivityCount: 0, StopTime: 0, , Volume: -96.000, MuteCount: 00
    id 11: - ActivityCount: 0, StopTime: 0, , Volume: 0.000, MuteCount: 00
    id 12: - ActivityCount: 0, StopTime: 0, , Volume: 0.000, MuteCount: 00
    id 13: - ActivityCount: 0, StopTime: 0, , Volume: 0.000, MuteCount: 00
    id 14: - ActivityCount: 0, StopTime: 0, , Volume: 0.000, MuteCount: 00
  • AudioTrack clients (1):
    1. Port ID: 176; Session ID: 113; uid 1000; State: Inactive
      AUDIO_FORMAT_PCM_16_BIT; 48000; Channel mask: 0x3
      Attributes: { Content type: AUDIO_CONTENT_TYPE_SONIFICATION Usage: AUDIO_USAGE_ASSISTANCE_SONIFICATION Source: AUDIO_SOURCE_DEFAULT Flags: 0x900 Tags: }
      Stream: 1; Flags: 00000004; Refcount: 0
      DAP Primary Mix: 0x0
  1. Port ID: 175; I/O handle: 845; Latency: 233; 0x0000 (AUDIO_OUTPUT_FLAG_NONE)
    AUDIO_FORMAT_PCM_16_BIT; 48000; Channel mask: 0x3
    Devices: {AUDIO_DEVICE_OUT_SPEAKER, @:;AUDIO_DEVICE_OUT_HDMI, @:}
    Global active count: 0
  • Volume Activities (13):
    id 1: - ActivityCount: 0, StopTime: 0, , Volume: -11.879, MuteCount: 00
    id 2: - ActivityCount: 0, StopTime: 0, , Volume: -21.000, MuteCount: 00
    id 3: - ActivityCount: 0, StopTime: 0, , Volume: -18.725, MuteCount: 00
    id 4: - ActivityCount: 0, StopTime: 0, , Volume: 0.000, MuteCount: 00
    id 5: - ActivityCount: 0, StopTime: 0, , Volume: -22.750, MuteCount: 00
    id 6: - ActivityCount: 0, StopTime: 0, , Volume: 0.000, MuteCount: 00
    id 8: - ActivityCount: 0, StopTime: 0, , Volume: -20.000, MuteCount: 00
    id 9: - ActivityCount: 0, StopTime: 0, , Volume: -14.000, MuteCount: 00
    id 10: - ActivityCount: 0, StopTime: 0, , Volume: 0.000, MuteCount: 00
    id 11: - ActivityCount: 0, StopTime: 0, , Volume: 0.000, MuteCount: 00
    id 12: - ActivityCount: 0, StopTime: 0, , Volume: 0.000, MuteCount: 00
    id 13: - ActivityCount: 0, StopTime: 0, , Volume: 0.000, MuteCount: 00
    id 14: - ActivityCount: 0, StopTime: 0, , Volume: 0.000, MuteCount: 00

Inputs (0):

Total Effects CPU: 0.000000 MIPS, Total Effects memory: 0 KB, Max memory used: 0 KB

Audio Patches (1):

  1. owner uid 1041; handle 3; af handle 12
    [src 1] Mix Port ID: 1; I/O handle: 13;
    [sink 1] Device Port ID: 2; {AUDIO_DEVICE_OUT_SPEAKER, @:}

Audio Policy Mix:

Audio sources (0):
AllowedCapturePolicies:

  • uid=10115 flag_mask=0x1400
    Preferred mixer audio configuration:

Policy Engine dump:
Product Strategies dump:
-STRATEGY_PHONE (id: 15)
Selected Device: {AUDIO_DEVICE_OUT_SPEAKER, @:}
Group: 1 stream: AUDIO_STREAM_VOICE_CALL
Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_VOICE_COMMUNICATION Source: AUDIO_SOURCE_INVALID Flags: 0x0 Tags: }
Group: 7 stream: AUDIO_STREAM_BLUETOOTH_SCO
Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_UNKNOWN Source: AUDIO_SOURCE_INVALID Flags: 0x4 Tags: }

-STRATEGY_SONIFICATION (id: 16)
  Selected Device: {AUDIO_DEVICE_OUT_SPEAKER, @:}
   Group: 3 stream: AUDIO_STREAM_RING
    Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_NOTIFICATION_TELEPHONY_RINGTONE Source: AUDIO_SOURCE_INVALID Flags: 0x0 Tags:  }
   Group: 5 stream: AUDIO_STREAM_ALARM
    Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_ALARM Source: AUDIO_SOURCE_INVALID Flags: 0x0 Tags:  }

-STRATEGY_ENFORCED_AUDIBLE (id: 17)
  Selected Device: {AUDIO_DEVICE_OUT_HDMI, @:}
   Group: 8 stream: AUDIO_STREAM_ENFORCED_AUDIBLE
    Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_UNKNOWN Source: AUDIO_SOURCE_INVALID Flags: 0x1 Tags:  }

-STRATEGY_ACCESSIBILITY (id: 18)
  Selected Device: {AUDIO_DEVICE_OUT_HDMI, @:}
   Group: 11 stream: AUDIO_STREAM_ACCESSIBILITY
    Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY Source: AUDIO_SOURCE_INVALID Flags: 0x0 Tags:  }

-STRATEGY_SONIFICATION_RESPECTFUL (id: 19)
  Selected Device: {AUDIO_DEVICE_OUT_HDMI, @:}
   Group: 6 stream: AUDIO_STREAM_NOTIFICATION
    Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_NOTIFICATION Source: AUDIO_SOURCE_INVALID Flags: 0x0 Tags:  }
   Group: 6 stream: AUDIO_STREAM_NOTIFICATION
    Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_NOTIFICATION_EVENT Source: AUDIO_SOURCE_INVALID Flags: 0x0 Tags:  }

-STRATEGY_MEDIA (id: 20)
  Selected Device: {AUDIO_DEVICE_OUT_HDMI, @:}
   Group: 12 stream: AUDIO_STREAM_ASSISTANT
    Attributes: { Content type: AUDIO_CONTENT_TYPE_SPEECH Usage: AUDIO_USAGE_ASSISTANT Source: AUDIO_SOURCE_INVALID Flags: 0x0 Tags:  }
   Group: 4 stream: AUDIO_STREAM_MUSIC
    Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_MEDIA Source: AUDIO_SOURCE_INVALID Flags: 0x0 Tags:  }
   Group: 4 stream: AUDIO_STREAM_MUSIC
    Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_GAME Source: AUDIO_SOURCE_INVALID Flags: 0x0 Tags:  }
   Group: 4 stream: AUDIO_STREAM_MUSIC
    Attributes: { Any }
   Group: 2 stream: AUDIO_STREAM_SYSTEM
    Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_ASSISTANCE_SONIFICATION Source: AUDIO_SOURCE_INVALID Flags: 0x0 Tags:  }
   Group: 2 stream: AUDIO_STREAM_SYSTEM
    Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_ASSISTANT Source: AUDIO_SOURCE_INVALID Flags: 0x0 Tags:  }
   Group: 2 stream: AUDIO_STREAM_SYSTEM
    Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE Source: AUDIO_SOURCE_INVALID Flags: 0x0 Tags:  }

-STRATEGY_DTMF (id: 21)
  Selected Device: {AUDIO_DEVICE_OUT_HDMI, @:}
   Group: 9 stream: AUDIO_STREAM_DTMF
    Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING Source: AUDIO_SOURCE_INVALID Flags: 0x0 Tags:  }

-STRATEGY_TRANSMITTED_THROUGH_SPEAKER (id: 22)
  Selected Device: {AUDIO_DEVICE_OUT_SPEAKER, @:}
   Group: 10 stream: AUDIO_STREAM_TTS
    Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_UNKNOWN Source: AUDIO_SOURCE_INVALID Flags: 0x8 Tags:  }

-STRATEGY_REROUTING (id: 23)
  Selected Device: {AUDIO_DEVICE_OUT_HDMI, @:}
   Group: 13 stream: AUDIO_STREAM_REROUTING
    Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_VIRTUAL_SOURCE Source: AUDIO_SOURCE_INVALID Flags: 0x0 Tags: reserved_internal_strategy }

-STRATEGY_PATCH (id: 24)
  Selected Device: {AUDIO_DEVICE_OUT_HDMI, @:}
   Group: 14 stream: AUDIO_STREAM_PATCH
    Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_UNKNOWN Source: AUDIO_SOURCE_INVALID Flags: 0x0 Tags: reserved_internal_strategy }

Device role per product strategy dump:

Device role per capture preset dump:

Volume Groups dump:
-voice_call (id: 1)
Volume Curves Streams/Attributes, Curve points Streams for device category (index, attenuation in millibel)
Streams: AUDIO_STREAM_VOICE_CALL(0)
Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_VOICE_COMMUNICATION Source: AUDIO_SOURCE_DEFAULT Flags: 0x0 Tags: }
DEVICE_CATEGORY_HEADSET : { ( 0, -4200), ( 33, -2800), ( 66, -1400), (100, 0) }
DEVICE_CATEGORY_SPEAKER : { ( 0, -2400), ( 33, -1600), ( 66, -800), (100, 0) }
DEVICE_CATEGORY_EARPIECE : { ( 0, -2700), ( 33, -1800), ( 66, -900), (100, 0) }
DEVICE_CATEGORY_EXT_MEDIA : { ( 1, -5800), ( 20, -4000), ( 60, -1700), (100, 0) }
DEVICE_CATEGORY_HEARING_AID : { ( 1, -12700), ( 20, -8000), ( 60, -4000), (100, 0) }
Can be muted Index Min Index Max Index Cur [device : index]...
true 01 07 0002 : 04, 0400 : 07, 40000000 : 02,

-system (id: 2)
  Volume Curves Streams/Attributes, Curve points Streams for device category (index, attenuation in millibel)
   Streams: AUDIO_STREAM_SYSTEM(1)
   Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_ASSISTANCE_SONIFICATION Source: AUDIO_SOURCE_DEFAULT Flags: 0x0 Tags:  }
                { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_ASSISTANT Source: AUDIO_SOURCE_DEFAULT Flags: 0x0 Tags:  }
                { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE Source: AUDIO_SOURCE_DEFAULT Flags: 0x0 Tags:  }
   DEVICE_CATEGORY_HEADSET : { (  1, -3000),  ( 33, -2600),  ( 66, -2200),  (100, -1800) }
   DEVICE_CATEGORY_SPEAKER : { (  1, -5100),  ( 57, -2800),  ( 71, -2500),  ( 85, -2300),  (100, -2100) }
   DEVICE_CATEGORY_EARPIECE : { (  1, -2400),  ( 33, -1800),  ( 66, -1200),  (100,  -600) }
   DEVICE_CATEGORY_EXT_MEDIA : { (  1, -5800),  ( 20, -4000),  ( 60, -2100),  (100, -1000) }
   DEVICE_CATEGORY_HEARING_AID : { (  1, -12700),  ( 20, -8000),  ( 60, -4000),  (100,     0) }
    Can be muted  Index Min  Index Max  Index Cur [device : index]...
    true          00         07         0002 : 07, 0400 : 07, 40000000 : 01,


-ring (id: 3)
  Volume Curves Streams/Attributes, Curve points Streams for device category (index, attenuation in millibel)
   Streams: AUDIO_STREAM_RING(2)
   Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_NOTIFICATION_TELEPHONY_RINGTONE Source: AUDIO_SOURCE_DEFAULT Flags: 0x0 Tags:  }
   DEVICE_CATEGORY_HEADSET : { (  1, -4950),  ( 33, -3350),  ( 66, -1700),  (100,     0) }
   DEVICE_CATEGORY_SPEAKER : { (  1, -5800),  ( 20, -4000),  ( 60, -1700),  (100,     0) }
   DEVICE_CATEGORY_EARPIECE : { (  1, -4950),  ( 33, -3350),  ( 66, -1700),  (100,     0) }
   DEVICE_CATEGORY_EXT_MEDIA : { (  1, -5800),  ( 20, -4000),  ( 60, -2100),  (100, -1000) }
   DEVICE_CATEGORY_HEARING_AID : { (  1, -12700),  ( 20, -8000),  ( 60, -4000),  (100,     0) }
    Can be muted  Index Min  Index Max  Index Cur [device : index]...
    true          00         07         0002 : 04, 0400 : 07, 40000000 : 01,


-music (id: 4)
  Volume Curves Streams/Attributes, Curve points Streams for device category (index, attenuation in millibel)
   Streams: AUDIO_STREAM_MUSIC(3)
   Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_MEDIA Source: AUDIO_SOURCE_DEFAULT Flags: 0x0 Tags:  }
                { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_GAME Source: AUDIO_SOURCE_DEFAULT Flags: 0x0 Tags:  }
                { Any }
   DEVICE_CATEGORY_HEADSET : { (  1, -5800),  ( 20, -4000),  ( 60, -1700),  (100,     0) }
   DEVICE_CATEGORY_SPEAKER : { (  1, -5800),  ( 20, -4000),  ( 60, -1700),  (100,     0) }
   DEVICE_CATEGORY_EARPIECE : { (  1, -5800),  ( 20, -4000),  ( 60, -1700),  (100,     0) }
   DEVICE_CATEGORY_EXT_MEDIA : { (  1, -5800),  ( 20, -4000),  ( 60, -1700),  (100,     0) }
   DEVICE_CATEGORY_HEARING_AID : { (  1, -12700),  ( 20, -8000),  ( 60, -4000),  (100,     0) }
    Can be muted  Index Min  Index Max  Index Cur [device : index]...
    true          00         15         0002 : 15, 0400 : 15, 40000000 : 03,


-alarm (id: 5)
  Volume Curves Streams/Attributes, Curve points Streams for device category (index, attenuation in millibel)
   Streams: AUDIO_STREAM_ALARM(4)
   Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_ALARM Source: AUDIO_SOURCE_DEFAULT Flags: 0x0 Tags:  }
   DEVICE_CATEGORY_HEADSET : { (  0, -4950),  ( 33, -3350),  ( 66, -1700),  (100,     0) }
   DEVICE_CATEGORY_SPEAKER : { (  0, -5800),  ( 20, -4000),  ( 60, -1700),  (100,     0) }
   DEVICE_CATEGORY_EARPIECE : { (  0, -4950),  ( 33, -3350),  ( 66, -1700),  (100,     0) }
   DEVICE_CATEGORY_EXT_MEDIA : { (  0, -5800),  ( 20, -4000),  ( 60, -2100),  (100, -1000) }
   DEVICE_CATEGORY_HEARING_AID : { (  0, -12700),  ( 20, -8000),  ( 60, -4000),  (100,     0) }
    Can be muted  Index Min  Index Max  Index Cur [device : index]...
    true          01         07         0002 : 04, 0400 : 07, 40000000 : 02,


-notification (id: 6)
  Volume Curves Streams/Attributes, Curve points Streams for device category (index, attenuation in millibel)
   Streams: AUDIO_STREAM_NOTIFICATION(5)
   Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_NOTIFICATION Source: AUDIO_SOURCE_DEFAULT Flags: 0x0 Tags:  }
                { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_NOTIFICATION_EVENT Source: AUDIO_SOURCE_DEFAULT Flags: 0x0 Tags:  }
   DEVICE_CATEGORY_HEADSET : { (  1, -4950),  ( 33, -3350),  ( 66, -1700),  (100,     0) }
   DEVICE_CATEGORY_SPEAKER : { (  1, -4680),  ( 42, -2070),  ( 85,  -540),  (100,     0) }
   DEVICE_CATEGORY_EARPIECE : { (  1, -4950),  ( 33, -3350),  ( 66, -1700),  (100,     0) }
   DEVICE_CATEGORY_EXT_MEDIA : { (  1, -5800),  ( 20, -4000),  ( 60, -2100),  (100, -1000) }
   DEVICE_CATEGORY_HEARING_AID : { (  1, -4950),  ( 33, -3350),  ( 66, -1700),  (100,     0) }
    Can be muted  Index Min  Index Max  Index Cur [device : index]...
    true          00         07         0002 : 07, 0400 : 07, 40000000 : 01,


-bluetooth_sco (id: 7)
  Volume Curves Streams/Attributes, Curve points Streams for device category (index, attenuation in millibel)
   Streams: AUDIO_STREAM_BLUETOOTH_SCO(6)
   Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_UNKNOWN Source: AUDIO_SOURCE_DEFAULT Flags: 0x4 Tags:  }
   DEVICE_CATEGORY_HEADSET : { (  0, -4200),  ( 33, -2800),  ( 66, -1400),  (100,     0) }
   DEVICE_CATEGORY_SPEAKER : { (  0, -2400),  ( 33, -1600),  ( 66,  -800),  (100,     0) }
   DEVICE_CATEGORY_EARPIECE : { (  0, -4200),  ( 33, -2800),  ( 66, -1400),  (100,     0) }
   DEVICE_CATEGORY_EXT_MEDIA : { (  1, -5800),  ( 20, -4000),  ( 60, -1700),  (100,     0) }
   DEVICE_CATEGORY_HEARING_AID : { (  1, -12700),  ( 20, -8000),  ( 60, -4000),  (100,     0) }
    Can be muted  Index Min  Index Max  Index Cur [device : index]...
    true          00         15         0002 : 07, 40000000 : 07,


-enforced_audible (id: 8)
  Volume Curves Streams/Attributes, Curve points Streams for device category (index, attenuation in millibel)
   Streams: AUDIO_STREAM_ENFORCED_AUDIBLE(7)
   Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_UNKNOWN Source: AUDIO_SOURCE_DEFAULT Flags: 0x1 Tags:  }
   DEVICE_CATEGORY_HEADSET : { (  1, -3000),  ( 33, -2600),  ( 66, -2200),  (100, -1800) }
   DEVICE_CATEGORY_SPEAKER : { (  1, -3400),  ( 71, -2400),  (100, -2000) }
   DEVICE_CATEGORY_EARPIECE : { (  1, -2400),  ( 33, -1800),  ( 66, -1200),  (100,  -600) }
   DEVICE_CATEGORY_EXT_MEDIA : { (  1, -5800),  ( 20, -4000),  ( 60, -2100),  (100, -1000) }
   DEVICE_CATEGORY_HEARING_AID : { (  1, -12700),  ( 20, -8000),  ( 60, -4000),  (100,     0) }
    Can be muted  Index Min  Index Max  Index Cur [device : index]...
    true          00         07         0002 : 07, 0400 : 07, 40000000 : 01,


-dtmf (id: 9)
  Volume Curves Streams/Attributes, Curve points Streams for device category (index, attenuation in millibel)
   Streams: AUDIO_STREAM_DTMF(8)
   Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING Source: AUDIO_SOURCE_DEFAULT Flags: 0x0 Tags:  }
   DEVICE_CATEGORY_HEADSET : { (  1, -3000),  ( 33, -2600),  ( 66, -2200),  (100, -1800) }
   DEVICE_CATEGORY_SPEAKER : { (  1, -4000),  ( 71, -2400),  (100, -1400) }
   DEVICE_CATEGORY_EARPIECE : { (  1, -2400),  ( 33, -1800),  ( 66, -1200),  (100,  -600) }
   DEVICE_CATEGORY_EXT_MEDIA : { (  1, -5800),  ( 20, -4000),  ( 60, -2100),  (100, -1000) }
   DEVICE_CATEGORY_HEARING_AID : { (  1, -12700),  ( 20, -8000),  ( 60, -4000),  (100,     0) }
    Can be muted  Index Min  Index Max  Index Cur [device : index]...
    true          00         15         0002 : 15, 0400 : 15, 40000000 : 03,


-tts (id: 10)
  Volume Curves Streams/Attributes, Curve points Streams for device category (index, attenuation in millibel)
   Streams: AUDIO_STREAM_TTS(9)
   Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_UNKNOWN Source: AUDIO_SOURCE_DEFAULT Flags: 0x8 Tags:  }
   DEVICE_CATEGORY_HEADSET : { (  0, -9600),  (100, -9600) }
   DEVICE_CATEGORY_SPEAKER : { (  0,     0),  (100,     0) }
   DEVICE_CATEGORY_EARPIECE : { (  0, -9600),  (100, -9600) }
   DEVICE_CATEGORY_EXT_MEDIA : { (  0, -9600),  (100, -9600) }
   DEVICE_CATEGORY_HEARING_AID : { (  0, -9600),  (100, -9600) }
    Can be muted  Index Min  Index Max  Index Cur [device : index]...
    true          00         15         0002 : 08, 0400 : 15, 40000000 : 03,


-accessibility (id: 11)
  Volume Curves Streams/Attributes, Curve points Streams for device category (index, attenuation in millibel)
   Streams: AUDIO_STREAM_ACCESSIBILITY(10)
   Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY Source: AUDIO_SOURCE_DEFAULT Flags: 0x0 Tags:  }
   DEVICE_CATEGORY_HEADSET : { (  0, -5800),  ( 20, -4000),  ( 60, -1700),  (100,     0) }
   DEVICE_CATEGORY_SPEAKER : { (  0, -5800),  ( 20, -4000),  ( 60, -1700),  (100,     0) }
   DEVICE_CATEGORY_EARPIECE : { (  0, -5800),  ( 20, -4000),  ( 60, -1700),  (100,     0) }
   DEVICE_CATEGORY_EXT_MEDIA : { (  0, -5800),  ( 20, -4000),  ( 60, -1700),  (100,     0) }
   DEVICE_CATEGORY_HEARING_AID : { (  0, -12700),  ( 20, -8000),  ( 60, -4000),  (100,     0) }
    Can be muted  Index Min  Index Max  Index Cur [device : index]...
    true          01         15         0002 : 15, 0400 : 15, 40000000 : 04,


-assistant (id: 12)
  Volume Curves Streams/Attributes, Curve points Streams for device category (index, attenuation in millibel)
   Streams: AUDIO_STREAM_ASSISTANT(11)
   Attributes: { Content type: AUDIO_CONTENT_TYPE_SPEECH Usage: AUDIO_USAGE_ASSISTANT Source: AUDIO_SOURCE_DEFAULT Flags: 0x0 Tags:  }
   DEVICE_CATEGORY_HEADSET : { (  1, -5800),  ( 20, -4000),  ( 60, -1700),  (100,     0) }
   DEVICE_CATEGORY_SPEAKER : { (  1, -5800),  ( 20, -4000),  ( 60, -1700),  (100,     0) }
   DEVICE_CATEGORY_EARPIECE : { (  1, -5800),  ( 20, -4000),  ( 60, -1700),  (100,     0) }
   DEVICE_CATEGORY_EXT_MEDIA : { (  1, -5800),  ( 20, -4000),  ( 60, -1700),  (100,     0) }
   DEVICE_CATEGORY_HEARING_AID : { (  1, -12700),  ( 20, -8000),  ( 60, -4000),  (100,     0) }
    Can be muted  Index Min  Index Max  Index Cur [device : index]...
    true          00         15         0002 : 15, 0400 : 15, 40000000 : 03,


-AUDIO_STREAM_REROUTING (id: 13)
  Volume Curves Streams/Attributes, Curve points Streams for device category (index, attenuation in millibel)
   Streams: AUDIO_STREAM_REROUTING(12)
   Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_VIRTUAL_SOURCE Source: AUDIO_SOURCE_DEFAULT Flags: 0x0 Tags: reserved_internal_strategy }
   DEVICE_CATEGORY_HEADSET : { (  0,     0),  (100,     0) }
   DEVICE_CATEGORY_SPEAKER : { (  0,     0),  (100,     0) }
   DEVICE_CATEGORY_EARPIECE : { (  0,     0),  (100,     0) }
   DEVICE_CATEGORY_EXT_MEDIA : { (  0,     0),  (100,     0) }
   DEVICE_CATEGORY_HEARING_AID : { (  0,     0),  (100,     0) }
    Can be muted  Index Min  Index Max  Index Cur [device : index]...
    true          00         01         40000000 : 00,


-AUDIO_STREAM_PATCH (id: 14)
  Volume Curves Streams/Attributes, Curve points Streams for device category (index, attenuation in millibel)
   Streams: AUDIO_STREAM_PATCH(13)
   Attributes: { Content type: AUDIO_CONTENT_TYPE_UNKNOWN Usage: AUDIO_USAGE_UNKNOWN Source: AUDIO_SOURCE_DEFAULT Flags: 0x0 Tags: reserved_internal_strategy }
   DEVICE_CATEGORY_HEADSET : { (  0,     0),  (100,     0) }
   DEVICE_CATEGORY_SPEAKER : { (  0,     0),  (100,     0) }
   DEVICE_CATEGORY_EARPIECE : { (  0,     0),  (100,     0) }
   DEVICE_CATEGORY_EXT_MEDIA : { (  0,     0),  (100,     0) }
   DEVICE_CATEGORY_HEARING_AID : { (  0,     0),  (100,     0) }
    Can be muted  Index Min  Index Max  Index Cur [device : index]...
    true          00         01         40000000 : 00,

Allow playback capture log:
Package manager errors: 2

  • uid= 1000, allowPlaybackCapture=true , packageName=com.android.location.fused
  • uid= 1000, allowPlaybackCapture=true , packageName=com.android.tv.feedbackconsent
  • uid= 1000, allowPlaybackCapture=true , packageName=com.google.android.chromecast.appstate
  • uid= 1000, allowPlaybackCapture=true , packageName=com.android.wallpaperbackup
  • uid= 1000, allowPlaybackCapture=true , packageName=com.android.dynsystem
  • uid= 1000, allowPlaybackCapture=true , packageName=android
  • uid= 1000, allowPlaybackCapture=true , packageName=com.android.keychain
  • uid= 1000, allowPlaybackCapture=true , packageName=com.android.inputdevices
  • uid= 1000, allowPlaybackCapture=true , packageName=com.android.providers.settings
  • uid= 1000, allowPlaybackCapture=true , packageName=com.google.android.chromecast.chromecastservice
  • uid= 1000, allowPlaybackCapture=true , packageName=com.android.localtransport
  • uid= 1000, allowPlaybackCapture=true , packageName=com.android.tv.settings
  • uid=10058, allowPlaybackCapture=true , packageName=com.google.android.apps.mediashell
  • uid=10064, allowPlaybackCapture=true , packageName=com.google.android.katniss
  • uid=10116, allowPlaybackCapture=true , packageName=com.google.android.youtube.tv
  • uid=10128, allowPlaybackCapture=true , packageName=com.directv.dtvlatam
  • uid=10146, allowPlaybackCapture=true , packageName=tv.emby.embyatv
    Spatializer:
    Supported levels: [ NONE SPATIALIZER_MULTICHANNEL], mLevel: NONE
    mHeadTrackingModes: [ DISABLED RELATIVE_WORLD], Desired: WORLD_RELATIVE, Actual DISABLED
    mSpatializationModes: [ SPATIALIZER_BINAURAL]
    mChannelMasks: AUDIO_CHANNEL_OUT_5POINT1
    mSupportsHeadTracking: true
    mNumActiveTracks: 0
    OutputStreamHandle: 0
    HeadSensorHandle: 0xffffffff
    ScreenSensorHandle: 0xffffffff
    EffectHandle: 0x0
    DisplayOrientation: 0.000000
    CommandLog:
    11-26 17:30:05.583 setLevel with NONE
    11-26 17:30:05.584 setDesiredHeadTrackingMode with RELATIVE_WORLD
    11-26 17:36:21.348 setLevel with NONE
    11-26 17:36:21.350 setDesiredHeadTrackingMode with RELATIVE_WORLD
    11-26 17:36:24.670 setLevel with NONE
    11-26 17:36:24.671 setDesiredHeadTrackingMode with RELATIVE_WORLD
    11-26 17:37:08.056 setLevel with NONE
    11-26 17:37:08.057 setDesiredHeadTrackingMode with RELATIVE_WORLD
    11-26 17:37:10.995 setLevel with NONE
    11-26 17:37:10.996 setDesiredHeadTrackingMode with RELATIVE_WORLD
    SpatializerPoseController not exist

IAudioPolicyService binder call profile
2 setDeviceConnectionState n=17 ave=270.291 std=224.537 min=40.7685 max=614.351
3 getDeviceConnectionState n=9 ave=3.54481 std=10.2933 min=0.034613 max=30.9911
6 setForceUse n=13 ave=1.21482 std=1.65057 min=0.365229 max=6.13038
8 getOutput n=108 ave=0.672352 std=0.674485 min=0.380307 max=6.19908
17 initStreamVolume n=12 ave=0.0612422 std=0.00502973 min=0.053767 max=0.072615
18 setStreamVolumeIndex n=1964 ave=0.952301 std=0.83138 min=0.205845 max=11.7852
20 setVolumeIndexForAttributes n=39 ave=1.45506 std=2.42089 min=0.187076 max=13.2463
22 getMaxVolumeIndexForAttributes n=17 ave=0.0425006 std=0.0182065 min=0.032613 max=0.100998
23 getMinVolumeIndexForAttributes n=17 ave=0.0390166 std=0.00986612 min=0.032229 max=0.069459
25 getDevicesForAttributes n=509 ave=0.357219 std=0.336811 min=0.074229 max=5.38069
31 isStreamActive n=1334 ave=0.0558399 std=0.0540628 min=0.018538 max=1.61931
39 setSupportedSystemUsages n=1 ave=0.043691 min=0.043691 max=0.043691
40 setAllowedCapturePolicy n=1 ave=0.07046 min=0.07046 max=0.07046
42 isDirectOutputSupported n=89 ave=0.669349 std=0.428152 min=0.384615 max=3.39215
43 listAudioPorts n=276 ave=1.76148 std=9.2611 min=0.023613 max=111.786
48 listAudioPatches n=258 ave=0.286844 std=1.78977 min=0.031767 max=23.912
50 registerClient n=25 ave=0.0865864 std=0.0430052 min=0.030229 max=0.246229
51 setAudioPortCallbacksEnabled n=35 ave=0.0283833 std=0.0117582 min=0.008769 max=0.055768
52 setAudioVolumeGroupCallbacksEnabled n=25 ave=0.021537 std=0.00874604 min=0.011461 max=0.044076
63 setMasterMono n=6 ave=0.0477677 std=0.0134086 min=0.02546 max=0.056998
65 getStreamVolumeDB n=79 ave=0.0737493 std=0.0400107 min=0.026383 max=0.303692
68 getHwOffloadFormatsSupportedForBluetoothMedia n=1 ave=0.172459 min=0.172459 max=0.172459
70 setAssistantServicesUids n=3 ave=177.177 std=306.795 min=0.039537 max=531.434
71 setActiveAssistantServicesUids n=2 ave=1.38008 std=1.9056 min=0.032615 max=2.72754
72 setA11yServicesUids n=6 ave=92.6841 std=226.913 min=0.042845 max=555.868
73 setCurrentImeUid n=1 ave=0.680076 min=0.680076 max=0.680076
77 listAudioProductStrategies n=6 ave=0.977486 std=1.60846 min=0.200613 max=4.24608
79 listAudioVolumeGroups n=1 ave=0.253229 min=0.253229 max=0.253229
81 setRttEnabled n=2 ave=0.017384 std=0.00728886 min=0.01223 max=0.022538
82 isCallScreenModeSupported n=1 ave=0.029306 min=0.029306 max=0.029306
92 registerSoundTriggerCaptureStateListener n=1 ave=0.129153 min=0.129153 max=0.129153
93 getSpatializer n=2 ave=0.125114 std=0.0213773 min=0.109998 max=0.14023

@courville
Copy link
Contributor

@branches78 thanks for the feedback and logs/debug.
We have indeed spotted a regression for passthrough with nova version 6.3 compared to 6.2.
We need to figure out if it is linked to ffmpeg upstep.

@branches78
Copy link
Author

Hello and thank you for letting me know!.

By the way, in the "media.audio_policy" output you may see that the device has TrueHD and DTS-HD Master Audio support but it's not true, Google still has to remove those traces from there, we should get TrueHD decoded as multichannel PCM and the DTS Core should passthrough from DTS-HD streams as in my initial screenshot.

@branches78
Copy link
Author

So I tested version 6.3.11 and this is the current output, logs attached:

image

Atmos not in sync with video.log
DTS 5.1 96Khz.log
PCM 6.1.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants