mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
When just microphone is enabled, i.e. for recording audio, we will receive just sink metadata update. Bug: 150670922 Change-Id: I795385d19e64ec5c6bc0a8549beda52da27d25a1
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
/*
|
|
* Copyright 2021 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.bluetooth.audio@2.2;
|
|
|
|
import @2.0::IBluetoothAudioPort;
|
|
import android.hardware.audio.common@5.0::SinkMetadata;
|
|
|
|
interface IBluetoothAudioPort extends @2.0::IBluetoothAudioPort {
|
|
/**
|
|
* Called when the metadata of the stream's sink has been changed.
|
|
*
|
|
* @param sinkMetadata Description of the audio that is recorded by the
|
|
* clients.
|
|
*/
|
|
updateSinkMetadata(SinkMetadata sinkMetadata);
|
|
};
|