This enumeration defines the different types of volume control available.
Synopsis:
#include <bps/audiodevice.h>
typedef enum {
AUDIODEVICE_VOLUME_UNRECOGNIZED = 0
AUDIODEVICE_VOLUME_UNAVAILABLE = 1
AUDIODEVICE_VOLUME_SIMPLE = 2
AUDIODEVICE_VOLUME_PERCENTAGE = 3
} audiodevice_volume_type_t;
Data:
- AUDIODEVICE_VOLUME_UNRECOGNIZED
- An unrecognized volume type.
- AUDIODEVICE_VOLUME_UNAVAILABLE
- No volume control supported.
- AUDIODEVICE_VOLUME_SIMPLE
- Only simple volume control is supported.
Can only request volume increase or decrease, but not the amount. Mute is not supported.
- AUDIODEVICE_VOLUME_PERCENTAGE
- Full volume control is supported.
Library:
libbps (For the qcc command, use the -l bps option to link against this library)