AUDIO_DEVICE_IN_BT_SCO),
};
-typedef struct device_type {
- uint32_t type;
- const char *name;
-} device_type_t;
-
/* Verbs */
#define AUDIO_USE_CASE_VERB_INACTIVE "Inactive"
#define AUDIO_USE_CASE_VERB_HIFI "HiFi"
/* type definitions */
typedef signed char int8_t;
+typedef struct device_type {
+ uint32_t type;
+ const char *name;
+} device_type_s;
+
/* PCM */
typedef struct {
snd_pcm_format_t format;
/* #define DEBUG_TIMING */
-static device_type_t outDeviceTypes[] = {
+static device_type_s outDeviceTypes[] = {
{ AUDIO_DEVICE_OUT_SPEAKER, "Speaker" },
{ AUDIO_DEVICE_OUT_RECEIVER, "Earpiece" },
{ AUDIO_DEVICE_OUT_JACK, "Headphones" },
{ 0, 0 },
};
-static device_type_t inDeviceTypes[] = {
+static device_type_s inDeviceTypes[] = {
{ AUDIO_DEVICE_IN_MAIN_MIC, "MainMic" },
{ AUDIO_DEVICE_IN_SUB_MIC, "SubMic" },
{ AUDIO_DEVICE_IN_JACK, "HeadsetMic" },