--- /dev/null
+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
+
--- /dev/null
+'Master Playback Switch':1:1
+'PCM Playback Switch':1:1
--- /dev/null
+'Master Playback Volume':2:50,50
+'PCM Playback Volume':2:50,50
--- /dev/null
+kcontrol "Master Playback Volume" = "1"
+kcontrol "PCM Playback Volume" = "1"
--- /dev/null
+kcontrol "Master Playback Switch" = "1"
+kcontrol "PCM Playback Switch" = "1"
--- /dev/null
+'Master Playback Switch':1:1
+'PCM Playback Switch':1:1
--- /dev/null
+'Master Playback Volume':2:50,50
+'PCM Playback Volume':2:50,50
--- /dev/null
+kcontrol "Master Playback Volume" = "1"
+kcontrol "PCM Playback Volume" = "1"
--- /dev/null
+kcontrol "Master Playback Switch" = "1"
+kcontrol "PCM Playback Switch" = "1"
--- /dev/null
+'Capture Switch':1:1
--- /dev/null
+'Capture Volume':2:15,15
--- /dev/null
+kcontrol "Capture Volume" = "1"
--- /dev/null
+kcontrol "Capture Switch" = "1"
--- /dev/null
+'Capture Switch':1:0
--- /dev/null
+kcontrol "Capture Switch" = "1"
--- /dev/null
+'Master Playback Switch':1:0
+'PCM Playback Switch':1:0
--- /dev/null
+kcontrol "Master Playback Switch" = "1"
+kcontrol "PCM Playback Switch" = "1"
--- /dev/null
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
--- /dev/null
+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/*