From 0d06aaf941c6ea25cdd009603805bffb46cccf5a Mon Sep 17 00:00:00 2001 From: HyungKyu Song Date: Sat, 16 Feb 2013 01:00:26 +0900 Subject: Tizen 2.0 Release --- medfield_audio.conf | 396 ++++++++++++++++++++++++ medfield_audio/Makefile.am | 133 ++++++++ medfield_audio/ap_to_bt | 0 medfield_audio/ap_to_bt_gain | 0 medfield_audio/ap_to_bt_pre | 0 medfield_audio/ap_to_bt_pre_gain | 0 medfield_audio/ap_to_headset | 4 + medfield_audio/ap_to_headset_cameraplay_gain | 0 medfield_audio/ap_to_headset_gain | 0 medfield_audio/ap_to_headset_gametone_gain | 0 medfield_audio/ap_to_headset_keytone_gain | 0 medfield_audio/ap_to_headset_pre | 4 + medfield_audio/ap_to_headset_pre_gain | 0 medfield_audio/ap_to_headset_ringtone_gain | 0 medfield_audio/ap_to_headset_videoplay_gain | 0 medfield_audio/ap_to_receiver | 4 + medfield_audio/ap_to_receiver_gain | 0 medfield_audio/ap_to_receiver_pre | 4 + medfield_audio/ap_to_receiver_pre_gain | 0 medfield_audio/ap_to_speaker | 3 + medfield_audio/ap_to_speaker_cameraplay_gain | 0 medfield_audio/ap_to_speaker_gain | 0 medfield_audio/ap_to_speaker_gametone_gain | 0 medfield_audio/ap_to_speaker_keytone_gain | 0 medfield_audio/ap_to_speaker_left | 0 medfield_audio/ap_to_speaker_left_pre | 0 medfield_audio/ap_to_speaker_pre | 3 + medfield_audio/ap_to_speaker_pre_gain | 0 medfield_audio/ap_to_speaker_right | 0 medfield_audio/ap_to_speaker_right_pre | 0 medfield_audio/ap_to_speaker_ringtone_gain | 0 medfield_audio/ap_to_speaker_videoplay_gain | 0 medfield_audio/bt_to_ap | 0 medfield_audio/bt_to_ap_gain | 0 medfield_audio/bt_to_ap_pre | 0 medfield_audio/bt_to_ap_pre_gain | 0 medfield_audio/bt_to_cp | 0 medfield_audio/bt_to_cp_gain | 0 medfield_audio/bt_to_cp_pre | 0 medfield_audio/bt_to_cp_pre_gain | 0 medfield_audio/codec_disable_on_suspend | 0 medfield_audio/codec_enable_on_suspend | 0 medfield_audio/codec_enable_on_suspend_pre | 0 medfield_audio/cp_to_ap | 0 medfield_audio/cp_to_ap_gain | 0 medfield_audio/cp_to_ap_pre | 0 medfield_audio/cp_to_ap_pre_gain | 0 medfield_audio/cp_to_bt | 0 medfield_audio/cp_to_bt_gain | 0 medfield_audio/cp_to_bt_pre | 0 medfield_audio/cp_to_bt_pre_gain | 0 medfield_audio/cp_to_headset | 11 + medfield_audio/cp_to_headset_gain | 0 medfield_audio/cp_to_headset_pre | 11 + medfield_audio/cp_to_headset_pre_gain | 0 medfield_audio/cp_to_headset_videocall_gain | 0 medfield_audio/cp_to_headset_voicecall_gain | 0 medfield_audio/cp_to_receiver | 9 + medfield_audio/cp_to_receiver_gain | 0 medfield_audio/cp_to_receiver_pre | 9 + medfield_audio/cp_to_receiver_pre_gain | 0 medfield_audio/cp_to_receiver_videocall_gain | 0 medfield_audio/cp_to_receiver_voicecall_gain | 0 medfield_audio/cp_to_speaker | 9 + medfield_audio/cp_to_speaker_gain | 0 medfield_audio/cp_to_speaker_pre | 9 + medfield_audio/cp_to_speaker_pre_gain | 0 medfield_audio/cp_to_speaker_videocall_gain | 0 medfield_audio/cp_to_speaker_voicecall_gain | 0 medfield_audio/earmic_to_ap | 7 + medfield_audio/earmic_to_ap_gain | 0 medfield_audio/earmic_to_ap_pre | 7 + medfield_audio/earmic_to_ap_pre_gain | 0 medfield_audio/earmic_to_cp | 0 medfield_audio/earmic_to_cp_gain | 0 medfield_audio/earmic_to_cp_pre | 0 medfield_audio/earmic_to_cp_pre_gain | 0 medfield_audio/fmradio_to_ap | 0 medfield_audio/fmradio_to_ap_gain | 0 medfield_audio/fmradio_to_ap_pre | 0 medfield_audio/fmradio_to_ap_pre_gain | 0 medfield_audio/fmradio_to_headset | 0 medfield_audio/fmradio_to_headset_gain | 0 medfield_audio/fmradio_to_headset_pre | 0 medfield_audio/fmradio_to_headset_pre_gain | 0 medfield_audio/fmradio_to_speaker | 0 medfield_audio/fmradio_to_speaker_gain | 0 medfield_audio/fmradio_to_speaker_pre | 0 medfield_audio/fmradio_to_speaker_pre_gain | 0 medfield_audio/mainmic_to_ap | 6 + medfield_audio/mainmic_to_ap_camcording_gain | 0 medfield_audio/mainmic_to_ap_gain | 0 medfield_audio/mainmic_to_ap_pre | 6 + medfield_audio/mainmic_to_ap_pre_gain | 0 medfield_audio/mainmic_to_ap_voicerec_gain | 0 medfield_audio/mainmic_to_cp | 0 medfield_audio/mainmic_to_cp_gain | 0 medfield_audio/mainmic_to_cp_pre | 0 medfield_audio/mainmic_to_cp_pre_gain | 0 medfield_audio/mute_capture | 0 medfield_audio/mute_capture_pre | 0 medfield_audio/mute_playback | 0 medfield_audio/mute_playback_pre | 0 medfield_audio/reset | 0 medfield_audio/reset_capture | 0 medfield_audio/reset_capture_pre | 0 medfield_audio/reset_playback | 0 medfield_audio/reset_playback_pre | 0 medfield_audio/reset_pre | 0 medfield_audio/stereomic_to_ap | 0 medfield_audio/stereomic_to_ap_camcording_gain | 0 medfield_audio/stereomic_to_ap_gain | 0 medfield_audio/stereomic_to_ap_pre | 0 medfield_audio/stereomic_to_ap_pre_gain | 0 medfield_audio/stereomic_to_ap_voicerec_gain | 0 medfield_audio/submic_to_ap | 0 medfield_audio/submic_to_ap_camcording_gain | 0 medfield_audio/submic_to_ap_gain | 0 medfield_audio/submic_to_ap_pre | 0 medfield_audio/submic_to_ap_pre_gain | 0 medfield_audio/submic_to_ap_voicerec_gain | 0 medfield_audio/submic_to_cp | 0 medfield_audio/submic_to_cp_gain | 0 medfield_audio/submic_to_cp_pre | 0 medfield_audio/submic_to_cp_pre_gain | 0 medfield_audio/unmute_playback | 0 packaging/alsa-scenario-scn-data-0-mfld.changes | 2 + packaging/alsa-scenario-scn-data-0-mfld.spec | 47 +++ 128 files changed, 684 insertions(+) create mode 100644 medfield_audio.conf create mode 100644 medfield_audio/Makefile.am create mode 100644 medfield_audio/ap_to_bt create mode 100644 medfield_audio/ap_to_bt_gain create mode 100644 medfield_audio/ap_to_bt_pre create mode 100644 medfield_audio/ap_to_bt_pre_gain create mode 100644 medfield_audio/ap_to_headset create mode 100644 medfield_audio/ap_to_headset_cameraplay_gain create mode 100644 medfield_audio/ap_to_headset_gain create mode 100644 medfield_audio/ap_to_headset_gametone_gain create mode 100644 medfield_audio/ap_to_headset_keytone_gain create mode 100644 medfield_audio/ap_to_headset_pre create mode 100644 medfield_audio/ap_to_headset_pre_gain create mode 100644 medfield_audio/ap_to_headset_ringtone_gain create mode 100644 medfield_audio/ap_to_headset_videoplay_gain create mode 100644 medfield_audio/ap_to_receiver create mode 100644 medfield_audio/ap_to_receiver_gain create mode 100644 medfield_audio/ap_to_receiver_pre create mode 100644 medfield_audio/ap_to_receiver_pre_gain create mode 100644 medfield_audio/ap_to_speaker create mode 100644 medfield_audio/ap_to_speaker_cameraplay_gain create mode 100644 medfield_audio/ap_to_speaker_gain create mode 100644 medfield_audio/ap_to_speaker_gametone_gain create mode 100644 medfield_audio/ap_to_speaker_keytone_gain create mode 100644 medfield_audio/ap_to_speaker_left create mode 100644 medfield_audio/ap_to_speaker_left_pre create mode 100644 medfield_audio/ap_to_speaker_pre create mode 100644 medfield_audio/ap_to_speaker_pre_gain create mode 100644 medfield_audio/ap_to_speaker_right create mode 100644 medfield_audio/ap_to_speaker_right_pre create mode 100644 medfield_audio/ap_to_speaker_ringtone_gain create mode 100644 medfield_audio/ap_to_speaker_videoplay_gain create mode 100644 medfield_audio/bt_to_ap create mode 100644 medfield_audio/bt_to_ap_gain create mode 100644 medfield_audio/bt_to_ap_pre create mode 100644 medfield_audio/bt_to_ap_pre_gain create mode 100644 medfield_audio/bt_to_cp create mode 100644 medfield_audio/bt_to_cp_gain create mode 100644 medfield_audio/bt_to_cp_pre create mode 100644 medfield_audio/bt_to_cp_pre_gain create mode 100644 medfield_audio/codec_disable_on_suspend create mode 100644 medfield_audio/codec_enable_on_suspend create mode 100644 medfield_audio/codec_enable_on_suspend_pre create mode 100644 medfield_audio/cp_to_ap create mode 100644 medfield_audio/cp_to_ap_gain create mode 100644 medfield_audio/cp_to_ap_pre create mode 100644 medfield_audio/cp_to_ap_pre_gain create mode 100644 medfield_audio/cp_to_bt create mode 100644 medfield_audio/cp_to_bt_gain create mode 100644 medfield_audio/cp_to_bt_pre create mode 100644 medfield_audio/cp_to_bt_pre_gain create mode 100644 medfield_audio/cp_to_headset create mode 100644 medfield_audio/cp_to_headset_gain create mode 100644 medfield_audio/cp_to_headset_pre create mode 100644 medfield_audio/cp_to_headset_pre_gain create mode 100644 medfield_audio/cp_to_headset_videocall_gain create mode 100644 medfield_audio/cp_to_headset_voicecall_gain create mode 100644 medfield_audio/cp_to_receiver create mode 100644 medfield_audio/cp_to_receiver_gain create mode 100644 medfield_audio/cp_to_receiver_pre create mode 100644 medfield_audio/cp_to_receiver_pre_gain create mode 100644 medfield_audio/cp_to_receiver_videocall_gain create mode 100644 medfield_audio/cp_to_receiver_voicecall_gain create mode 100644 medfield_audio/cp_to_speaker create mode 100644 medfield_audio/cp_to_speaker_gain create mode 100644 medfield_audio/cp_to_speaker_pre create mode 100644 medfield_audio/cp_to_speaker_pre_gain create mode 100644 medfield_audio/cp_to_speaker_videocall_gain create mode 100644 medfield_audio/cp_to_speaker_voicecall_gain create mode 100644 medfield_audio/earmic_to_ap create mode 100644 medfield_audio/earmic_to_ap_gain create mode 100644 medfield_audio/earmic_to_ap_pre create mode 100644 medfield_audio/earmic_to_ap_pre_gain create mode 100644 medfield_audio/earmic_to_cp create mode 100644 medfield_audio/earmic_to_cp_gain create mode 100644 medfield_audio/earmic_to_cp_pre create mode 100644 medfield_audio/earmic_to_cp_pre_gain create mode 100644 medfield_audio/fmradio_to_ap create mode 100644 medfield_audio/fmradio_to_ap_gain create mode 100644 medfield_audio/fmradio_to_ap_pre create mode 100644 medfield_audio/fmradio_to_ap_pre_gain create mode 100644 medfield_audio/fmradio_to_headset create mode 100644 medfield_audio/fmradio_to_headset_gain create mode 100644 medfield_audio/fmradio_to_headset_pre create mode 100644 medfield_audio/fmradio_to_headset_pre_gain create mode 100644 medfield_audio/fmradio_to_speaker create mode 100644 medfield_audio/fmradio_to_speaker_gain create mode 100644 medfield_audio/fmradio_to_speaker_pre create mode 100644 medfield_audio/fmradio_to_speaker_pre_gain create mode 100644 medfield_audio/mainmic_to_ap create mode 100644 medfield_audio/mainmic_to_ap_camcording_gain create mode 100644 medfield_audio/mainmic_to_ap_gain create mode 100644 medfield_audio/mainmic_to_ap_pre create mode 100644 medfield_audio/mainmic_to_ap_pre_gain create mode 100644 medfield_audio/mainmic_to_ap_voicerec_gain create mode 100644 medfield_audio/mainmic_to_cp create mode 100644 medfield_audio/mainmic_to_cp_gain create mode 100644 medfield_audio/mainmic_to_cp_pre create mode 100644 medfield_audio/mainmic_to_cp_pre_gain create mode 100644 medfield_audio/mute_capture create mode 100644 medfield_audio/mute_capture_pre create mode 100644 medfield_audio/mute_playback create mode 100644 medfield_audio/mute_playback_pre create mode 100644 medfield_audio/reset create mode 100644 medfield_audio/reset_capture create mode 100644 medfield_audio/reset_capture_pre create mode 100644 medfield_audio/reset_playback create mode 100644 medfield_audio/reset_playback_pre create mode 100644 medfield_audio/reset_pre create mode 100644 medfield_audio/stereomic_to_ap create mode 100644 medfield_audio/stereomic_to_ap_camcording_gain create mode 100644 medfield_audio/stereomic_to_ap_gain create mode 100644 medfield_audio/stereomic_to_ap_pre create mode 100644 medfield_audio/stereomic_to_ap_pre_gain create mode 100644 medfield_audio/stereomic_to_ap_voicerec_gain create mode 100644 medfield_audio/submic_to_ap create mode 100644 medfield_audio/submic_to_ap_camcording_gain create mode 100644 medfield_audio/submic_to_ap_gain create mode 100644 medfield_audio/submic_to_ap_pre create mode 100644 medfield_audio/submic_to_ap_pre_gain create mode 100644 medfield_audio/submic_to_ap_voicerec_gain create mode 100644 medfield_audio/submic_to_cp create mode 100644 medfield_audio/submic_to_cp_gain create mode 100644 medfield_audio/submic_to_cp_pre create mode 100644 medfield_audio/submic_to_cp_pre_gain create mode 100644 medfield_audio/unmute_playback create mode 100644 packaging/alsa-scenario-scn-data-0-mfld.changes create mode 100644 packaging/alsa-scenario-scn-data-0-mfld.spec diff --git a/medfield_audio.conf b/medfield_audio.conf new file mode 100644 index 0000000..a8776cd --- /dev/null +++ b/medfield_audio.conf @@ -0,0 +1,396 @@ +Section "Scenario" + Identifier = "reset" + File = "reset" + PreSequenceFile = "reset_pre" +EndSection +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 + +Section "Scenario" + Identifier = "mute_playback" + File = "mute_playback" + PreSequenceFile = "mute_playback_pre" +EndSection +Section "Scenario" + Identifier = "unmute_playback" + File = "unmute_playback" + PreSequenceFile = "mute_playback_pre" +EndSection + +Section "Scenario" + Identifier = "mute_capture" + File = "mute_capture" + PreSequenceFile = "mute_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_left" + File = "ap_to_speaker_left" + PreSequenceFile = "ap_to_speaker_left_pre" +EndSection +Section "Scenario" + Identifier = "ap_to_speaker_right" + File = "ap_to_speaker_right" + PreSequenceFile = "ap_to_speaker_right_pre" +EndSection +Section "Scenario" + Identifier = "ap_to_speaker_gain" + File = "ap_to_speaker_gain" + PreSequenceFile = "ap_to_speaker_pre_gain" +EndSection +Section "Scenario" + Identifier = "ap_to_speaker_ringtone_gain" + File = "ap_to_speaker_ringtone_gain" + PreSequenceFile = "ap_to_speaker_pre_gain" +EndSection +Section "Scenario" + Identifier = "ap_to_speaker_keytone_gain" + File = "ap_to_speaker_keytone_gain" + PreSequenceFile = "ap_to_speaker_pre_gain" +EndSection +Section "Scenario" + Identifier = "ap_to_speaker_gametone_gain" + File = "ap_to_speaker_gametone_gain" + PreSequenceFile = "ap_to_speaker_pre_gain" +EndSection +Section "Scenario" + Identifier = "ap_to_speaker_cameraplay_gain" + File = "ap_to_speaker_cameraplay_gain" + PreSequenceFile = "ap_to_speaker_pre_gain" +EndSection +Section "Scenario" + Identifier = "ap_to_speaker_videoplay_gain" + File = "ap_to_speaker_videoplay_gain" + PreSequenceFile = "ap_to_speaker_pre_gain" +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_pre_gain" +EndSection +Section "Scenario" + Identifier = "ap_to_headset_ringtone_gain" + File = "ap_to_headset_ringtone_gain" + PreSequenceFile = "ap_to_headset_pre_gain" +EndSection +Section "Scenario" + Identifier = "ap_to_headset_keytone_gain" + File = "ap_to_headset_keytone_gain" + PreSequenceFile = "ap_to_headset_pre_gain" +EndSection +Section "Scenario" + Identifier = "ap_to_headset_gametone_gain" + File = "ap_to_headset_gametone_gain" + PreSequenceFile = "ap_to_headset_pre_gain" +EndSection +Section "Scenario" + Identifier = "ap_to_headset_cameraplay_gain" + File = "ap_to_headset_cameraplay_gain" + PreSequenceFile = "ap_to_headset_pre_gain" +EndSection +Section "Scenario" + Identifier = "ap_to_headset_videoplay_gain" + File = "ap_to_headset_videoplay_gain" + PreSequenceFile = "ap_to_headset_pre_gain" +EndSection + +Section "Scenario" + Identifier = "ap_to_receiver" + File = "ap_to_receiver" + PreSequenceFile = "ap_to_receiver_pre" +EndSection +Section "Scenario" + Identifier = "ap_to_receiver_gain" + File = "ap_to_receiver_gain" + PreSequenceFile = "ap_to_receiver_pre_gain" +EndSection + +Section "Scenario" + Identifier = "ap_to_bt" + File = "ap_to_bt" + PreSequenceFile = "ap_to_bt_pre" +EndSection +Section "Scenario" + Identifier = "ap_to_bt_gain" + File = "ap_to_bt_gain" + PreSequenceFile = "ap_to_bt_pre_gain" +EndSection + +Section "Scenario" + Identifier = "bt_to_cp" + File = "bt_to_cp" + PreSequenceFile = "bt_to_cp_pre" +EndSection +Section "Scenario" + Identifier = "bt_to_cp_gain" + File = "bt_to_cp_gain" + PreSequenceFile = "bt_to_cp_pre_gain" +EndSection + +Section "Scenario" + Identifier = "bt_to_ap" + File = "bt_to_ap" + PreSequenceFile = "bt_to_ap_pre" +EndSection +Section "Scenario" + Identifier = "bt_to_ap_gain" + File = "bt_to_ap_gain" + PreSequenceFile = "bt_to_ap_pre_gain" +EndSection + +Section "Scenario" + Identifier = "cp_to_speaker" + File = "cp_to_speaker" + PreSequenceFile = "cp_to_speaker_pre" +EndSection +Section "Scenario" + Identifier = "cp_to_speaker_gain" + File = "cp_to_speaker_gain" + PreSequenceFile = "cp_to_speaker_pre_gain" +EndSection +Section "Scenario" + Identifier = "cp_to_speaker_voicecall_gain" + File = "cp_to_speaker_voicecall_gain" + PreSequenceFile = "cp_to_speaker_pre_gain" +EndSection +Section "Scenario" + Identifier = "cp_to_speaker_videocall_gain" + File = "cp_to_speaker_videocall_gain" + PreSequenceFile = "cp_to_speaker_pre_gain" +EndSection + +Section "Scenario" + Identifier = "cp_to_headset" + File = "cp_to_headset" + PreSequenceFile = "cp_to_headset_pre" +EndSection +Section "Scenario" + Identifier = "cp_to_headset_gain" + File = "cp_to_headset_gain" + PreSequenceFile = "cp_to_headset_pre_gain" +EndSection +Section "Scenario" + Identifier = "cp_to_headset_voicecall_gain" + File = "cp_to_headset_voicecall_gain" + PreSequenceFile = "cp_to_headset_pre_gain" +EndSection +Section "Scenario" + Identifier = "cp_to_headset_videocall_gain" + File = "cp_to_headset_videocall_gain" + PreSequenceFile = "cp_to_headset_pre_gain" +EndSection + +Section "Scenario" + Identifier = "cp_to_receiver" + File = "cp_to_receiver" + PreSequenceFile = "cp_to_receiver_pre" +EndSection +Section "Scenario" + Identifier = "cp_to_receiver_gain" + File = "cp_to_receiver_gain" + PreSequenceFile = "cp_to_receiver_pre_gain" +EndSection +Section "Scenario" + Identifier = "cp_to_receiver_voicecall_gain" + File = "cp_to_receiver_voicecall_gain" + PreSequenceFile = "cp_to_receiver_pre_gain" +EndSection +Section "Scenario" + Identifier = "cp_to_receiver_videocall_gain" + File = "cp_to_receiver_videocall_gain" + PreSequenceFile = "cp_to_receiver_pre_gain" +EndSection + +Section "Scenario" + Identifier = "cp_to_ap" + File = "cp_to_ap" + PreSequenceFile = "cp_to_ap_pre" +EndSection +Section "Scenario" + Identifier = "cp_to_ap_gain" + File = "cp_to_ap_gain" + PreSequenceFile = "cp_to_ap_pre_gain" +EndSection + +Section "Scenario" + Identifier = "cp_to_bt" + File = "cp_to_bt" + PreSequenceFile = "cp_to_bt_pre" +EndSection +Section "Scenario" + Identifier = "cp_to_bt_gain" + File = "cp_to_bt_gain" + PreSequenceFile = "cp_to_bt_pre_gain" +EndSection + +Section "Scenario" + Identifier = "codec_enable_on_suspend" + File = "codec_enable_on_suspend" + PreSequenceFile = "codec_enable_on_suspend_pre" +EndSection +Section "Scenario" + Identifier = "codec_disable_on_suspend" + File = "codec_disable_on_suspend" + PreSequenceFile = "codec_enable_on_suspend_pre" +EndSection + +Section "Scenario" + Identifier = "fmradio_to_speaker" + File = "fmradio_to_speaker" + PreSequenceFile = "fmradio_to_speaker_pre" +EndSection +Section "Scenario" + Identifier = "fmradio_to_speaker_gain" + File = "fmradio_to_speaker_gain" + PreSequenceFile = "fmradio_to_speaker_pre_gain" +EndSection + +Section "Scenario" + Identifier = "fmradio_to_headset" + File = "fmradio_to_headset" + PreSequenceFile = "fmradio_to_headset_pre" +EndSection +Section "Scenario" + Identifier = "fmradio_to_headset_gain" + File = "fmradio_to_headset_gain" + PreSequenceFile = "fmradio_to_headset_pre_gain" +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_pre_gain" +EndSection +Section "Scenario" + Identifier = "mainmic_to_ap_voicerec_gain" + File = "mainmic_to_ap_voicerec_gain" + PreSequenceFile = "mainmic_to_ap_pre_gain" +EndSection +Section "Scenario" + Identifier = "mainmic_to_ap_camcording_gain" + File = "mainmic_to_ap_camcording_gain" + PreSequenceFile = "mainmic_to_ap_pre_gain" +EndSection + +Section "Scenario" + Identifier = "mainmic_to_cp" + File = "mainmic_to_cp" + PreSequenceFile = "mainmic_to_cp_pre" +EndSection +Section "Scenario" + Identifier = "mainmic_to_cp_gain" + File = "mainmic_to_cp_gain" + PreSequenceFile = "mainmic_to_cp_pre_gain" +EndSection + +Section "Scenario" + Identifier = "earmic_to_ap" + File = "earmic_to_ap" + PreSequenceFile = "earmic_to_ap_pre" +EndSection +Section "Scenario" + Identifier = "earmic_to_ap_gain" + File = "earmic_to_ap_gain" + PreSequenceFile = "earmic_to_ap_pre_gain" +EndSection + +Section "Scenario" + Identifier = "earmic_to_cp" + File = "earmic_to_cp" + PreSequenceFile = "earmic_to_cp_pre" +EndSection +Section "Scenario" + Identifier = "earmic_to_cp_gain" + File = "earmic_to_cp_gain" + PreSequenceFile = "earmic_to_cp_pre_gain" +EndSection + +Section "Scenario" + Identifier = "submic_to_ap" + File = "submic_to_ap" + PreSequenceFile = "submic_to_ap_pre" +EndSection +Section "Scenario" + Identifier = "submic_to_ap_gain" + File = "submic_to_ap_gain" + PreSequenceFile = "submic_to_ap_pre_gain" +EndSection +Section "Scenario" + Identifier = "submic_to_ap_voicerec_gain" + File = "submic_to_ap_voicerec_gain" + PreSequenceFile = "submic_to_ap_pre_gain" +EndSection +Section "Scenario" + Identifier = "submic_to_ap_camcording_gain" + File = "submic_to_ap_camcording_gain" + PreSequenceFile = "submic_to_ap_pre_gain" +EndSection + +Section "Scenario" + Identifier = "submic_to_cp" + File = "submic_to_cp" + PreSequenceFile = "submic_to_cp_pre" +EndSection +Section "Scenario" + Identifier = "submic_to_cp_gain" + File = "submic_to_cp_gain" + PreSequenceFile = "submic_to_cp_pre_gain" +EndSection + +Section "Scenario" + Identifier = "stereomic_to_ap" + File = "stereomic_to_ap" + PreSequenceFile = "stereomic_to_ap_pre" +EndSection +Section "Scenario" + Identifier = "stereomic_to_ap_gain" + File = "stereomic_to_ap_gain" + PreSequenceFile = "stereomic_to_ap_pre_gain" +EndSection +Section "Scenario" + Identifier = "stereomic_to_ap_voicerec_gain" + File = "stereomic_to_ap_voicerec_gain" + PreSequenceFile = "stereomic_to_ap_pre_gain" +EndSection +Section "Scenario" + Identifier = "stereomic_to_ap_camcording_gain" + File = "stereomic_to_ap_camcording_gain" + PreSequenceFile = "stereomic_to_ap_pre_gain" +EndSection + +Section "Scenario" + Identifier = "fmradio_to_ap" + File = "fmradio_to_ap" + PreSequenceFile = "fmradio_to_ap_pre" +EndSection +Section "Scenario" + Identifier = "fmradio_to_ap_gain" + File = "fmradio_to_ap_gain" + PreSequenceFile = "fmradio_to_ap_pre_gain" +EndSection diff --git a/medfield_audio/Makefile.am b/medfield_audio/Makefile.am new file mode 100644 index 0000000..2df824e --- /dev/null +++ b/medfield_audio/Makefile.am @@ -0,0 +1,133 @@ +include ../config.mk + +datafiles = \ + ap_to_headset \ + ap_to_headset_cameraplay_gain \ + ap_to_headset_gametone_gain \ + ap_to_headset_keytone_gain \ + ap_to_headset_gain \ + ap_to_headset_pre \ + ap_to_headset_pre_gain \ + ap_to_headset_ringtone_gain \ + ap_to_headset_videoplay_gain \ + ap_to_receiver \ + ap_to_receiver_gain \ + ap_to_receiver_pre \ + ap_to_receiver_pre_gain \ + ap_to_speaker \ + ap_to_speaker_cameraplay_gain \ + ap_to_speaker_gain \ + ap_to_speaker_gametone_gain \ + ap_to_speaker_keytone_gain \ + ap_to_speaker_left \ + ap_to_speaker_left_pre \ + ap_to_speaker_pre \ + ap_to_speaker_pre_gain \ + ap_to_speaker_right \ + ap_to_speaker_right_pre \ + ap_to_speaker_ringtone_gain \ + ap_to_speaker_videoplay_gain \ + ap_to_bt \ + ap_to_bt_pre \ + ap_to_bt_gain \ + ap_to_bt_pre_gain \ + bt_to_cp \ + bt_to_cp_gain \ + bt_to_cp_pre \ + bt_to_cp_pre_gain \ + bt_to_ap \ + bt_to_ap_pre \ + bt_to_ap_gain \ + bt_to_ap_pre_gain \ + codec_enable_on_suspend \ + codec_enable_on_suspend_pre \ + codec_disable_on_suspend \ + cp_to_ap \ + cp_to_ap_pre \ + cp_to_ap_gain \ + cp_to_ap_pre_gain \ + cp_to_bt \ + cp_to_bt_pre \ + cp_to_bt_gain \ + cp_to_bt_pre_gain \ + cp_to_headset \ + cp_to_headset_gain \ + cp_to_headset_pre \ + cp_to_headset_pre_gain \ + cp_to_headset_videocall_gain \ + cp_to_headset_voicecall_gain \ + cp_to_receiver \ + cp_to_receiver_gain \ + cp_to_receiver_pre \ + cp_to_receiver_pre_gain \ + cp_to_receiver_videocall_gain \ + cp_to_receiver_voicecall_gain \ + cp_to_speaker \ + cp_to_speaker_gain \ + cp_to_speaker_pre \ + cp_to_speaker_pre_gain \ + cp_to_speaker_videocall_gain \ + cp_to_speaker_voicecall_gain \ + earmic_to_ap \ + earmic_to_ap_gain \ + earmic_to_ap_pre \ + earmic_to_ap_pre_gain \ + earmic_to_cp \ + earmic_to_cp_gain \ + earmic_to_cp_pre \ + earmic_to_cp_pre_gain \ + fmradio_to_ap \ + fmradio_to_ap_gain \ + fmradio_to_ap_pre \ + fmradio_to_ap_pre_gain \ + fmradio_to_headset \ + fmradio_to_headset_gain \ + fmradio_to_headset_pre \ + fmradio_to_headset_pre_gain \ + fmradio_to_speaker \ + fmradio_to_speaker_gain \ + fmradio_to_speaker_pre \ + fmradio_to_speaker_pre_gain \ + mainmic_to_ap \ + mainmic_to_ap_camcording_gain \ + mainmic_to_ap_gain \ + mainmic_to_ap_pre \ + mainmic_to_ap_pre_gain \ + mainmic_to_ap_voicerec_gain \ + mainmic_to_cp \ + mainmic_to_cp_gain \ + mainmic_to_cp_pre \ + mainmic_to_cp_pre_gain \ + mute_capture \ + mute_capture_pre \ + mute_playback \ + mute_playback_pre \ + unmute_playback \ + reset \ + reset_pre \ + reset_playback \ + reset_playback_pre \ + reset_capture \ + reset_capture_pre \ + stereomic_to_ap \ + stereomic_to_ap_camcording_gain \ + stereomic_to_ap_gain \ + stereomic_to_ap_pre \ + stereomic_to_ap_pre_gain \ + stereomic_to_ap_voicerec_gain \ + submic_to_ap \ + submic_to_ap_camcording_gain \ + submic_to_ap_gain \ + submic_to_ap_pre \ + submic_to_ap_pre_gain \ + submic_to_ap_voicerec_gain \ + submic_to_cp \ + submic_to_cp_gain \ + submic_to_cp_pre \ + submic_to_cp_pre_gain + +all-local: $(datafiles) + +datafiledir= $(CONFIG_ASCENARIO_MFLD_PATH) +datafile_DATA= $(datafiles) + diff --git a/medfield_audio/ap_to_bt b/medfield_audio/ap_to_bt new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_bt_gain b/medfield_audio/ap_to_bt_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_bt_pre b/medfield_audio/ap_to_bt_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_bt_pre_gain b/medfield_audio/ap_to_bt_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_headset b/medfield_audio/ap_to_headset new file mode 100644 index 0000000..37e85cf --- /dev/null +++ b/medfield_audio/ap_to_headset @@ -0,0 +1,4 @@ +'Playback Switch':1:1 +'Mode Playback Route':1:0 +'Speaker Mux Playback Route':2:0,0 +'Headset Playback Route':1:0 diff --git a/medfield_audio/ap_to_headset_cameraplay_gain b/medfield_audio/ap_to_headset_cameraplay_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_headset_gain b/medfield_audio/ap_to_headset_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_headset_gametone_gain b/medfield_audio/ap_to_headset_gametone_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_headset_keytone_gain b/medfield_audio/ap_to_headset_keytone_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_headset_pre b/medfield_audio/ap_to_headset_pre new file mode 100644 index 0000000..082f57e --- /dev/null +++ b/medfield_audio/ap_to_headset_pre @@ -0,0 +1,4 @@ +kcontrol "Playback Switch" = "1" +kcontrol "Mode Playback Route" ="1" +kcontrol "Speaker Mux Playback Route" = "1" +kcontrol "Headset Playback Route" = "1" diff --git a/medfield_audio/ap_to_headset_pre_gain b/medfield_audio/ap_to_headset_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_headset_ringtone_gain b/medfield_audio/ap_to_headset_ringtone_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_headset_videoplay_gain b/medfield_audio/ap_to_headset_videoplay_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_receiver b/medfield_audio/ap_to_receiver new file mode 100644 index 0000000..892cc20 --- /dev/null +++ b/medfield_audio/ap_to_receiver @@ -0,0 +1,4 @@ +'Playback Switch':1:0 +'Mode Playback Route':1:0 +'Speaker Mux Playback Route':2:0,0 +'Headset Playback Route':1:1 diff --git a/medfield_audio/ap_to_receiver_gain b/medfield_audio/ap_to_receiver_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_receiver_pre b/medfield_audio/ap_to_receiver_pre new file mode 100644 index 0000000..d97fe9d --- /dev/null +++ b/medfield_audio/ap_to_receiver_pre @@ -0,0 +1,4 @@ +kcontrol "Playback Switch" = "1" +kcontrol "Mode Playback Route" = "1" +kcontrol "Speaker Mux Playback Route" = "1" +kcontrol "Headset Playback Route" = "1" diff --git a/medfield_audio/ap_to_receiver_pre_gain b/medfield_audio/ap_to_receiver_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_speaker b/medfield_audio/ap_to_speaker new file mode 100644 index 0000000..630a4d1 --- /dev/null +++ b/medfield_audio/ap_to_speaker @@ -0,0 +1,3 @@ +'Speaker Mux Playback Route':2:0,0 +'Mode Playback Route':1:0 +'Headset Playback Route':1:1 diff --git a/medfield_audio/ap_to_speaker_cameraplay_gain b/medfield_audio/ap_to_speaker_cameraplay_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_speaker_gain b/medfield_audio/ap_to_speaker_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_speaker_gametone_gain b/medfield_audio/ap_to_speaker_gametone_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_speaker_keytone_gain b/medfield_audio/ap_to_speaker_keytone_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_speaker_left b/medfield_audio/ap_to_speaker_left new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_speaker_left_pre b/medfield_audio/ap_to_speaker_left_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_speaker_pre b/medfield_audio/ap_to_speaker_pre new file mode 100644 index 0000000..c908fcc --- /dev/null +++ b/medfield_audio/ap_to_speaker_pre @@ -0,0 +1,3 @@ +kcontrol "Speaker Mux Playback Route" = "1" +kcontrol "Mode Playback Route" = "1" +kcontrol "Headset Playback Route" = "1" diff --git a/medfield_audio/ap_to_speaker_pre_gain b/medfield_audio/ap_to_speaker_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_speaker_right b/medfield_audio/ap_to_speaker_right new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_speaker_right_pre b/medfield_audio/ap_to_speaker_right_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_speaker_ringtone_gain b/medfield_audio/ap_to_speaker_ringtone_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/ap_to_speaker_videoplay_gain b/medfield_audio/ap_to_speaker_videoplay_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/bt_to_ap b/medfield_audio/bt_to_ap new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/bt_to_ap_gain b/medfield_audio/bt_to_ap_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/bt_to_ap_pre b/medfield_audio/bt_to_ap_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/bt_to_ap_pre_gain b/medfield_audio/bt_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/bt_to_cp b/medfield_audio/bt_to_cp new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/bt_to_cp_gain b/medfield_audio/bt_to_cp_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/bt_to_cp_pre b/medfield_audio/bt_to_cp_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/bt_to_cp_pre_gain b/medfield_audio/bt_to_cp_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/codec_disable_on_suspend b/medfield_audio/codec_disable_on_suspend new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/codec_enable_on_suspend b/medfield_audio/codec_enable_on_suspend new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/codec_enable_on_suspend_pre b/medfield_audio/codec_enable_on_suspend_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_ap b/medfield_audio/cp_to_ap new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_ap_gain b/medfield_audio/cp_to_ap_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_ap_pre b/medfield_audio/cp_to_ap_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_ap_pre_gain b/medfield_audio/cp_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_bt b/medfield_audio/cp_to_bt new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_bt_gain b/medfield_audio/cp_to_bt_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_bt_pre b/medfield_audio/cp_to_bt_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_bt_pre_gain b/medfield_audio/cp_to_bt_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_headset b/medfield_audio/cp_to_headset new file mode 100644 index 0000000..ff24cc8 --- /dev/null +++ b/medfield_audio/cp_to_headset @@ -0,0 +1,11 @@ +'Playback Switch':1:1 +'Headset Playback Route':1:0 +'Mode Playback Route':1:1 +'Speaker Mux Playback Route':2:0,0 +'Mic1Mode Capture Route':1:0 +'Mic_InputL Capture Route':1:0 +'DMIC56 Capture Route':1:1 +'Txpath1 Capture Route':1:6 +'Txpath2 Capture Route':1:4 +'Mic1 Capture Volume':1:1 +'PCM1 Mode':1:0 diff --git a/medfield_audio/cp_to_headset_gain b/medfield_audio/cp_to_headset_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_headset_pre b/medfield_audio/cp_to_headset_pre new file mode 100644 index 0000000..e3c90cb --- /dev/null +++ b/medfield_audio/cp_to_headset_pre @@ -0,0 +1,11 @@ +kcontrol "Playback Switch" = "1" +kcontrol "Headset Playback Route" = "1" +kcontrol "Mode Playback Route" = "1" +kcontrol "Speaker Mux Playback Route" = "1" +kcontrol "Mic1Mode Capture Route" = "1" +kcontrol "Mic_InputL Capture Route" = "1" +kcontrol "DMIC56 Capture Route" = "1" +kcontrol "Txpath1 Capture Route" = "1" +kcontrol "Txpath2 Capture Route" = "1" +kcontrol "Mic1 Capture Volume" = "1" +kcontrol "PCM1 Mode" = "1" diff --git a/medfield_audio/cp_to_headset_pre_gain b/medfield_audio/cp_to_headset_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_headset_videocall_gain b/medfield_audio/cp_to_headset_videocall_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_headset_voicecall_gain b/medfield_audio/cp_to_headset_voicecall_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_receiver b/medfield_audio/cp_to_receiver new file mode 100644 index 0000000..2f3c640 --- /dev/null +++ b/medfield_audio/cp_to_receiver @@ -0,0 +1,9 @@ +'Playback Switch':1:0 +'Headset Playback Route':1:1 +'Mode Playback Route':1:1 +'Speaker Mux Playback Route':2:0,0 +'DMIC12 Capture Route':1:1 +'DMIC56 Capture Route':1:1 +'Txpath1 Capture Route':1:0 +'Txpath2 Capture Route':1:4 +'PCM1 Mode':1:0 diff --git a/medfield_audio/cp_to_receiver_gain b/medfield_audio/cp_to_receiver_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_receiver_pre b/medfield_audio/cp_to_receiver_pre new file mode 100644 index 0000000..ddebde1 --- /dev/null +++ b/medfield_audio/cp_to_receiver_pre @@ -0,0 +1,9 @@ +kcontrol "Playback Switch" = "1" +kcontrol "Headset Playback Route" = "1" +kcontrol "Mode Playback Route" = "1" +kcontrol "Speaker Mux Playback Route" = "1" +kcontrol "DMIC12 Capture Route" = "1" +kcontrol "DMIC56 Capture Route" = "1" +kcontrol "Txpath1 Capture Route" = "1" +kcontrol "Txpath2 Capture Route" = "1" +kcontrol "PCM1 Mode" = "1" diff --git a/medfield_audio/cp_to_receiver_pre_gain b/medfield_audio/cp_to_receiver_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_receiver_videocall_gain b/medfield_audio/cp_to_receiver_videocall_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_receiver_voicecall_gain b/medfield_audio/cp_to_receiver_voicecall_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_speaker b/medfield_audio/cp_to_speaker new file mode 100644 index 0000000..2b52471 --- /dev/null +++ b/medfield_audio/cp_to_speaker @@ -0,0 +1,9 @@ +'Playback Switch':1:1 +'Headset Playback Route':1:1 +'Mode Playback Route':1:1 +'Speaker Mux Playback Route':2:1,1 +'DMIC12 Capture Route':1:0 +'DMIC56 Capture Route':1:1 +'Txpath1 Capture Route':1:4 +'Txpath2 Capture Route':1:0 +'PCM1 Mode':1:0 diff --git a/medfield_audio/cp_to_speaker_gain b/medfield_audio/cp_to_speaker_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_speaker_pre b/medfield_audio/cp_to_speaker_pre new file mode 100644 index 0000000..ddebde1 --- /dev/null +++ b/medfield_audio/cp_to_speaker_pre @@ -0,0 +1,9 @@ +kcontrol "Playback Switch" = "1" +kcontrol "Headset Playback Route" = "1" +kcontrol "Mode Playback Route" = "1" +kcontrol "Speaker Mux Playback Route" = "1" +kcontrol "DMIC12 Capture Route" = "1" +kcontrol "DMIC56 Capture Route" = "1" +kcontrol "Txpath1 Capture Route" = "1" +kcontrol "Txpath2 Capture Route" = "1" +kcontrol "PCM1 Mode" = "1" diff --git a/medfield_audio/cp_to_speaker_pre_gain b/medfield_audio/cp_to_speaker_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_speaker_videocall_gain b/medfield_audio/cp_to_speaker_videocall_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/cp_to_speaker_voicecall_gain b/medfield_audio/cp_to_speaker_voicecall_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/earmic_to_ap b/medfield_audio/earmic_to_ap new file mode 100644 index 0000000..ccd9c84 --- /dev/null +++ b/medfield_audio/earmic_to_ap @@ -0,0 +1,7 @@ +'Mic1Mode Capture Route':1:0 +'Mic_InputL Capture Route':1:0 +'Mic_InputR Capture Route':1:1 +'Txpath1 Capture Route':1:6 +'Txpath3 Capture Route':1:3 +'Txpath4 Capture Route':1:5 +'Mic1 Capture Volume':1:1 diff --git a/medfield_audio/earmic_to_ap_gain b/medfield_audio/earmic_to_ap_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/earmic_to_ap_pre b/medfield_audio/earmic_to_ap_pre new file mode 100644 index 0000000..aa3868d --- /dev/null +++ b/medfield_audio/earmic_to_ap_pre @@ -0,0 +1,7 @@ +kcontrol "Mic1Mode Capture Route" = "1" +kcontrol "Mic_InputL Capture Route" = "1" +kcontrol "Mic_InputR Capture Route" = "1" +kcontrol "Txpath1 Capture Route" = "1" +kcontrol "Txpath3 Capture Route" = "1" +kcontrol "Txpath4 Capture Route" = "1" +kcontrol "Mic1 Capture Volume" = "1" diff --git a/medfield_audio/earmic_to_ap_pre_gain b/medfield_audio/earmic_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/earmic_to_cp b/medfield_audio/earmic_to_cp new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/earmic_to_cp_gain b/medfield_audio/earmic_to_cp_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/earmic_to_cp_pre b/medfield_audio/earmic_to_cp_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/earmic_to_cp_pre_gain b/medfield_audio/earmic_to_cp_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/fmradio_to_ap b/medfield_audio/fmradio_to_ap new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/fmradio_to_ap_gain b/medfield_audio/fmradio_to_ap_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/fmradio_to_ap_pre b/medfield_audio/fmradio_to_ap_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/fmradio_to_ap_pre_gain b/medfield_audio/fmradio_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/fmradio_to_headset b/medfield_audio/fmradio_to_headset new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/fmradio_to_headset_gain b/medfield_audio/fmradio_to_headset_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/fmradio_to_headset_pre b/medfield_audio/fmradio_to_headset_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/fmradio_to_headset_pre_gain b/medfield_audio/fmradio_to_headset_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/fmradio_to_speaker b/medfield_audio/fmradio_to_speaker new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/fmradio_to_speaker_gain b/medfield_audio/fmradio_to_speaker_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/fmradio_to_speaker_pre b/medfield_audio/fmradio_to_speaker_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/fmradio_to_speaker_pre_gain b/medfield_audio/fmradio_to_speaker_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/mainmic_to_ap b/medfield_audio/mainmic_to_ap new file mode 100644 index 0000000..a7a90f8 --- /dev/null +++ b/medfield_audio/mainmic_to_ap @@ -0,0 +1,6 @@ +'DMIC12 Capture Route':1:1 +'DMIC56 Capture Route':1:1 +'Txpath1 Capture Route':1:0 +'Txpath2 Capture Route':1:4 +'Txpath3 Capture Route':1:3 +'Txpath4 Capture Route':1:5 diff --git a/medfield_audio/mainmic_to_ap_camcording_gain b/medfield_audio/mainmic_to_ap_camcording_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/mainmic_to_ap_gain b/medfield_audio/mainmic_to_ap_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/mainmic_to_ap_pre b/medfield_audio/mainmic_to_ap_pre new file mode 100644 index 0000000..04424ac --- /dev/null +++ b/medfield_audio/mainmic_to_ap_pre @@ -0,0 +1,6 @@ +kcontrol "DMIC12 Capture Route" = "1" +kcontrol "DMIC56 Capture Route" = "1" +kcontrol "Txpath1 Capture Route" = "1" +kcontrol "Txpath2 Capture Route" = "1" +kcontrol "Txpath3 Capture Route" = "1" +kcontrol "Txpath4 Capture Route" = "1" diff --git a/medfield_audio/mainmic_to_ap_pre_gain b/medfield_audio/mainmic_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/mainmic_to_ap_voicerec_gain b/medfield_audio/mainmic_to_ap_voicerec_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/mainmic_to_cp b/medfield_audio/mainmic_to_cp new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/mainmic_to_cp_gain b/medfield_audio/mainmic_to_cp_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/mainmic_to_cp_pre b/medfield_audio/mainmic_to_cp_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/mainmic_to_cp_pre_gain b/medfield_audio/mainmic_to_cp_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/mute_capture b/medfield_audio/mute_capture new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/mute_capture_pre b/medfield_audio/mute_capture_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/mute_playback b/medfield_audio/mute_playback new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/mute_playback_pre b/medfield_audio/mute_playback_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/reset b/medfield_audio/reset new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/reset_capture b/medfield_audio/reset_capture new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/reset_capture_pre b/medfield_audio/reset_capture_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/reset_playback b/medfield_audio/reset_playback new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/reset_playback_pre b/medfield_audio/reset_playback_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/reset_pre b/medfield_audio/reset_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/stereomic_to_ap b/medfield_audio/stereomic_to_ap new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/stereomic_to_ap_camcording_gain b/medfield_audio/stereomic_to_ap_camcording_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/stereomic_to_ap_gain b/medfield_audio/stereomic_to_ap_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/stereomic_to_ap_pre b/medfield_audio/stereomic_to_ap_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/stereomic_to_ap_pre_gain b/medfield_audio/stereomic_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/stereomic_to_ap_voicerec_gain b/medfield_audio/stereomic_to_ap_voicerec_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/submic_to_ap b/medfield_audio/submic_to_ap new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/submic_to_ap_camcording_gain b/medfield_audio/submic_to_ap_camcording_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/submic_to_ap_gain b/medfield_audio/submic_to_ap_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/submic_to_ap_pre b/medfield_audio/submic_to_ap_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/submic_to_ap_pre_gain b/medfield_audio/submic_to_ap_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/submic_to_ap_voicerec_gain b/medfield_audio/submic_to_ap_voicerec_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/submic_to_cp b/medfield_audio/submic_to_cp new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/submic_to_cp_gain b/medfield_audio/submic_to_cp_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/submic_to_cp_pre b/medfield_audio/submic_to_cp_pre new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/submic_to_cp_pre_gain b/medfield_audio/submic_to_cp_pre_gain new file mode 100644 index 0000000..e69de29 diff --git a/medfield_audio/unmute_playback b/medfield_audio/unmute_playback new file mode 100644 index 0000000..e69de29 diff --git a/packaging/alsa-scenario-scn-data-0-mfld.changes b/packaging/alsa-scenario-scn-data-0-mfld.changes new file mode 100644 index 0000000..4bef515 --- /dev/null +++ b/packaging/alsa-scenario-scn-data-0-mfld.changes @@ -0,0 +1,2 @@ +* Wed Sep 12 2012 vivian, zhang 0.1.0 +- Added alsa-scenario-scn-data-0-mfld package which includes alsa scenario data for mfld platform diff --git a/packaging/alsa-scenario-scn-data-0-mfld.spec b/packaging/alsa-scenario-scn-data-0-mfld.spec new file mode 100644 index 0000000..980b8c3 --- /dev/null +++ b/packaging/alsa-scenario-scn-data-0-mfld.spec @@ -0,0 +1,47 @@ +Name: alsa-scenario-scn-data-0-mfld +Summary: alsa scenario data for mfld codec +Version: 0.1.0 +Release: 1 +Group: TO_BE/FILLED_IN +License: LGPLv2.1 +BuildArch: noarch +Source0: %{name}-%{version}.tar.gz + + +%description +alsa scenario data for mfld codec + +%prep +%setup -q + +%build + + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}/usr/etc/sound +cp -a medfield_audio %{buildroot}/usr/etc/sound +cp -a medfield_audio.conf %{buildroot}/usr/etc/sound/medfield_audio.conf + +%post +BASE_PATH=/usr/etc/sound +CODEC=medfield_audio + +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/* -- cgit v1.2.3