mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 21:37:44 +00:00
Merge "bluetooth.audio pass both source and sink metadata" am: f4a4ab1ca6 am: 4c28e00673 am: eaed24f245
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1944804 Change-Id: I4cd704337e34b36cb191e13dc4690fa8c5f5385e
This commit is contained in:
@@ -38,5 +38,6 @@ interface IBluetoothAudioPort {
|
||||
void startStream();
|
||||
void stopStream();
|
||||
void suspendStream();
|
||||
void updateMetadata(in android.hardware.audio.common.SourceMetadata sourceMetadata);
|
||||
void updateSourceMetadata(in android.hardware.audio.common.SourceMetadata sourceMetadata);
|
||||
void updateSinkMetadata(in android.hardware.audio.common.SinkMetadata sinkMetadata);
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
package android.hardware.bluetooth.audio;
|
||||
|
||||
import android.hardware.audio.common.SinkMetadata;
|
||||
import android.hardware.audio.common.SourceMetadata;
|
||||
import android.hardware.bluetooth.audio.PresentationPosition;
|
||||
|
||||
@@ -69,5 +70,12 @@ interface IBluetoothAudioPort {
|
||||
* @param sourceMetadata Description of the audio that is played by the
|
||||
* clients.
|
||||
*/
|
||||
void updateMetadata(in SourceMetadata sourceMetadata);
|
||||
void updateSourceMetadata(in SourceMetadata sourceMetadata);
|
||||
|
||||
/**
|
||||
* Called when the metadata of the stream's sink has been changed.
|
||||
*
|
||||
* @param sinkMetadata as passed from Audio Framework
|
||||
*/
|
||||
void updateSinkMetadata(in SinkMetadata sinkMetadata);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user