audio_manager_set_device_suspended()

[privilege]Set supported audio device as suspended.

Synopsis:

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

Arguments:

dev

The type of audio device.

suspended

True, if the given audio device is to be marked as suspended; false, otherwise.

Library:

libaudio_manager

Description:

The audio_manager_set_device_suspended() function sets the suspended status of a given audio device to help the audio manager allocate proper audio devices as default.

Returns:

EOK upon success, negative errno upon failure.