Get the current status and the codec settings of a given voice service type.
#include <audio/audio_manager_voice_service.h>
int audio_manager_get_voice_service_status_with_codec_settings(audio_manager_voice_service_t service, audio_manager_voice_service_status_t *status, char *codec_name_buf, int buf_size, int *codec_rate)
The voice service type to query.
The status returned.
The buffer to store the name of the codec the service provider uses; NULL if not needed.
The size of the codec_name_buf.
The pointer to store the audio sample rate of the service provider.
The audio_manager_get_voice_service_status_with_codec_settings() function returns the status and the codec settings of a given voice service type.
Note that this function is intended for use by system components. Therefore, it is not suitable for all applications.
EOK upon success, negative errno upon failure.