Get the audio manager handle for a given audio type.
#include <audio/audio_manager_routing.h>
int audio_manager_get_handle(audio_manager_audio_type_t type, pid_t caller_pid, bool start_suspended, unsigned int *audioman_handle)
The type of the audio manager handle to query.
The ID of the process that the audio manager handle is allocated for (0 = the current process ID).
true if the audio manager handle is suspended after allocation, false otherwise.
The audio manager handle allocated.
The audio_manager_get_handle() function returns the audio manager handle of a given type with a flag indicating whether the handle is immediately activated or not.
EOK upon success, negative errno upon failure.