Get the audio type of the specified audio manager handle.
#include <audio/audio_manager_routing.h>
int audio_manager_get_handle_type(unsigned int audioman_handle, audio_manager_audio_type_t *type, audio_manager_device_t *pref_output, audio_manager_device_t *pref_input)
BlackBerry 10.0.0
The handle to the audio source that the new type is applied to.
The audio type that's been set on the specified audio manager handle.
The preferred output routing of the handle.
The preferred input routing of the handle.
An audio manager handle is used to track each audio source. Use audio_manager_get_handle_type() to return the audio type of the specified handle to an audio source and the overrides of the default audio routing policy type. The audio routing policy type contains the preferred output and input audio devices.
EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.