ed7dfd5f35
Add APis for controlling the latency mode on an output stream.
Latency mode control is optional but mandated if spatial audio with
head tracking is supported over Bluetooth classic audio link.
Bug: 187446271
Test: m android.hardware.audio@7.1-impl
Change-Id: I363db3bf7f7b6439e326d0f6f4becc10b3947e7d
(cherry picked from commit 040984fd44
)
Merged-In: I363db3bf7f7b6439e326d0f6f4becc10b3947e7d
28 lines
948 B
Text
28 lines
948 B
Text
/*
|
|
* Copyright (C) 2022 The Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
|
|
package android.hardware.audio@7.1;
|
|
|
|
/**
|
|
* Callback interface for output stream variable latency mode feature.
|
|
*/
|
|
interface IStreamOutLatencyModeCallback {
|
|
/**
|
|
* Called with the new list of supported latency modes when a change occurs.
|
|
*/
|
|
oneway onRecommendedLatencyModeChanged(vec<LatencyMode> modes);
|
|
};
|