Adjust the comment lines

This commit is contained in:
Tianyi Feng 2023-05-17 13:08:07 +00:00
parent f69718e5ad
commit 9d147f2227

View File

@ -161,12 +161,12 @@ public final class DtsUtil {
*/ */
public static int parseDtsAudioSampleCount(ByteBuffer buffer) { public static int parseDtsAudioSampleCount(ByteBuffer buffer) {
if ((buffer.getInt(0) == SYNC_FTOC_LE) || (buffer.getInt(0) == SYNC_FTOC_NON_SYNC_LE)) { if ((buffer.getInt(0) == SYNC_FTOC_LE) || (buffer.getInt(0) == SYNC_FTOC_NON_SYNC_LE)) {
// Check for DTS:X Profile 2 sync or non sync word and return // Check for DTS:X Profile 2 sync or non sync word and return 1024 if found. This is the only
// 1024 if found. This is the only audio sample count that is used by DTS:X Streaming Encoder. // audio sample count that is used by DTS:X Streaming Encoder.
return 1024; return 1024;
} else if (buffer.getInt(0) == SYNC_EXT_SUB_LE) { } else if (buffer.getInt(0) == SYNC_EXT_SUB_LE) {
// Check for DTS Express sync word and return 4096 if found. This is the only audio // Check for DTS Express sync word and return 4096 if found. This is the only audio sample
// sample count that is used by DTS Streaming Encoder. // count that is used by DTS Streaming Encoder.
return 4096; return 4096;
} }