sync with tizen_2.2 tizen
authorsungmin82.ha <sungmin82.ha@samsung.com>
Tue, 30 Jul 2013 05:40:29 +0000 (14:40 +0900)
committersungmin82.ha <sungmin82.ha@samsung.com>
Tue, 30 Jul 2013 05:40:29 +0000 (14:40 +0900)
Change-Id: Iff3ec10e33af5d176dec3e312e19bd471631e5b4
Signed-off-by: Sungmin Ha <sungmin82.ha@samsung.com>
113 files changed:
emul.conf [new file with mode: 0644]
emul/ap_to_bt [new file with mode: 0644]
emul/ap_to_bt_gain [new file with mode: 0644]
emul/ap_to_bt_pre [new file with mode: 0644]
emul/ap_to_bt_pre_gain [new file with mode: 0644]
emul/ap_to_headset [new file with mode: 0644]
emul/ap_to_headset_gain [new file with mode: 0644]
emul/ap_to_headset_gain_pre [new file with mode: 0644]
emul/ap_to_headset_pre [new file with mode: 0644]
emul/ap_to_headset_pre_gain [new file with mode: 0644]
emul/ap_to_headset_ringtone_gain [new file with mode: 0644]
emul/ap_to_receiver [new file with mode: 0644]
emul/ap_to_receiver_gain [new file with mode: 0644]
emul/ap_to_receiver_pre [new file with mode: 0644]
emul/ap_to_receiver_pre_gain [new file with mode: 0644]
emul/ap_to_speaker [new file with mode: 0644]
emul/ap_to_speaker_gain [new file with mode: 0644]
emul/ap_to_speaker_gain_pre [new file with mode: 0644]
emul/ap_to_speaker_left [new file with mode: 0644]
emul/ap_to_speaker_left_pre [new file with mode: 0644]
emul/ap_to_speaker_pre [new file with mode: 0644]
emul/ap_to_speaker_pre_gain [new file with mode: 0644]
emul/ap_to_speaker_right [new file with mode: 0644]
emul/ap_to_speaker_right_pre [new file with mode: 0644]
emul/ap_to_speaker_ringtone_gain [new file with mode: 0644]
emul/bt_to_ap [new file with mode: 0644]
emul/bt_to_ap_gain [new file with mode: 0644]
emul/bt_to_ap_pre [new file with mode: 0644]
emul/bt_to_ap_pre_gain [new file with mode: 0644]
emul/bt_to_cp [new file with mode: 0644]
emul/bt_to_cp_gain [new file with mode: 0644]
emul/bt_to_cp_pre [new file with mode: 0644]
emul/bt_to_cp_pre_gain [new file with mode: 0644]
emul/codec_disable_on_suspend [new file with mode: 0644]
emul/codec_disable_on_suspend_pre [new file with mode: 0644]
emul/cp_to_ap [new file with mode: 0644]
emul/cp_to_ap_gain [new file with mode: 0644]
emul/cp_to_ap_pre [new file with mode: 0644]
emul/cp_to_ap_pre_gain [new file with mode: 0644]
emul/cp_to_bt [new file with mode: 0644]
emul/cp_to_bt_gain [new file with mode: 0644]
emul/cp_to_bt_pre [new file with mode: 0644]
emul/cp_to_bt_pre_gain [new file with mode: 0644]
emul/cp_to_headset [new file with mode: 0644]
emul/cp_to_headset_gain [new file with mode: 0644]
emul/cp_to_headset_pre [new file with mode: 0644]
emul/cp_to_headset_pre_gain [new file with mode: 0644]
emul/cp_to_headset_videocall_gain [new file with mode: 0644]
emul/cp_to_headset_voicecall_gain [new file with mode: 0644]
emul/cp_to_receiver [new file with mode: 0644]
emul/cp_to_receiver_gain [new file with mode: 0644]
emul/cp_to_receiver_pre [new file with mode: 0644]
emul/cp_to_receiver_pre_gain [new file with mode: 0644]
emul/cp_to_receiver_videocall_gain [new file with mode: 0644]
emul/cp_to_receiver_voicecall_gain [new file with mode: 0644]
emul/cp_to_speaker [new file with mode: 0644]
emul/cp_to_speaker_gain [new file with mode: 0644]
emul/cp_to_speaker_pre [new file with mode: 0644]
emul/cp_to_speaker_pre_gain [new file with mode: 0644]
emul/cp_to_speaker_videocall_gain [new file with mode: 0644]
emul/cp_to_speaker_voicecall_gain [new file with mode: 0644]
emul/earmic_to_ap [new file with mode: 0644]
emul/earmic_to_ap_gain [new file with mode: 0644]
emul/earmic_to_ap_pre [new file with mode: 0644]
emul/earmic_to_ap_pre_gain [new file with mode: 0644]
emul/earmic_to_cp [new file with mode: 0644]
emul/earmic_to_cp_gain [new file with mode: 0644]
emul/earmic_to_cp_pre [new file with mode: 0644]
emul/earmic_to_cp_pre_gain [new file with mode: 0644]
emul/fmradio_to_ap [new file with mode: 0644]
emul/fmradio_to_ap_gain [new file with mode: 0644]
emul/fmradio_to_ap_pre [new file with mode: 0644]
emul/fmradio_to_ap_pre_gain [new file with mode: 0644]
emul/fmradio_to_headset [new file with mode: 0644]
emul/fmradio_to_headset_gain [new file with mode: 0644]
emul/fmradio_to_headset_pre [new file with mode: 0644]
emul/fmradio_to_headset_pre_gain [new file with mode: 0644]
emul/fmradio_to_speaker [new file with mode: 0644]
emul/fmradio_to_speaker_gain [new file with mode: 0644]
emul/fmradio_to_speaker_pre [new file with mode: 0644]
emul/fmradio_to_speaker_pre_gain [new file with mode: 0644]
emul/mainmic_to_ap [new file with mode: 0644]
emul/mainmic_to_ap_gain [new file with mode: 0644]
emul/mainmic_to_ap_gain_pre [new file with mode: 0644]
emul/mainmic_to_ap_pre [new file with mode: 0644]
emul/mainmic_to_ap_pre_gain [new file with mode: 0644]
emul/mainmic_to_cp [new file with mode: 0644]
emul/mainmic_to_cp_gain [new file with mode: 0644]
emul/mainmic_to_cp_pre [new file with mode: 0644]
emul/mainmic_to_cp_pre_gain [new file with mode: 0644]
emul/mute_playback [new file with mode: 0644]
emul/mute_playback_pre [new file with mode: 0644]
emul/reset [new file with mode: 0644]
emul/reset_capture [new file with mode: 0644]
emul/reset_capture_pre [new file with mode: 0644]
emul/reset_playback [new file with mode: 0644]
emul/reset_playback_pre [new file with mode: 0644]
emul/reset_pre [new file with mode: 0644]
emul/stereomic_to_ap [new file with mode: 0644]
emul/stereomic_to_ap_gain [new file with mode: 0644]
emul/stereomic_to_ap_pre [new file with mode: 0644]
emul/stereomic_to_ap_pre_gain [new file with mode: 0644]
emul/submic_to_ap [new file with mode: 0644]
emul/submic_to_ap_gain [new file with mode: 0644]
emul/submic_to_ap_pre [new file with mode: 0644]
emul/submic_to_ap_pre_gain [new file with mode: 0644]
emul/submic_to_cp [new file with mode: 0644]
emul/submic_to_cp_gain [new file with mode: 0644]
emul/submic_to_cp_pre [new file with mode: 0644]
emul/submic_to_cp_pre_gain [new file with mode: 0644]
emul/unmute_playback [new file with mode: 0644]
packaging/alsa-scenario-scn-data-0-emul.manifest [new file with mode: 0644]
packaging/alsa-scenario-scn-data-0-emul.spec [new file with mode: 0644]

diff --git a/emul.conf b/emul.conf
new file mode 100644 (file)
index 0000000..2f6e4a1
--- /dev/null
+++ b/emul.conf
@@ -0,0 +1,56 @@
+Section "Scenario"
+       Identifier = "reset_playback"
+       File = "reset_playback"
+       PreSequenceFile = "reset_playback_pre"
+EndSection
+Section "Scenario"
+       Identifier = "reset_capture"
+       File = "reset_capture"
+       PreSequenceFile = "reset_capture_pre"
+EndSection
+
+###### PLAYBACk ######
+Section "Scenario"
+       Identifier = "ap_to_speaker"
+       File = "ap_to_speaker"
+       PreSequenceFile = "ap_to_speaker_pre"
+EndSection
+Section "Scenario"
+       Identifier = "ap_to_speaker_gain"
+       File = "ap_to_speaker_gain"
+       PreSequenceFile = "ap_to_speaker_gain_pre"
+EndSection
+Section "Scenario"
+       Identifier = "ap_to_speaker_ringtone_gain"
+       File = "ap_to_speaker_gain"
+       PreSequenceFile = "ap_to_speaker_gain_pre"
+EndSection
+Section "Scenario"
+       Identifier = "ap_to_headset"
+       File = "ap_to_headset"
+       PreSequenceFile = "ap_to_headset_pre"
+EndSection
+Section "Scenario"
+       Identifier = "ap_to_headset_gain"
+       File = "ap_to_headset_gain"
+       PreSequenceFile = "ap_to_headset_gain_pre"
+EndSection
+Section "Scenario"
+       Identifier = "ap_to_headset_ringtone_gain"
+       File = "ap_to_headset_gain"
+       PreSequenceFile = "ap_to_headset_gain_pre"
+EndSection
+
+###### CAPTURE ######
+
+Section "Scenario"
+       Identifier = "mainmic_to_ap"
+       File = "mainmic_to_ap"
+       PreSequenceFile = "mainmic_to_ap_pre"
+EndSection
+Section "Scenario"
+       Identifier = "mainmic_to_ap_gain"
+       File = "mainmic_to_ap_gain"
+       PreSequenceFile = "mainmic_to_ap_gain_pre"
+EndSection
+                               
diff --git a/emul/ap_to_bt b/emul/ap_to_bt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/ap_to_bt_gain b/emul/ap_to_bt_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/ap_to_bt_pre b/emul/ap_to_bt_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/ap_to_bt_pre_gain b/emul/ap_to_bt_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/ap_to_headset b/emul/ap_to_headset
new file mode 100644 (file)
index 0000000..df8f01c
--- /dev/null
@@ -0,0 +1,2 @@
+'Master Playback Switch':1:1
+'PCM Playback Switch':1:1
diff --git a/emul/ap_to_headset_gain b/emul/ap_to_headset_gain
new file mode 100644 (file)
index 0000000..e97b603
--- /dev/null
@@ -0,0 +1,2 @@
+'Master Playback Volume':2:50,50
+'PCM Playback Volume':2:50,50
diff --git a/emul/ap_to_headset_gain_pre b/emul/ap_to_headset_gain_pre
new file mode 100644 (file)
index 0000000..c6e92fc
--- /dev/null
@@ -0,0 +1,2 @@
+kcontrol "Master Playback Volume" = "1"
+kcontrol "PCM Playback Volume" = "1"
diff --git a/emul/ap_to_headset_pre b/emul/ap_to_headset_pre
new file mode 100644 (file)
index 0000000..043a628
--- /dev/null
@@ -0,0 +1,2 @@
+kcontrol "Master Playback Switch" = "1"
+kcontrol "PCM Playback Switch" = "1"
diff --git a/emul/ap_to_headset_pre_gain b/emul/ap_to_headset_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/ap_to_headset_ringtone_gain b/emul/ap_to_headset_ringtone_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/ap_to_receiver b/emul/ap_to_receiver
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/ap_to_receiver_gain b/emul/ap_to_receiver_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/ap_to_receiver_pre b/emul/ap_to_receiver_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/ap_to_receiver_pre_gain b/emul/ap_to_receiver_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/ap_to_speaker b/emul/ap_to_speaker
new file mode 100644 (file)
index 0000000..df8f01c
--- /dev/null
@@ -0,0 +1,2 @@
+'Master Playback Switch':1:1
+'PCM Playback Switch':1:1
diff --git a/emul/ap_to_speaker_gain b/emul/ap_to_speaker_gain
new file mode 100644 (file)
index 0000000..e97b603
--- /dev/null
@@ -0,0 +1,2 @@
+'Master Playback Volume':2:50,50
+'PCM Playback Volume':2:50,50
diff --git a/emul/ap_to_speaker_gain_pre b/emul/ap_to_speaker_gain_pre
new file mode 100644 (file)
index 0000000..c6e92fc
--- /dev/null
@@ -0,0 +1,2 @@
+kcontrol "Master Playback Volume" = "1"
+kcontrol "PCM Playback Volume" = "1"
diff --git a/emul/ap_to_speaker_left b/emul/ap_to_speaker_left
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/ap_to_speaker_left_pre b/emul/ap_to_speaker_left_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/ap_to_speaker_pre b/emul/ap_to_speaker_pre
new file mode 100644 (file)
index 0000000..043a628
--- /dev/null
@@ -0,0 +1,2 @@
+kcontrol "Master Playback Switch" = "1"
+kcontrol "PCM Playback Switch" = "1"
diff --git a/emul/ap_to_speaker_pre_gain b/emul/ap_to_speaker_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/ap_to_speaker_right b/emul/ap_to_speaker_right
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/ap_to_speaker_right_pre b/emul/ap_to_speaker_right_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/ap_to_speaker_ringtone_gain b/emul/ap_to_speaker_ringtone_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/bt_to_ap b/emul/bt_to_ap
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/bt_to_ap_gain b/emul/bt_to_ap_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/bt_to_ap_pre b/emul/bt_to_ap_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/bt_to_ap_pre_gain b/emul/bt_to_ap_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/bt_to_cp b/emul/bt_to_cp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/bt_to_cp_gain b/emul/bt_to_cp_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/bt_to_cp_pre b/emul/bt_to_cp_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/bt_to_cp_pre_gain b/emul/bt_to_cp_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/codec_disable_on_suspend b/emul/codec_disable_on_suspend
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/codec_disable_on_suspend_pre b/emul/codec_disable_on_suspend_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_ap b/emul/cp_to_ap
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_ap_gain b/emul/cp_to_ap_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_ap_pre b/emul/cp_to_ap_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_ap_pre_gain b/emul/cp_to_ap_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_bt b/emul/cp_to_bt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_bt_gain b/emul/cp_to_bt_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_bt_pre b/emul/cp_to_bt_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_bt_pre_gain b/emul/cp_to_bt_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_headset b/emul/cp_to_headset
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_headset_gain b/emul/cp_to_headset_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_headset_pre b/emul/cp_to_headset_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_headset_pre_gain b/emul/cp_to_headset_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_headset_videocall_gain b/emul/cp_to_headset_videocall_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_headset_voicecall_gain b/emul/cp_to_headset_voicecall_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_receiver b/emul/cp_to_receiver
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_receiver_gain b/emul/cp_to_receiver_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_receiver_pre b/emul/cp_to_receiver_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_receiver_pre_gain b/emul/cp_to_receiver_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_receiver_videocall_gain b/emul/cp_to_receiver_videocall_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_receiver_voicecall_gain b/emul/cp_to_receiver_voicecall_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_speaker b/emul/cp_to_speaker
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_speaker_gain b/emul/cp_to_speaker_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_speaker_pre b/emul/cp_to_speaker_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_speaker_pre_gain b/emul/cp_to_speaker_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_speaker_videocall_gain b/emul/cp_to_speaker_videocall_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/cp_to_speaker_voicecall_gain b/emul/cp_to_speaker_voicecall_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/earmic_to_ap b/emul/earmic_to_ap
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/earmic_to_ap_gain b/emul/earmic_to_ap_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/earmic_to_ap_pre b/emul/earmic_to_ap_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/earmic_to_ap_pre_gain b/emul/earmic_to_ap_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/earmic_to_cp b/emul/earmic_to_cp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/earmic_to_cp_gain b/emul/earmic_to_cp_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/earmic_to_cp_pre b/emul/earmic_to_cp_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/earmic_to_cp_pre_gain b/emul/earmic_to_cp_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/fmradio_to_ap b/emul/fmradio_to_ap
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/fmradio_to_ap_gain b/emul/fmradio_to_ap_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/fmradio_to_ap_pre b/emul/fmradio_to_ap_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/fmradio_to_ap_pre_gain b/emul/fmradio_to_ap_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/fmradio_to_headset b/emul/fmradio_to_headset
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/fmradio_to_headset_gain b/emul/fmradio_to_headset_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/fmradio_to_headset_pre b/emul/fmradio_to_headset_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/fmradio_to_headset_pre_gain b/emul/fmradio_to_headset_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/fmradio_to_speaker b/emul/fmradio_to_speaker
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/fmradio_to_speaker_gain b/emul/fmradio_to_speaker_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/fmradio_to_speaker_pre b/emul/fmradio_to_speaker_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/fmradio_to_speaker_pre_gain b/emul/fmradio_to_speaker_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/mainmic_to_ap b/emul/mainmic_to_ap
new file mode 100644 (file)
index 0000000..2656c09
--- /dev/null
@@ -0,0 +1 @@
+'Capture Switch':1:1
diff --git a/emul/mainmic_to_ap_gain b/emul/mainmic_to_ap_gain
new file mode 100644 (file)
index 0000000..8ceeed8
--- /dev/null
@@ -0,0 +1 @@
+'Capture Volume':2:15,15
diff --git a/emul/mainmic_to_ap_gain_pre b/emul/mainmic_to_ap_gain_pre
new file mode 100644 (file)
index 0000000..20f8323
--- /dev/null
@@ -0,0 +1 @@
+kcontrol "Capture Volume" = "1"
diff --git a/emul/mainmic_to_ap_pre b/emul/mainmic_to_ap_pre
new file mode 100644 (file)
index 0000000..30589c7
--- /dev/null
@@ -0,0 +1 @@
+kcontrol "Capture Switch" = "1"
diff --git a/emul/mainmic_to_ap_pre_gain b/emul/mainmic_to_ap_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/mainmic_to_cp b/emul/mainmic_to_cp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/mainmic_to_cp_gain b/emul/mainmic_to_cp_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/mainmic_to_cp_pre b/emul/mainmic_to_cp_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/mainmic_to_cp_pre_gain b/emul/mainmic_to_cp_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/mute_playback b/emul/mute_playback
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/mute_playback_pre b/emul/mute_playback_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/reset b/emul/reset
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/reset_capture b/emul/reset_capture
new file mode 100644 (file)
index 0000000..19082c0
--- /dev/null
@@ -0,0 +1 @@
+'Capture Switch':1:0
diff --git a/emul/reset_capture_pre b/emul/reset_capture_pre
new file mode 100644 (file)
index 0000000..30589c7
--- /dev/null
@@ -0,0 +1 @@
+kcontrol "Capture Switch" = "1"
diff --git a/emul/reset_playback b/emul/reset_playback
new file mode 100644 (file)
index 0000000..9331169
--- /dev/null
@@ -0,0 +1,2 @@
+'Master Playback Switch':1:0
+'PCM Playback Switch':1:0
diff --git a/emul/reset_playback_pre b/emul/reset_playback_pre
new file mode 100644 (file)
index 0000000..043a628
--- /dev/null
@@ -0,0 +1,2 @@
+kcontrol "Master Playback Switch" = "1"
+kcontrol "PCM Playback Switch" = "1"
diff --git a/emul/reset_pre b/emul/reset_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/stereomic_to_ap b/emul/stereomic_to_ap
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/stereomic_to_ap_gain b/emul/stereomic_to_ap_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/stereomic_to_ap_pre b/emul/stereomic_to_ap_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/stereomic_to_ap_pre_gain b/emul/stereomic_to_ap_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/submic_to_ap b/emul/submic_to_ap
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/submic_to_ap_gain b/emul/submic_to_ap_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/submic_to_ap_pre b/emul/submic_to_ap_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/submic_to_ap_pre_gain b/emul/submic_to_ap_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/submic_to_cp b/emul/submic_to_cp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/submic_to_cp_gain b/emul/submic_to_cp_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/submic_to_cp_pre b/emul/submic_to_cp_pre
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/submic_to_cp_pre_gain b/emul/submic_to_cp_pre_gain
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/emul/unmute_playback b/emul/unmute_playback
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packaging/alsa-scenario-scn-data-0-emul.manifest b/packaging/alsa-scenario-scn-data-0-emul.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/alsa-scenario-scn-data-0-emul.spec b/packaging/alsa-scenario-scn-data-0-emul.spec
new file mode 100644 (file)
index 0000000..c379fbe
--- /dev/null
@@ -0,0 +1,45 @@
+Name:       alsa-scenario-scn-data-0-emul
+Summary:    alsa scenario data for emulator codec
+Version:    0.1.1
+Release:    2
+Group:      TO_BE/FILLED_IN
+License:    LGPLv2.1
+Source0:    %{name}-%{version}.tar.gz
+Source1001: packaging/alsa-scenario-scn-data-0-emul.manifest
+
+%description
+Alsa scenario data for emulator codec
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/etc/sound
+cp -a emul %{buildroot}/usr/etc/sound
+cp -a emul.conf %{buildroot}/usr/etc/sound/emul.conf
+
+%post
+BASE_PATH=/usr/etc/sound
+CODEC=emul
+
+chmod 644 $BASE_PATH/$CODEC/*
+chmod 644 $BASE_PATH/$CODEC.conf
+
+chown -R 0:6822 $BASE_PATH/$CODEC
+chown 0:6822 $BASE_PATH/$CODEC.conf
+
+ln -s $BASE_PATH/$CODEC $BASE_PATH/default
+ln -s $BASE_PATH/$CODEC.conf $BASE_PATH/default.conf
+
+%preun
+BASE_PATH=/usr/etc/sound
+
+rm -f $BASE_PATH/default.conf
+rm -f $BASE_PATH/default
+
+
+%files
+/usr/etc/sound/*