From 556c3d8be7cdea22db480a1c47b074b84178cd2f 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: I91a8b8547fd669af2634863311f032dad22c3ded --- 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