Needed for HDMI pass-through.
This detail was missing from earlier streams.
Bug:
22037731
Change-Id: I2df47c4dea779e20104b937164d4b312a1694059
Signed-off-by: Phil Burk <philburk@google.com>
return false;
}
+ // bitstream mode, main, commentary, etc.
+ uint32_t bsmod = mHeaderBuffer[5] & 7;
+ mDataTypeInfo = bsmod; // as per IEC61937-3, table 3.
+
// The names fscod, frmsiz are from the AC3 spec.
uint32_t fscod = mHeaderBuffer[4] >> 6;
if (mDataType == SPDIF_DATA_TYPE_E_AC3) {