commit | f14e77fef40420ac18d066f0de0486803b941742 | [log] [tgz] |
---|---|---|
author | Dean Wheatley <dwhea@dolby.com> | Thu Mar 23 15:52:01 2017 +1100 |
committer | Dean Wheatley <dwhea@dolby.com> | Tue Oct 01 10:57:17 2019 +1000 |
tree | 1d2605f264d85476362829da612769e591ce2c8f | |
parent | 87025d5658d1a3d78c1a634035f7126f0ba8a4f1 [diff] [blame] |
SpdifStreamOut: Support AUDIO_FORMAT_E_AC3_JOC Test: build Change-Id: Iac3dc90e136d625ecbd95eea5c2eea13fc938657
diff --git a/services/audioflinger/SpdifStreamOut.cpp b/services/audioflinger/SpdifStreamOut.cpp index a44ab2a..c7aba79 100644 --- a/services/audioflinger/SpdifStreamOut.cpp +++ b/services/audioflinger/SpdifStreamOut.cpp
@@ -59,6 +59,7 @@ // TODO Move this into the audio_utils as a static method. switch(config->format) { case AUDIO_FORMAT_E_AC3: + case AUDIO_FORMAT_E_AC3_JOC: mRateMultiplier = 4; break; case AUDIO_FORMAT_AC3: