summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungbae Shin <seungbae.shin@samsung.com>2017-03-08 19:16:09 +0900
committerSeungbae Shin <seungbae.shin@samsung.com>2017-03-08 19:30:38 +0900
commit3de21ea270cfeb7441378eab0c788d89d238b54a (patch)
tree2201b0bbb341a20bcda3b416d0dee061a942f794
parent47f661ebc85e86c5eaaaec58556ac113b574ae0b (diff)
downloadaudio-hal-wm1831-tw2-3de21ea270cfeb7441378eab0c788d89d238b54a.tar.gz
audio-hal-wm1831-tw2-3de21ea270cfeb7441378eab0c788d89d238b54a.tar.bz2
audio-hal-wm1831-tw2-3de21ea270cfeb7441378eab0c788d89d238b54a.zip
[Version] 0.1.1 [Profile] Wearable [Issue Type] Bring-up Change-Id: I6e68670df8b67d86d507fae03dfb5b0138a84471
-rw-r--r--tizen-audio-internal.h2
-rw-r--r--tizen-audio-routing.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/tizen-audio-internal.h b/tizen-audio-internal.h
index f5430b1..0236e8a 100644
--- a/tizen-audio-internal.h
+++ b/tizen-audio-internal.h
@@ -123,7 +123,7 @@ typedef struct device_type {
#define streq !strcmp
#define strneq strcmp
-#define ALSA_DEFAULT_CARD "ORBIS"
+#define ALSA_DEFAULT_CARD "universal7270la"
#define PLAYBACK_PCM_DEVICE "hw:0,0"
#define CAPTURE_PCM_DEVICE "hw:0,0"
diff --git a/tizen-audio-routing.c b/tizen-audio-routing.c
index 8be716b..99bf6ca 100644
--- a/tizen-audio-routing.c
+++ b/tizen-audio-routing.c
@@ -32,18 +32,18 @@
/* #define DEBUG_TIMING */
static device_type_t outDeviceTypes[] = {
- { AUDIO_DEVICE_OUT_SPEAKER, "Speaker" },
+ { AUDIO_DEVICE_OUT_SPEAKER, "speaker" },
{ AUDIO_DEVICE_OUT_JACK, "Headphones" },
- { AUDIO_DEVICE_OUT_BT_SCO, "Bluetooth" },
+ { AUDIO_DEVICE_OUT_BT_SCO, "bt-sco-headset" },
{ AUDIO_DEVICE_OUT_AUX, "Line" },
{ AUDIO_DEVICE_OUT_HDMI, "HDMI" },
{ 0, 0 },
};
static device_type_t inDeviceTypes[] = {
- { AUDIO_DEVICE_IN_MAIN_MIC, "MainMic" },
+ { AUDIO_DEVICE_IN_MAIN_MIC, "main-mic" },
{ AUDIO_DEVICE_IN_JACK, "HeadsetMic" },
- { AUDIO_DEVICE_IN_BT_SCO, "BT Mic" },
+ { AUDIO_DEVICE_IN_BT_SCO, "bt-sco-mic" },
{ 0, 0 },
};