Get the current button states of a given output device.
#include <audio/audio_manager_device.h>
int audio_manager_get_device_button_states(audio_manager_device_t dev, audio_manager_headset_button_state_t *state)
The default audio device.
The current button states.
The audio_manager_get_device_button_states() function returns the states of all the supported buttons of a given device. Currently, only headset is supported.
EOK upon success, negative errno upon failure.