Merge "Set HotwordAudioStreamManager buffer size to 2560" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f286b827fd
@@ -163,7 +163,7 @@ final class HotwordAudioStreamManager {
|
|||||||
|
|
||||||
private static class SingleAudioStreamCopyTask implements Callable<Void> {
|
private static class SingleAudioStreamCopyTask implements Callable<Void> {
|
||||||
// TODO: Make this buffer size customizable from updateState()
|
// TODO: Make this buffer size customizable from updateState()
|
||||||
private static final int COPY_BUFFER_LENGTH = 1_024;
|
private static final int COPY_BUFFER_LENGTH = 2_560;
|
||||||
|
|
||||||
private final String mStreamTaskId;
|
private final String mStreamTaskId;
|
||||||
private final ParcelFileDescriptor mAudioSource;
|
private final ParcelFileDescriptor mAudioSource;
|
||||||
|
|||||||
Reference in New Issue
Block a user