summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/audio-hal-sc7727.spec2
-rw-r--r--tizen-audio-internal.h10
-rw-r--r--tizen-audio-routing.c4
3 files changed, 8 insertions, 8 deletions
diff --git a/packaging/audio-hal-sc7727.spec b/packaging/audio-hal-sc7727.spec
index c848119..7f66991 100644
--- a/packaging/audio-hal-sc7727.spec
+++ b/packaging/audio-hal-sc7727.spec
@@ -1,6 +1,6 @@
Name: audio-hal-sc7727
Summary: TIZEN Audio HAL for SC7727
-Version: 0.1.37
+Version: 0.1.38
Release: 0
Group: System/Libraries
License: Apache-2.0
diff --git a/tizen-audio-internal.h b/tizen-audio-internal.h
index 297377b..05b479a 100644
--- a/tizen-audio-internal.h
+++ b/tizen-audio-internal.h
@@ -132,11 +132,6 @@ enum audio_device_type {
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"
@@ -163,6 +158,11 @@ typedef struct device_type {
/* 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;
diff --git a/tizen-audio-routing.c b/tizen-audio-routing.c
index bb3e65e..6b279e6 100644
--- a/tizen-audio-routing.c
+++ b/tizen-audio-routing.c
@@ -31,7 +31,7 @@
/* #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" },
@@ -39,7 +39,7 @@ static device_type_t outDeviceTypes[] = {
{ 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" },