IToiAudioOutputObserver Interface Reference
Description
IToiAudioOutputObserver may be implemented by applications registering with IToiAudioOutputService to asynchronously be notified about changes in the audio output configuration, volume level changes and mute state changes for various audio connections.
- Note:
- Services or applications may choose to inherit the adapter class TToiAudioOutputObserverAdapter, which provides a default empty implementation of IToiAudioOutputObserver.
import "IToiAudioOutputObserver.idl";
List of all members.
Member Function Documentation
oneway void IToiAudioOutputObserver::OnConfigurationChanged |
( |
|
) |
|
Called when the audio output configuration has changed.
Called when an HDMI output connection status has changed.
- Parameters:
-
| connectionId | The identifier of the connection. |
| sinkInfo | HDMI sink information. |
oneway void IToiAudioOutputObserver::OnLatencyChanged |
( |
in unsigned long |
connectionId, |
|
|
in long |
latency | |
|
) |
| | |
Called when the audio latency of the specified connection has changed.
- Parameters:
-
| connectionId | The identifier of the connection. |
| latency | The new audio latency. |
oneway void IToiAudioOutputObserver::OnMuteStateChanged |
( |
in unsigned long |
connectionId, |
|
|
in boolean |
state | |
|
) |
| | |
Called when the mute state of the specified connection has changed.
- Parameters:
-
| connectionId | The identifier of the connection. |
| state | The new mute state. |
oneway void IToiAudioOutputObserver::OnVolumeChanged |
( |
in unsigned long |
connectionId, |
|
|
in unsigned long |
level | |
|
) |
| | |
Called when the volume level of the specified connection has changed.
- Parameters:
-
| connectionId | The identifier of the connection. |
| level | The new volume level. |