Tizen Native API
|
The Sound Manager API provides functions to get and set sound parameters like volume and session policy.
#include <sound_manager.h>
The Sound Manager service allows APIs to manage audio output.
The Sound Manager API allows you to:
The Sound Manager API allows only asynchronous operations.
Thus the result will be passed to the application via the callback mechanism. An appropriate callback can be called in response to changes initiated from outside the application.
Possible callbacks are listed below:
sound_manager_volume_changed_cb() - invoked when volume level is changed.
sound_session_interrupted_cb() - invoked when the session is interrupted.
sound_device_connected_cb() - invoked when the connection of a sound device is changed.
sound_device_information_changed_cb() - invoked when the information of a sound device is changed.
The callback mechanism is used to notify the application about significant sound manager events.
REGISTER | UNREGISTER | CALLBACK | DESCRIPTION |
---|---|---|---|
sound_manager_set_volume_changed_cb() | sound_manager_unset_volume_changed_cb() | sound_manager_volume_changed_cb() | This callback is called when volume value is changed. |
sound_manager_set_session_interrupted_cb() | sound_manager_unset_session_interrupted_cb() | sound_session_interrupted_cb() | This callback is called when audio session is interrupted. |
sound_manager_set_device_connected_cb() | sound_manager_unset_device_connected_cb() | sound_device_connected_cb() | This callback is called when the connection of a sound device is changed. |
sound_manager_set_device_information_changed_cb() | sound_manager_unset_device_information_changed_cb() | sound_device_information_changed_cb() | This callback is called when the information of a sound device is changed. |
Enumeration for sound manager's error codes.