audio_manager_get_type_from_name()

Get the value representing the provided audio type name.

Synopsis:

#include <audio/audio_manager_routing.h>
 
audio_manager_audio_type_t audio_manager_get_type_from_name(const char *type_name)

Since:

BlackBerry 10.0.0

Arguments:

type_name

The name of the type to query.

Library:

libaudio_manager (For the qcc command, use the -l audio_manager option to link against this library)

Description:

Use audio_manager_get_type_from_name() to return the audio_manager_audio_type_t that corresponds to the provided audio type name.

Returns:

The audio manager handle type. A value of -1 is returned if the name can't be found.