Set the passthrough buffer size based on encoded format bit rates.
After this change, AC-3 uses about 20 KB and DTS uses 49 KB. For comparison, 'normal' PCM playbacks use by default (depending on the device and input format) about 45 KB. For passthrough, the following buffer sizes were used before this change: - Nexus Player AC-3: 23 KB - Nexus Player DTS: 25 KB - NVIDIA Shield AC-3: 15 KB - NVIDIA Shield DTS: 16 KB (caused underruns in some DTS-HD playbacks) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=112254836
Showing
with
17 additions
and
6 deletions
Please
register
or
sign in
to comment