audio_manager_is_device_suspended()

Check whether a given audio device is suspended by the system.

Synopsis:

#include <audio/audio_manager_device.h>
 
int audio_manager_is_device_suspended(audio_manager_device_t dev, bool *suspended)

Arguments:

dev

The type of the audio device to check against.

suspended

true if the specified audio device is suspended, false otherwise.

Library:

libaudio_manager

Description:

The audio_manager_is_device_suspended() function checks whether a given audio device is currently suspended by the system. Suspended audio devices are not picked by the audio manager as a valid routing destination/source.

Returns:

EOK upon success, negative errno upon failure.