audio_manager_get_device_audio_public()

Get whether an audio output device is public.

Synopsis:

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

Arguments:

dev

The type of the audio device to query.

pub

true if the device is public, false otherwise.

Library:

libaudio_manager

Description:

The audio_manager_get_device_audio_public() function returns whether an audio output device is public, which means it can be heard by many people.

Returns:

EOK upon success, negative errno upon failure.