From 488ea4ea02af994c6b8f02af1c2b140391994bb2 Mon Sep 17 00:00:00 2001 From: Dean Wheatley Date: Tue, 13 Feb 2024 05:39:47 +1100 Subject: [PATCH] Support 192kHz sample rate in AIDL remote submix 192kHz is used for IEC61937 encapsulated E-AC3-JOC streams. Bug: 311830316 Change-Id: Ie9daaa0b8153ead5ee3f61fb4381f2ff73fd984e --- audio/aidl/default/Configuration.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/audio/aidl/default/Configuration.cpp b/audio/aidl/default/Configuration.cpp index 54e2d18122..0ff8eb4e18 100644 --- a/audio/aidl/default/Configuration.cpp +++ b/audio/aidl/default/Configuration.cpp @@ -324,9 +324,9 @@ std::unique_ptr getPrimaryConfiguration() { // // Mix ports: // * "r_submix output", maximum 10 opened streams, maximum 10 active streams -// - profile PCM 16-bit; STEREO; 8000, 11025, 16000, 32000, 44100, 48000 +// - profile PCM 16-bit; STEREO; 8000, 11025, 16000, 32000, 44100, 48000, 192000 // * "r_submix input", maximum 10 opened streams, maximum 10 active streams -// - profile PCM 16-bit; STEREO; 8000, 11025, 16000, 32000, 44100, 48000 +// - profile PCM 16-bit; STEREO; 8000, 11025, 16000, 32000, 44100, 48000, 192000 // // Routes: // "r_submix output" -> "Remote Submix Out" @@ -337,7 +337,7 @@ std::unique_ptr getRSubmixConfiguration() { Configuration c; const std::vector remoteSubmixPcmAudioProfiles{ createProfile(PcmType::INT_16_BIT, {AudioChannelLayout::LAYOUT_STEREO}, - {8000, 11025, 16000, 32000, 44100, 48000})}; + {8000, 11025, 16000, 32000, 44100, 48000, 192000})}; // Device ports