Set a supported audio device as suspended.
#include <audio/audio_manager_device.h>
int audio_manager_set_device_suspended(audio_manager_device_t dev, bool suspended)
The type of audio device.
true if the given audio device is to be marked as suspended, false otherwise.
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.
A process must have either an effective user ID of root, or the authman capability of access_audio_manager, to use this function.
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.