diff options
112 files changed, 126 insertions, 0 deletions
diff --git a/emul.conf b/emul.conf new file mode 100644 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 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_bt diff --git a/emul/ap_to_bt_gain b/emul/ap_to_bt_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_bt_gain diff --git a/emul/ap_to_bt_pre b/emul/ap_to_bt_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_bt_pre diff --git a/emul/ap_to_bt_pre_gain b/emul/ap_to_bt_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_bt_pre_gain diff --git a/emul/ap_to_headset b/emul/ap_to_headset new file mode 100644 index 0000000..9331169 --- /dev/null +++ b/emul/ap_to_headset @@ -0,0 +1,2 @@ +'Master Playback Switch':1:0 +'PCM Playback Switch':1:0 diff --git a/emul/ap_to_headset_gain b/emul/ap_to_headset_gain new file mode 100644 index 0000000..e97b603 --- /dev/null +++ b/emul/ap_to_headset_gain @@ -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 index 0000000..c6e92fc --- /dev/null +++ b/emul/ap_to_headset_gain_pre @@ -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 index 0000000..043a628 --- /dev/null +++ b/emul/ap_to_headset_pre @@ -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 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_headset_pre_gain diff --git a/emul/ap_to_headset_ringtone_gain b/emul/ap_to_headset_ringtone_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_headset_ringtone_gain diff --git a/emul/ap_to_receiver b/emul/ap_to_receiver new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_receiver diff --git a/emul/ap_to_receiver_gain b/emul/ap_to_receiver_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_receiver_gain diff --git a/emul/ap_to_receiver_pre b/emul/ap_to_receiver_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_receiver_pre diff --git a/emul/ap_to_receiver_pre_gain b/emul/ap_to_receiver_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_receiver_pre_gain diff --git a/emul/ap_to_speaker b/emul/ap_to_speaker new file mode 100644 index 0000000..df8f01c --- /dev/null +++ b/emul/ap_to_speaker @@ -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 index 0000000..e97b603 --- /dev/null +++ b/emul/ap_to_speaker_gain @@ -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 index 0000000..c6e92fc --- /dev/null +++ b/emul/ap_to_speaker_gain_pre @@ -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 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_speaker_left diff --git a/emul/ap_to_speaker_left_pre b/emul/ap_to_speaker_left_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_speaker_left_pre diff --git a/emul/ap_to_speaker_pre b/emul/ap_to_speaker_pre new file mode 100644 index 0000000..043a628 --- /dev/null +++ b/emul/ap_to_speaker_pre @@ -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 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_speaker_pre_gain diff --git a/emul/ap_to_speaker_right b/emul/ap_to_speaker_right new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_speaker_right diff --git a/emul/ap_to_speaker_right_pre b/emul/ap_to_speaker_right_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_speaker_right_pre diff --git a/emul/ap_to_speaker_ringtone_gain b/emul/ap_to_speaker_ringtone_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/ap_to_speaker_ringtone_gain diff --git a/emul/bt_to_ap b/emul/bt_to_ap new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/bt_to_ap diff --git a/emul/bt_to_ap_gain b/emul/bt_to_ap_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/bt_to_ap_gain diff --git a/emul/bt_to_ap_pre b/emul/bt_to_ap_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/bt_to_ap_pre diff --git a/emul/bt_to_ap_pre_gain b/emul/bt_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/bt_to_ap_pre_gain diff --git a/emul/bt_to_cp b/emul/bt_to_cp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/bt_to_cp diff --git a/emul/bt_to_cp_gain b/emul/bt_to_cp_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/bt_to_cp_gain diff --git a/emul/bt_to_cp_pre b/emul/bt_to_cp_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/bt_to_cp_pre diff --git a/emul/bt_to_cp_pre_gain b/emul/bt_to_cp_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/bt_to_cp_pre_gain diff --git a/emul/codec_disable_on_suspend b/emul/codec_disable_on_suspend new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/codec_disable_on_suspend diff --git a/emul/codec_disable_on_suspend_pre b/emul/codec_disable_on_suspend_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/codec_disable_on_suspend_pre diff --git a/emul/cp_to_ap b/emul/cp_to_ap new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_ap diff --git a/emul/cp_to_ap_gain b/emul/cp_to_ap_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_ap_gain diff --git a/emul/cp_to_ap_pre b/emul/cp_to_ap_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_ap_pre diff --git a/emul/cp_to_ap_pre_gain b/emul/cp_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_ap_pre_gain diff --git a/emul/cp_to_bt b/emul/cp_to_bt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_bt diff --git a/emul/cp_to_bt_gain b/emul/cp_to_bt_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_bt_gain diff --git a/emul/cp_to_bt_pre b/emul/cp_to_bt_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_bt_pre diff --git a/emul/cp_to_bt_pre_gain b/emul/cp_to_bt_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_bt_pre_gain diff --git a/emul/cp_to_headset b/emul/cp_to_headset new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_headset diff --git a/emul/cp_to_headset_gain b/emul/cp_to_headset_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_headset_gain diff --git a/emul/cp_to_headset_pre b/emul/cp_to_headset_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_headset_pre diff --git a/emul/cp_to_headset_pre_gain b/emul/cp_to_headset_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_headset_pre_gain diff --git a/emul/cp_to_headset_videocall_gain b/emul/cp_to_headset_videocall_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_headset_videocall_gain diff --git a/emul/cp_to_headset_voicecall_gain b/emul/cp_to_headset_voicecall_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_headset_voicecall_gain diff --git a/emul/cp_to_receiver b/emul/cp_to_receiver new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_receiver diff --git a/emul/cp_to_receiver_gain b/emul/cp_to_receiver_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_receiver_gain diff --git a/emul/cp_to_receiver_pre b/emul/cp_to_receiver_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_receiver_pre diff --git a/emul/cp_to_receiver_pre_gain b/emul/cp_to_receiver_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_receiver_pre_gain diff --git a/emul/cp_to_receiver_videocall_gain b/emul/cp_to_receiver_videocall_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_receiver_videocall_gain diff --git a/emul/cp_to_receiver_voicecall_gain b/emul/cp_to_receiver_voicecall_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_receiver_voicecall_gain diff --git a/emul/cp_to_speaker b/emul/cp_to_speaker new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_speaker diff --git a/emul/cp_to_speaker_gain b/emul/cp_to_speaker_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_speaker_gain diff --git a/emul/cp_to_speaker_pre b/emul/cp_to_speaker_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_speaker_pre diff --git a/emul/cp_to_speaker_pre_gain b/emul/cp_to_speaker_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_speaker_pre_gain diff --git a/emul/cp_to_speaker_videocall_gain b/emul/cp_to_speaker_videocall_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_speaker_videocall_gain diff --git a/emul/cp_to_speaker_voicecall_gain b/emul/cp_to_speaker_voicecall_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/cp_to_speaker_voicecall_gain diff --git a/emul/earmic_to_ap b/emul/earmic_to_ap new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/earmic_to_ap diff --git a/emul/earmic_to_ap_gain b/emul/earmic_to_ap_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/earmic_to_ap_gain diff --git a/emul/earmic_to_ap_pre b/emul/earmic_to_ap_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/earmic_to_ap_pre diff --git a/emul/earmic_to_ap_pre_gain b/emul/earmic_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/earmic_to_ap_pre_gain diff --git a/emul/earmic_to_cp b/emul/earmic_to_cp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/earmic_to_cp diff --git a/emul/earmic_to_cp_gain b/emul/earmic_to_cp_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/earmic_to_cp_gain diff --git a/emul/earmic_to_cp_pre b/emul/earmic_to_cp_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/earmic_to_cp_pre diff --git a/emul/earmic_to_cp_pre_gain b/emul/earmic_to_cp_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/earmic_to_cp_pre_gain diff --git a/emul/fmradio_to_ap b/emul/fmradio_to_ap new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/fmradio_to_ap diff --git a/emul/fmradio_to_ap_gain b/emul/fmradio_to_ap_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/fmradio_to_ap_gain diff --git a/emul/fmradio_to_ap_pre b/emul/fmradio_to_ap_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/fmradio_to_ap_pre diff --git a/emul/fmradio_to_ap_pre_gain b/emul/fmradio_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/fmradio_to_ap_pre_gain diff --git a/emul/fmradio_to_headset b/emul/fmradio_to_headset new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/fmradio_to_headset diff --git a/emul/fmradio_to_headset_gain b/emul/fmradio_to_headset_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/fmradio_to_headset_gain diff --git a/emul/fmradio_to_headset_pre b/emul/fmradio_to_headset_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/fmradio_to_headset_pre diff --git a/emul/fmradio_to_headset_pre_gain b/emul/fmradio_to_headset_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/fmradio_to_headset_pre_gain diff --git a/emul/fmradio_to_speaker b/emul/fmradio_to_speaker new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/fmradio_to_speaker diff --git a/emul/fmradio_to_speaker_gain b/emul/fmradio_to_speaker_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/fmradio_to_speaker_gain diff --git a/emul/fmradio_to_speaker_pre b/emul/fmradio_to_speaker_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/fmradio_to_speaker_pre diff --git a/emul/fmradio_to_speaker_pre_gain b/emul/fmradio_to_speaker_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/fmradio_to_speaker_pre_gain diff --git a/emul/mainmic_to_ap b/emul/mainmic_to_ap new file mode 100644 index 0000000..2656c09 --- /dev/null +++ b/emul/mainmic_to_ap @@ -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 index 0000000..8ceeed8 --- /dev/null +++ b/emul/mainmic_to_ap_gain @@ -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 index 0000000..20f8323 --- /dev/null +++ b/emul/mainmic_to_ap_gain_pre @@ -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 index 0000000..30589c7 --- /dev/null +++ b/emul/mainmic_to_ap_pre @@ -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 index 0000000..e69de29 --- /dev/null +++ b/emul/mainmic_to_ap_pre_gain diff --git a/emul/mainmic_to_cp b/emul/mainmic_to_cp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/mainmic_to_cp diff --git a/emul/mainmic_to_cp_gain b/emul/mainmic_to_cp_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/mainmic_to_cp_gain diff --git a/emul/mainmic_to_cp_pre b/emul/mainmic_to_cp_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/mainmic_to_cp_pre diff --git a/emul/mainmic_to_cp_pre_gain b/emul/mainmic_to_cp_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/mainmic_to_cp_pre_gain diff --git a/emul/mute_playback b/emul/mute_playback new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/mute_playback diff --git a/emul/mute_playback_pre b/emul/mute_playback_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/mute_playback_pre diff --git a/emul/reset b/emul/reset new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/reset diff --git a/emul/reset_capture b/emul/reset_capture new file mode 100644 index 0000000..19082c0 --- /dev/null +++ b/emul/reset_capture @@ -0,0 +1 @@ +'Capture Switch':1:0 diff --git a/emul/reset_capture_pre b/emul/reset_capture_pre new file mode 100644 index 0000000..30589c7 --- /dev/null +++ b/emul/reset_capture_pre @@ -0,0 +1 @@ +kcontrol "Capture Switch" = "1" diff --git a/emul/reset_playback b/emul/reset_playback new file mode 100644 index 0000000..9331169 --- /dev/null +++ b/emul/reset_playback @@ -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 index 0000000..043a628 --- /dev/null +++ b/emul/reset_playback_pre @@ -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 index 0000000..e69de29 --- /dev/null +++ b/emul/reset_pre diff --git a/emul/stereomic_to_ap b/emul/stereomic_to_ap new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/stereomic_to_ap diff --git a/emul/stereomic_to_ap_gain b/emul/stereomic_to_ap_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/stereomic_to_ap_gain diff --git a/emul/stereomic_to_ap_pre b/emul/stereomic_to_ap_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/stereomic_to_ap_pre diff --git a/emul/stereomic_to_ap_pre_gain b/emul/stereomic_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/stereomic_to_ap_pre_gain diff --git a/emul/submic_to_ap b/emul/submic_to_ap new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/submic_to_ap diff --git a/emul/submic_to_ap_gain b/emul/submic_to_ap_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/submic_to_ap_gain diff --git a/emul/submic_to_ap_pre b/emul/submic_to_ap_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/submic_to_ap_pre diff --git a/emul/submic_to_ap_pre_gain b/emul/submic_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/submic_to_ap_pre_gain diff --git a/emul/submic_to_cp b/emul/submic_to_cp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/submic_to_cp diff --git a/emul/submic_to_cp_gain b/emul/submic_to_cp_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/submic_to_cp_gain diff --git a/emul/submic_to_cp_pre b/emul/submic_to_cp_pre new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/submic_to_cp_pre diff --git a/emul/submic_to_cp_pre_gain b/emul/submic_to_cp_pre_gain new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/submic_to_cp_pre_gain diff --git a/emul/unmute_playback b/emul/unmute_playback new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emul/unmute_playback diff --git a/packaging/alsa-scenario-scn-data-0-emul.spec b/packaging/alsa-scenario-scn-data-0-emul.spec new file mode 100644 index 0000000..cac8edb --- /dev/null +++ b/packaging/alsa-scenario-scn-data-0-emul.spec @@ -0,0 +1,44 @@ +Name: alsa-scenario-scn-data-0-emul +Summary: alsa scenario data for emulator codec +Version: 0.1.0 +Release: 2 +Group: TO_BE/FILLED_IN +License: LGPLv2.1 +Source0: %{name}-%{version}.tar.gz + +%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/* |