[privilege]Set any audio device as connected.
#include <audio/audio_manager_device.h>
int audio_manager_set_device_connected(audio_manager_device_t dev, bool connected)
The type of the audio device.
True, if the given audio device is to be marked as connected; false, otherwise.
The audio_manager_set_device_connected() function sets the connected status of a given audio device to help the audio manager allocate proper audio devices as default.
EOK upon success, negative errno upon failure.