diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-10-24 16:54:54 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-10-24 16:54:54 +0900 |
commit | 8477353fed95d263bef6fe3bec5a965e234f1f7d (patch) | |
tree | 2e57e0285449a1bcd02ec1b75cb1e7f7f0616ad0 | |
parent | 4de6f2f350a2b36e8da6729c8b4222df860831ae (diff) | |
download | mmfw-sysconf-8477353fed95d263bef6fe3bec5a965e234f1f7d.tar.gz mmfw-sysconf-8477353fed95d263bef6fe3bec5a965e234f1f7d.tar.bz2 mmfw-sysconf-8477353fed95d263bef6fe3bec5a965e234f1f7d.zip |
tizen 2.4 releasetizen_2.4_mobile_releasesubmit/tizen_2.4/20151028.064447accepted/tizen/2.4/mobile/20151029.032343accepted/tizen_2.4_mobile
160 files changed, 8204 insertions, 633 deletions
diff --git a/mmfw-sysconf-cleansdk-e4x12/etc/pulse/client.conf b/mmfw-sysconf-cleansdk-e4x12/etc/pulse/client.conf index b78d121..afd70d9 100755 --- a/mmfw-sysconf-cleansdk-e4x12/etc/pulse/client.conf +++ b/mmfw-sysconf-cleansdk-e4x12/etc/pulse/client.conf @@ -24,7 +24,7 @@ ; default-server = ; default-dbus-server = -; autospawn = yes +autospawn = no ; daemon-binary = /usr/bin/pulseaudio ; extra-arguments = --log-target=syslog diff --git a/mmfw-sysconf-cleansdk-e4x12/etc/pulse/daemon.conf b/mmfw-sysconf-cleansdk-e4x12/etc/pulse/daemon.conf index 8d728d0..7ceb26f 100755 --- a/mmfw-sysconf-cleansdk-e4x12/etc/pulse/daemon.conf +++ b/mmfw-sysconf-cleansdk-e4x12/etc/pulse/daemon.conf @@ -46,7 +46,7 @@ realtime-priority = 5 ; default-script-file = /etc/pulse/default.pa log-target = dlog-color -; log-level = notice +log-level = verbose ; log-meta = no ; log-time = no ; log-backtrace = 0 diff --git a/mmfw-sysconf-cleansdk-e4x12/etc/pulse/system.pa b/mmfw-sysconf-cleansdk-e4x12/etc/pulse/system.pa index bff3115..856f655 100755 --- a/mmfw-sysconf-cleansdk-e4x12/etc/pulse/system.pa +++ b/mmfw-sysconf-cleansdk-e4x12/etc/pulse/system.pa @@ -81,5 +81,4 @@ set-default-source alsa_input.0.analog-stereo load-module module-null-sink load-module module-null-source -load-module module-remap-sink sink_name=mono_alsa master=alsa_output.0.analog-stereo channels=1 load-sample camera-shutter /usr/share/sounds/mm-camcorder/capture_shutter_02.wav diff --git a/mmfw-sysconf-cleansdk-e4x12/usr/etc/mmfw_camcorder.ini b/mmfw-sysconf-cleansdk-e4x12/usr/etc/mmfw_camcorder.ini index c3cdb8f..20efef4 100755..100644 --- a/mmfw-sysconf-cleansdk-e4x12/usr/etc/mmfw_camcorder.ini +++ b/mmfw-sysconf-cleansdk-e4x12/usr/etc/mmfw_camcorder.ini @@ -35,8 +35,9 @@ DeviceCount = 1 SupportMediaPacketPreviewCb = 0 [AudioInput] -AudiosrcElement = pulsesrc | 2,0 | do-timestamp,1 | slave-method,3 -AudiomodemsrcElement = voicedatasrcbin | 0,0 +AudioDevice = 0,1 || 0 +AudiosrcElement = pulsesrc | 2,0 | do-timestamp,1 | blocksize,640 +AudiomodemsrcElement = pulsesrc | 2,0 | do-timestamp,1 | blocksize,640 [VideoOutput] ; DisplayDevice @@ -48,21 +49,21 @@ DisplayMode = 0,1,2 || 0 ; Videosink ;;; 0: X surface, 1: Evas surface, 2: GL surface, 3: NULL surface Videosink = 0,1,3 || 0 -VideosinkElementX = xvimagesink | 6,0 | draw-borders,0 | force-aspect-ratio,1 | enable-last-buffer,0 | qos,0 | sync,0 | show-preroll-frame,0 -VideosinkElementEvas = evaspixmapsink | 4,0 | enable-last-buffer,0 | qos,0 | sync,0 | show-preroll-frame,0 -VideosinkElementNull = fakesink | 4,0 | qos,0 | sync,0 | enable-last-buffer,0 | show-preroll-frame,0 +VideosinkElementX = xvimagesink | 7,0 | draw-borders,0 | force-aspect-ratio,1 | enable-last-sample,0 | qos,0 | sync,0 | show-preroll-frame,0 | handle-expose,0 +VideosinkElementEvas = evaspixmapsink | 4,0 | enable-last-sample,0 | qos,0 | sync,0 | show-preroll-frame,0 +VideosinkElementNull = fakesink | 4,0 | qos,0 | sync,0 | enable-last-sample,0 | show-preroll-frame,0 UseVideoscale = 0 VideoscaleElement = fimcconvert | 1,0 | rotang,90 VideoconvertElement = fimcconvert | 0,0 [VideoEncoder] -H263 = omx_h263enc | 0,0 -H264 = omx_h264enc | 0,0 -MPEG4 = omx_mpeg4enc | 0,0 +H263 = avenc_h263p | 1,0 | compliance, -2 +H264 = omxh264enc | 0,0 +MPEG4 = avenc_mpeg4 | 1,0 | compliance, -2 [AudioEncoder] AMR = amrnbenc | 0,0 -AAC = ffenc_aac | 0,0 +AAC = avenc_aac | 1,0 | compliance,-2 WAVE = wavenc | 0,0 [ImageEncoder] @@ -95,11 +96,11 @@ DropVideoFrame = 0 PassFirstVideoFrame = 0 [Mux] -3GP = ffmux_3gp | 0,0 -AMR = ffmux_amr | 0,0 -MP4 = ffmux_mp4 | 0,0 +3GP = avmux_3gp | 0,0 +AMR = avmux_amr | 0,0 +MP4 = avmux_mp4 | 0,0 AVI = avimux | 0,0 MATROSKA = matroskamux | 0,0 WAV = wavenc | 0,0 -AAC = ffmux_adts | 0,0 +AAC = avmux_adts | 0,0 diff --git a/mmfw-sysconf-cleansdk-e4x12/usr/etc/mmfw_camcorder_dev_video_pri.ini b/mmfw-sysconf-cleansdk-e4x12/usr/etc/mmfw_camcorder_dev_video_pri.ini index 66e060f..c1f2a9b 100644 --- a/mmfw-sysconf-cleansdk-e4x12/usr/etc/mmfw_camcorder_dev_video_pri.ini +++ b/mmfw-sysconf-cleansdk-e4x12/usr/etc/mmfw_camcorder_dev_video_pri.ini @@ -24,7 +24,12 @@ DeviceName = S5C73M3 PreviewResolution = 176,144 | 320,240 | 640,480 | 960,720 | 1280,720 | 1920,1080 || 640,480 CaptureResolution = 640,480 | 1280,720 | 2048,1152 | 2048,1536 | 3264,1836 | 3264,2176 | 3264,2448 || 3264,2448 VideoResolution = 176,144 | 320,240 | 640,480 | 960,720 | 1280,720 | 1920,1080 || 640,480 -FPS = 0,8,15,24,25,30,60,120 || 30 +FPS0 = 0,8,15,24,25,30 || 30 +FPS1 = 0,8,15,24,25,30 || 30 +FPS2 = 0,8,15,24,25,30 || 30 +FPS3 = 0,8,15,24,25,30 || 30 +FPS4 = 0,8,15,24,25,30 || 30 +FPS5 = 0,8,15,24,25,30 || 30 ; PictureForamt - MSL value ;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY PictureFormat = 0,4,5,7,14 || 14 diff --git a/mmfw-sysconf-cleansdk-e4x12/usr/etc/mmfw_player.ini b/mmfw-sysconf-cleansdk-e4x12/usr/etc/mmfw_player.ini index 274b627..e909ab5 100644..100755 --- a/mmfw-sysconf-cleansdk-e4x12/usr/etc/mmfw_player.ini +++ b/mmfw-sysconf-cleansdk-e4x12/usr/etc/mmfw_player.ini @@ -1,54 +1,51 @@ -[general] +[general] -; if disabled typefind element will used directely -use decodebin = no ; async state change problem exist +disable segtrap = yes ; same effect with --gst-disable-segtrap -use sink handler = yes - -disable segtrap = yes ; same effect with --gst-disable-segtrap - -; set default videosink element according to video surface type(X, EVAS, NULL) +; set default videosink element according to video surface type videosink element x = xvimagesink videosink element evas = evaspixmapsink videosink element fake = fakesink -video converter element = ffmpegcolorspace +video converter element = videoconvert audiosink element = pulsesink -drmsrc element = filesrc - -; if yes. gstreamer will not update registry -skip rescan = yes +; if yes. gstreamer will not update registry +skip rescan = yes delay before repeat = 50 ; msec -; comma separated list of tocken which elemnts has it in it's name will not be used -element exclude keyword = asteriskh263 +; comma separated list of tocken which elemnts has it in it's name will not be used +element exclude keyword = -async start = yes +; comma separated list of tocken +unsupported codec keyword = divx -multiple codec supported = yes +async start = yes -; parameters for initializing gstreamer -gstparam1 = -gstparam2 = -gstparam3 = -gstparam4 = -gstparam5 = +; parameters for initializing gstreamer +gstparam1 = --gst-debug=2 +gstparam2 = +gstparam3 = +gstparam4 = +gstparam5 = -; generating dot file representing pipeline state -generate dot = no +; generating dot file representing pipeline state +; export GST_DEBUG_DUMP_DOT_DIR= +generate dot = no -; parameter for clock provide in audiosink -provide clock = yes +; parameter is for only video to be determined +; which clock will be used +; if yes, system clock will be used +; apart from this, audiosink is clock provider for audio +use system clock = yes -; allowed timeout for changing pipeline state -live state change timeout = 30 ; sec +; allowed timeout for changing pipeline state +live state change timeout = 30 ; sec localplayback state change timeout = 10 ; sec -; delay in msec for sending EOS -eos delay = 150 ; msec - +; delay in msec for sending EOS +eos delay = 150 ; msec [http streaming] @@ -56,42 +53,7 @@ httpsrc element = souphttpsrc ; if set, use file or not use memory for buffering http file buffer path = /opt/usr/media - http buffering limit = 99.0 ; percent - http max size bytes = 1048576 ; bytes - http buffering time = 1.2 - -http timeout = 30 ; sec - - -[rtsp streaming] - -rtspsrc element = rtspsrc - -rtsp buffering time = 5000; msec - -rtsp rebuffering time = 15000; msec - -rtsp do typefinding = no; if no, caps on rtspsrc:src pad will be used for autoplugging - -rtsp error concealment = yes - - -[hw accelation] -use video hw accel = no - - -[priority] - -use priority setting = no - -demux = 95 - -videosink = 96 - -audiosink = 97 - -ringbuffer = 98 - +http timeout = 20 ; sec diff --git a/mmfw-sysconf-e3250/etc/pulse/client.conf b/mmfw-sysconf-e3250/etc/pulse/client.conf index b78d121..afd70d9 100644 --- a/mmfw-sysconf-e3250/etc/pulse/client.conf +++ b/mmfw-sysconf-e3250/etc/pulse/client.conf @@ -24,7 +24,7 @@ ; default-server = ; default-dbus-server = -; autospawn = yes +autospawn = no ; daemon-binary = /usr/bin/pulseaudio ; extra-arguments = --log-target=syslog diff --git a/mmfw-sysconf-e3250/etc/pulse/daemon.conf b/mmfw-sysconf-e3250/etc/pulse/daemon.conf index f790bc3..f28de28 100644 --- a/mmfw-sysconf-e3250/etc/pulse/daemon.conf +++ b/mmfw-sysconf-e3250/etc/pulse/daemon.conf @@ -45,8 +45,8 @@ realtime-priority = 5 ; load-default-script-file = yes ; default-script-file = /etc/pulse/default.pa -log-target = dlog -log-level = debug +log-target = dlog-color +log-level = verbose ; log-meta = no ; log-time = no ; log-backtrace = 0 diff --git a/mmfw-sysconf-e3250/etc/pulse/system.pa b/mmfw-sysconf-e3250/etc/pulse/system.pa index de6f799..b44ff09 100755 --- a/mmfw-sysconf-e3250/etc/pulse/system.pa +++ b/mmfw-sysconf-e3250/etc/pulse/system.pa @@ -41,7 +41,7 @@ load-module module-esound-protocol-unix load-module module-native-protocol-unix load-module module-bluetooth-policy -load-module module-bluetooth-discover aptx_lib_name=libbtaptx-armv6L.so +load-module module-bluetooth-discover ### Custom policy module to route between bt<=speaker load-module module-policy diff --git a/mmfw-sysconf-e3250/usr/etc/mmfw_audio_volume.ini b/mmfw-sysconf-e3250/usr/etc/mmfw_audio_volume.ini index ff2678a..03e9136 100644 --- a/mmfw-sysconf-e3250/usr/etc/mmfw_audio_volume.ini +++ b/mmfw-sysconf-e3250/usr/etc/mmfw_audio_volume.ini @@ -6,7 +6,7 @@ ringtone = 0, 58, 61, 64, 67, 70, 72, 74, 76, 78, 80, 82, media = 0, 59, 62, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 90 call = 100, 100, 100, 100, 100, 100, 100 voip = 100, 100, 100, 100, 100, 100, 100 -svoice = 100, 100, 100, 100, 100, 100, 100 +voice = 0, 59, 62, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 90 gain_dialer = 1.0 gain_touch = 1.0 gain_af = 1.0 @@ -17,4 +17,3 @@ gain_midi = 1.0 gain_booting = 1.0 gain_video = 1.0 gain_tts = 1.0 - diff --git a/mmfw-sysconf-e3250/usr/etc/mmfw_camcorder.ini b/mmfw-sysconf-e3250/usr/etc/mmfw_camcorder.ini index d9b8415..b62c3b5 100644 --- a/mmfw-sysconf-e3250/usr/etc/mmfw_camcorder.ini +++ b/mmfw-sysconf-e3250/usr/etc/mmfw_camcorder.ini @@ -40,10 +40,9 @@ ImageFilterInputFormat = 7 SupportMediaPacketPreviewCb = 0 [AudioInput] -;AudiosrcElement = audiotestsrc | 2,0 | do-timestamp,1 | slave-method,3 -AudiosrcElement = pulsesrc | 2,0 | do-timestamp,1 | slave-method,3 -AudiomodemsrcElement = voicedatasrcbin | 0,0 -;AudiomodemsrcElement = dpramsrcbin | 1,0 | blocksize,644 +AudioDevice = 0,1 || 0 +AudiosrcElement = pulsesrc | 2,0 | do-timestamp,1 | blocksize,640 +AudiomodemsrcElement = pulsesrc | 2,0 | do-timestamp,1 | blocksize,640 [VideoOutput] ; DisplayDevice @@ -55,23 +54,23 @@ DisplayMode = 0,1,2 || 0 ; Videosink ;;; 0: X surface, 1: Evas surface, 2: GL surface, 3: NULL surface Videosink = 0,1,3 || 0 -VideosinkElementX = xvimagesink | 6,0 | draw-borders,0 | force-aspect-ratio,1 | enable-last-buffer,0 | qos,0 | sync,0 | show-preroll-frame,0 -VideosinkElementEvas = evaspixmapsink | 4,0 | enable-last-buffer,0 | qos,0 | sync,0 | show-preroll-frame,0 +VideosinkElementX = xvimagesink | 7,0 | draw-borders,0 | force-aspect-ratio,1 | enable-last-sample,0 | qos,0 | sync,0 | show-preroll-frame,0 | handle-expose,0 +VideosinkElementEvas = evaspixmapsink | 4,0 | enable-last-sample,0 | qos,0 | sync,0 | show-preroll-frame,0 ;VideosinkElementGL = glimagesink | 0,0 -VideosinkElementNull = fakesink | 4,0 | qos,0 | sync,0 | enable-last-buffer,0 | show-preroll-frame,0 +VideosinkElementNull = fakesink | 4,0 | qos,0 | sync,0 | enable-last-sample,0 | show-preroll-frame,0 UseVideoscale = 0 VideoscaleElement = videoscale | 0,0 -VideoconvertElement = ffmpegcolorspace | 0,0 +VideoconvertElement = videoconvert | 0,0 [VideoEncoder] -H263 = ffenc_h263p | 0,0 +H263 = avenc_h263p | 1,0 | compliance, -2 ;H264 = omx_h264enc | 0,0 -MPEG4 = ffenc_mpeg4 | 0,0 +MPEG4 = avenc_mpeg4 | 1,0 | compliance, -2 [AudioEncoder] AMR = amrnbenc | 0,0 ;MP3 = lame | 0,0 -AAC = ffenc_aac | 0,0 +AAC = avenc_aac | 1,0 | compliance, -2 WAVE = wavenc | 0,0 [ImageEncoder] @@ -105,11 +104,11 @@ PassFirstVideoFrame = 0 SupportAudioTuning = 1 [Mux] -3GP = ffmux_3gp | 0,0 -AMR = ffmux_amr | 0,0 -MP4 = ffmux_mp4 | 0,0 +3GP = avmux_3gp | 0,0 +AMR = avmux_amr | 0,0 +MP4 = avmux_mp4 | 0,0 AVI = avimux | 0,0 MATROSKA = matroskamux | 0,0 WAV = wavenc | 0,0 -AAC = ffmux_adts | 0,0 +AAC = avmux_adts | 0,0 diff --git a/mmfw-sysconf-e3250/usr/etc/mmfw_player.ini b/mmfw-sysconf-e3250/usr/etc/mmfw_player.ini index 54d61bf..b445680 100644..100755 --- a/mmfw-sysconf-e3250/usr/etc/mmfw_player.ini +++ b/mmfw-sysconf-e3250/usr/etc/mmfw_player.ini @@ -1,47 +1,45 @@ [general] -; if disabled typefind element will used directely -use decodebin = yes ; async state change problem exist - -use sink handler = yes - disable segtrap = yes ; same effect with --gst-disable-segtrap -; set default videosink element according to video surface type(X, EVAS, NULL) +; set default videosink element according to video surface type videosink element x = xvimagesink videosink element evas = evaspixmapsink videosink element fake = fakesink -video converter element = ffmpegcolorspace +video converter element = videoconvert audiosink element = pulsesink -drmsrc element = filesrc - ; if yes. gstreamer will not update registry skip rescan = yes + delay before repeat = 350 ; msec ; comma separated list of tocken which elemnts has it in it's name will not be used element exclude keyword = -async start = yes +; comma separated list of tocken +unsupported codec keyword = divx -multiple codec supported = yes +async start = yes ; parameters for initializing gstreamer -;gstparam1 = --gst-disable-registry-usage ; --gst-plugin-load +gstparam1 = --gst-debug=2 gstparam2 = gstparam3 = gstparam4 = gstparam5 = ; generating dot file representing pipeline state +; export GST_DEBUG_DUMP_DOT_DIR= generate dot = no -; parameter for clock provide in audiosink -provide clock for music = yes -provide clock for video = no +; parameter is for only video to be determined +; which clock will be used +; if yes, system clock will be used +; apart from this, audiosink is clock provider for audio +use system clock = yes ; allowed timeout for changing pipeline state live state change timeout = 30 ; sec @@ -50,57 +48,13 @@ localplayback state change timeout = 10 ; sec ; delay in msec for sending EOS eos delay = 150 ; msec - [http streaming] httpsrc element = souphttpsrc ; if set, use file or not use memory for buffering http file buffer path = /opt/usr/media - http buffering limit = 99.0 ; percent - http max size bytes = 1048576 ; bytes - http buffering time = 1.2 - http timeout = 20 ; sec - - -[rtsp streaming] - -rtspsrc element = secrtspsrc - -rtsp buffering time = 5000; msec - -rtsp rebuffering time = 15000; msec - -rtsp do typefinding = no; if no, caps on rtspsrc:src pad will be used for autoplugging - -rtsp error concealment = yes - - -[hw accelation] -use video hw accel = yes - - -[priority] - -use priority setting = no - -demux = 95 - -videosink = 96 - -audiosink = 97 - -ringbuffer = 98 - -[subtitle] - -use subtitle setting = no - -subtitle uri = - -subtitle silent = no - diff --git a/mmfw-sysconf-e3250/usr/etc/mmfw_player_audio_effect.ini b/mmfw-sysconf-e3250/usr/etc/mmfw_player_audio_effect.ini index 396eef7..1394608 100644 --- a/mmfw-sysconf-e3250/usr/etc/mmfw_player_audio_effect.ini +++ b/mmfw-sysconf-e3250/usr/etc/mmfw_player_audio_effect.ini @@ -15,4 +15,3 @@ audio effect custom eq band freq = 36, 98, 265, 711, 1907, 5117, 13727 ; list of audio effect custom min list = -12 ; list of minimum level value (the first element is for EQ, others for extension effect) audio effect custom max list = 12 ; list of maximum level value (the first element is for EQ, others for extension effect) - diff --git a/mmfw-sysconf-msm8x26.manifest b/mmfw-sysconf-hawkp.manifest index a76fdba..a76fdba 100644 --- a/mmfw-sysconf-msm8x26.manifest +++ b/mmfw-sysconf-hawkp.manifest diff --git a/mmfw-sysconf-hawkp/etc/asound.conf b/mmfw-sysconf-hawkp/etc/asound.conf new file mode 100644 index 0000000..f717a3e --- /dev/null +++ b/mmfw-sysconf-hawkp/etc/asound.conf @@ -0,0 +1,50 @@ +pcm. !default { + type asym + playback.pcm { + type hw + card 0 + device 0 + } + capture.pcm { + type hw + card 0 + device 0 + } +} + +ctl. !default { + type hw + card 0 +} + +pcm. AIF2{ + type hw + card 0 + device 1 + format S16_LE + channels 2 + rate 8000 +} + +pcm. AIF3{ + type hw + card 0 + device 2 + format S16_LE + channels 2 + rate 8000 +} + +pcm. AIF4{ + type hw + card 0 + device 4 + format S16_LE + channels 2 + rate 44100 +} + +ctl. wm1811 { + type hw + card 0 +} diff --git a/mmfw-sysconf-msm8x26/etc/pulse/client.conf b/mmfw-sysconf-hawkp/etc/pulse/client.conf index b78d121..afd70d9 100644 --- a/mmfw-sysconf-msm8x26/etc/pulse/client.conf +++ b/mmfw-sysconf-hawkp/etc/pulse/client.conf @@ -24,7 +24,7 @@ ; default-server = ; default-dbus-server = -; autospawn = yes +autospawn = no ; daemon-binary = /usr/bin/pulseaudio ; extra-arguments = --log-target=syslog diff --git a/mmfw-sysconf-hawkp/etc/pulse/daemon.conf b/mmfw-sysconf-hawkp/etc/pulse/daemon.conf new file mode 100644 index 0000000..071e8ed --- /dev/null +++ b/mmfw-sysconf-hawkp/etc/pulse/daemon.conf @@ -0,0 +1,83 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA. + +## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for +## more information. Default values are commented out. Use either ; or # for +## commenting. + +daemonize = yes +; fail = yes +; allow-module-loading = yes +; allow-exit = yes +; use-pid-file = yes +system-instance = yes +; local-server-type = user +; enable-shm = yes +; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB +; lock-memory = no +; cpu-limit = no + +; high-priority = yes +; nice-level = -11 + +realtime-scheduling = yes +realtime-priority = 5 + +; exit-idle-time = 20 +; scache-idle-time = 20 + +; dl-search-path = (depends on architecture) + +; load-default-script-file = yes +; default-script-file = /etc/pulse/default.pa + +log-target = dlog +log-level = verbose +; log-meta = no +; log-time = no +; log-backtrace = 0 + +resample-method = speex-fixed-3 +; enable-remixing = yes +; enable-lfe-remixing = no + +flat-volumes = no + +; rlimit-fsize = -1 +; rlimit-data = -1 +; rlimit-stack = -1 +; rlimit-core = -1 +; rlimit-as = -1 +; rlimit-rss = -1 +; rlimit-nproc = -1 +; rlimit-nofile = 256 +; rlimit-memlock = -1 +; rlimit-locks = -1 +; rlimit-sigpending = -1 +; rlimit-msgqueue = -1 +; rlimit-nice = 31 +; rlimit-rtprio = 9 +; rlimit-rttime = 1000000 + +; default-sample-format = s16le +default-sample-rate = 48000 +alternate-sample-rate = 48000 +; default-sample-channels = 2 +; default-channel-map = front-left,front-right + +; default-fragments = 4 +; default-fragment-size-msec = 25 diff --git a/mmfw-sysconf-hawkp/etc/pulse/default.pa b/mmfw-sysconf-hawkp/etc/pulse/default.pa new file mode 100644 index 0000000..be0a541 --- /dev/null +++ b/mmfw-sysconf-hawkp/etc/pulse/default.pa @@ -0,0 +1,142 @@ +#!/usr/bin/pulseaudio -nF +# +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +# This startup script is used only if PulseAudio is started per-user +# (i.e. not in system mode) + +.nofail + +### Load something into the sample cache +#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav +#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav +#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav +#load-sample-lazy pulse-access /usr/share/sounds/generic.wav + +.fail + +### Automatically restore the volume of streams and devices +load-module module-device-restore +load-module module-stream-restore +load-module module-card-restore + +### Automatically augment property information from .desktop files +### stored in /usr/share/application +load-module module-augment-properties + +### Load audio drivers statically +### (it's probably better to not load these drivers manually, but instead +### use module-udev-detect -- see below -- for doing this automatically) +#load-module module-alsa-sink +#load-module module-alsa-source device=hw:1,0 +#load-module module-null-sink +#load-module module-pipe-sink + +### Automatically load driver modules depending on the hardware available +.ifexists module-udev-detect.so +load-module module-udev-detect +.else +### Use the static hardware detection module (for systems that lack udev support) +load-module module-detect +.endif + +### Automatically connect sink and source if JACK server is present +.ifexists module-jackdbus-detect.so +.nofail +load-module module-jackdbus-detect channels=2 +.fail +.endif + +### Load several protocols +.ifexists module-esound-protocol-unix.so +load-module module-esound-protocol-unix +.endif +load-module module-native-protocol-unix + +### Network access (may be configured with paprefs, so leave this commented +### here if you plan to use paprefs) +#load-module module-esound-protocol-tcp +#load-module module-native-protocol-tcp + +### Load the RTP receiver module (also configured via paprefs, see above) +#load-module module-rtp-recv + +### Load the RTP sender module (also configured via paprefs, see above) +#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'" +#load-module module-rtp-send source=rtp.monitor + +### Load additional modules from GConf settings. This can be configured with the paprefs tool. +### Please keep in mind that the modules configured by paprefs might conflict with manually +### loaded modules. +.ifexists module-gconf.so +.nofail +load-module module-gconf +.fail +.endif + +### Automatically restore the default sink/source when changed by the user +### during runtime +### NOTE: This should be loaded as early as possible so that subsequent modules +### that look up the default sink/source get the right value +load-module module-default-device-restore + +### Automatically move streams to the default sink if the sink they are +### connected to dies, similar for sources +load-module module-rescue-streams + +### Make sure we always have a sink around, even if it is a null sink. +load-module module-always-sink + +### Honour intended role device property +load-module module-intended-roles + +### Automatically suspend sinks/sources that become idle for too long +load-module module-suspend-on-idle + +### If autoexit on idle is enabled we want to make sure we only quit +### when no local session needs us anymore. +.ifexists module-console-kit.so +load-module module-console-kit +.endif +.ifexists module-systemd-login.so +load-module module-systemd-login +.endif + +### Enable positioned event sounds +load-module module-position-event-sounds + +### Cork music/video streams when a phone stream is active +load-module module-role-cork + +### Modules to allow autoloading of filters (such as echo cancellation) +### on demand. module-filter-heuristics tries to determine what filters +### make sense, and module-filter-apply does the heavy-lifting of +### loading modules and rerouting streams. +load-module module-filter-heuristics +load-module module-filter-apply + +### Load DBus protocol +.ifexists module-dbus-protocol.so +load-module module-dbus-protocol +.endif + + +load-module module-switch-on-port-available + +### Make some devices default +#set-default-sink output +#set-default-source input diff --git a/mmfw-sysconf-msm8x26/etc/pulse/system.pa b/mmfw-sysconf-hawkp/etc/pulse/system.pa index d285d60..39cd69f 100644..100755 --- a/mmfw-sysconf-msm8x26/etc/pulse/system.pa +++ b/mmfw-sysconf-hawkp/etc/pulse/system.pa @@ -22,13 +22,15 @@ ### Custom policy module to route between bt<=speaker load-module module-policy -### Stream Manager module -load-module module-stream-mgr ipc_type=pipe -load-module module-role-ducking global=1 volume=0 - #load-module module-alsa-sink sink_name=alsa_output.0.analog-stereo device=hw:0,0 fragment_size=8192 #load-module module-alsa-source source_name=alsa_input.0.analog-stereo device=hw:0,0 fragment_size=8192 #load-module module-alsa-source source_name=alsa_input.8.analog-stereo device=hw:0,8 mmap=0 +#load-module module-alsa-sink sink_name=alsa_output.1.analog-stereo device=hw:0,0 tsched_buffer_size=2048576 +#load-module module-alsa-sink sink_name=alsa_output.1.analog-stereo device=hw:0,0 fragment_size=8192 mmap=1 +load-module module-alsa-sink sink_name=alsa_output.1.analog-stereo device=hw:0,1 fragment_size=8192 mmap=0 tsched=0 tsched_buffer_size=262144 fixed_latency_range=1 + +### Stream Manager module +load-module module-stream-mgr ipc_type=pipe ### Automatically load driver modules depending on the hardware available .ifexists module-udev-detect.so @@ -44,9 +46,6 @@ load-module module-esound-protocol-unix .endif load-module module-native-protocol-unix -load-module module-bluetooth-policy -load-module module-bluetooth-discover aptx_lib_name=libbtaptx-armv6L.so - ### Automatically restore the volume of streams and devices #load-module module-stream-restore #load-module module-device-restore @@ -70,7 +69,7 @@ load-module module-rescue-streams load-module module-always-sink ### Automatically suspend sinks/sources that become idle for too long -load-module module-suspend-on-idle timeout=1 +load-module module-suspend-on-idle timeout=0 ### Enable positioned event sounds #load-module module-position-event-sounds @@ -79,10 +78,7 @@ load-module module-suspend-on-idle timeout=1 #set-default-source alsa_input.0.analog-stereo load-module module-null-sink - -load-module module-null-source -#load-module module-remap-sink sink_name=mono_alsa master=alsa_output.0.analog-stereo channels=1 +load-module module-remap-sink sink_name=mono_alsa master=alsa_output.1.analog-stereo channels=1 +#load-module module-mls-manager load-sample camera-shutter /usr/share/sounds/mm-camcorder/capture_shutter_02.wav -load-sample recording-stop /usr/share/sounds/mm-camcorder/recording_stop_01.ogg -load-sample SIMPLE_PLAY_/usr/share/feedback/sound/touch/sip.ogg /usr/share/feedback/sound/touch/sip.ogg -load-sample SIMPLE_PLAY_/usr/share/feedback/sound/touch/sip_backspace.ogg /usr/share/feedback/sound/touch/sip_backspace.ogg +#load-sample recording-stop /usr/share/sounds/mm-camcorder/recording_stop_01.wav diff --git a/mmfw-sysconf-hawkp/usr/etc/gst-openmax.conf b/mmfw-sysconf-hawkp/usr/etc/gst-openmax.conf new file mode 100644 index 0000000..77bccb8 --- /dev/null +++ b/mmfw-sysconf-hawkp/usr/etc/gst-openmax.conf @@ -0,0 +1,193 @@ +omx_videodec_0, + type=GstOmxVideoDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mfc0, + sink="video/mpeg, mpegversion=(int)[1,2], systemstream=false, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName};\ + video/x-h264, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName};\ + video/x-h265, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], colordepth=(int)[0,8], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName};\ + video/x-h263, variant=(string)itu, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName};\ + video/x-wmv, wmvversion=(int)3, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName};\ + video/x-vp8, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName};\ + video/x-pn-realvideo, rmversion=(int)[3,4], format=(fourcc){RV30,RV40}, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName};\ + video/x-avs, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName};", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,1920], height=(int)[1,1088], framerate=(fraction)[0,max];", + rank=260; + +omx_videodec_1, + type=GstOmxVideoDec1, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mfc1, + sink="video/mpeg, mpegversion=(int)[1,2], systemstream=false, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName};\ + video/x-h264, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName};\ + video/x-h265, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], colordepth=(int)[0,8], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName};\ + video/x-h263, variant=(string)itu, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName};\ + video/x-wmv, wmvversion=(int)3, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName};\ + video/x-vp8, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName};\ + video/x-pn-realvideo, rmversion=(int)[3,4], format=(fourcc){RV30,RV40}, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName};\ + video/x-avs, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName};", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,1920], height=(int)[1,1088], framerate=(fraction)[0,max];", + rank=259; + +omx_videodec_2, + type=GstOmxVideoDec2, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mfc2, + sink="video/x-h264, width=(int)[0,640], height=(int)[0,480], maxwidth=(int)[0,640], maxheight=(int)[0,480], framerate=(fraction)[0,max], 3Dformat=(string){NONE};", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,640], height=(int)[1,480], framerate=(fraction)[0,max];", + rank=258; + +omx_videodec_3, + type=GstOmxVideoDec3, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mfc3, + sink="video/x-h264, width=(int)[0,640], height=(int)[0,480], maxwidth=(int)[0,640], maxheight=(int)[0,480], framerate=(fraction)[0,max], 3Dformat=(string){NONE};", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,640], height=(int)[1,480], framerate=(fraction)[0,max];", + rank=257; + +omx_videodec_4, + type=GstOmxVideoDec4, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mfc4, + sink="video/x-h264, width=(int)[0,640], height=(int)[0,480], maxwidth=(int)[0,640], maxheight=(int)[0,480], framerate=(fraction)[0,max], 3Dformat=(string){NONE};", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,640], height=(int)[1,480], framerate=(fraction)[0,max];", + rank=256; + +omx_mpeg4dec, + type=GstOmxMpeg4Dec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mfc0, + sink="video/x-msmpeg, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], format=(fourcc){DIV3}, 3Dformat=(string){SVAF, FileName}; + video/mpeg, mpegversion=(int)4, systemstream=false, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName}; + video/x-divx, divxversion=(int)[4,5], width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName}; + video/x-xvid, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName}; + video/x-3ivx, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName};", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,1920], height=(int)[1,1088], framerate=(fraction)[0,max];", + rank=260; + +omx_h264dec, + type=GstOmxH264Dec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mfc0, + sink="video/x-h264, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName};", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,1920], height=(int)[1,1088], framerate=(fraction)[0,max];", + rank=260; + +omx_uhd_videodec, + type=GstOmxUhdVideoDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.uddec, + sink="video/x-h264, width=(int)[0,4096], height=(int)[0,2160], maxwidth=(int)[0,4096], maxheight=(int)[0,2160], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName};\ + video/x-vp9, width=(int)[0,4096], height=(int)[0,2160], maxwidth=(int)[0,4096], maxheight=(int)[0,2160], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName};\ + video/x-avs+, width=(int)[0,4096], height=(int)[0,2160], maxwidth=(int)[0,4096], maxheight=(int)[0,2160], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName};", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,4096], height=(int)[1,2160], framerate=(fraction)[0,max];", + rank=258; + +omx_uhd_h265dec, + type=GstOmxH265Dec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.hevcuhd, + sink="video/x-h265, width=(int)[0,4096], height=(int)[0,2160], maxwidth=(int)[0,4096], maxheight=(int)[0,2160], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName};", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,4096], height=(int)[1,2160], framerate=(fraction)[0,max];", + rank=258; + +omx_mjpegdec, + type=GstOmxMjpegDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mjpeg, + sink="video/x-jpeg, width=(int)[0,1920], height=(int)[0,1088], framerate=(fraction)[0,max];", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,1920], height=(int)[1,1088], framerate=(fraction)[0,max];", + rank=260; + +omx_uhd_mjpegdec, + type=GstOmxUhdMjpegDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mjpeguhd, + sink="video/x-jpeg, width=(int)[0,4096], height=(int)[0,2160], maxwidth=(int)[0,4096], maxheight=(int)[0,2160], framerate=(fraction)[0,max];", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,4096], height=(int)[1,2160], framerate=(fraction)[0,max];", + rank=258; + +omx_mp3dec, + type=GstOmxMp3Dec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/mpeg, mpegversion=(int)1, layer=(int)[1,3], parsed=true", + src="audio/x-raw-int", + rank=257; + +omx_aacdec, + type=GstOmxAacDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-aac;audio/mpeg, mpegversion=(int){2,4}, framed=true", + src="audio/x-raw-int, hassubdata=true", + rank=257; + +omx_ac3dec, + type=GstOmxAc3Dec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-ac3, framed=true;audio/x-eac3, framed=true;audio/ac3, framed=true", + src="audio/x-raw-int, hassubdata=true", + rank=257; + +omx_adpcmdec, + type=GstOmxAdpcmDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-adpcm", + src="audio/x-raw-int", + rank=257; + +omx_wmadec, + type=GstOmxWmaDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-wma", + src="audio/x-raw-int", + rank=257; + +omx_dtsdec, + type=GstOmxDtsDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-dts, framed=true", + src="audio/x-raw-int, hassubdata=true", + rank=257; + +omx_vorbisdec, + type=GstOmxVorbisDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-vorbis", + src="audio/x-raw-int", + rank=257; + +omx_radec, + type=GstOmxRaDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-pn-realaudio", + src="audio/x-raw-int", + rank=257; + +omx_g711dec, + type=GstOmxG711Dec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-alaw; audio/x-mulaw", + src="audio/x-raw-int", + rank=257; + +omx_mpeg4dec_1, + type=GstOmxMpeg4Dec1, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mfc1, + sink="video/x-msmpeg, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], format=(fourcc){DIV3}, 3Dformat=(string){SVAF, FileName}; + video/mpeg, mpegversion=(int)4, systemstream=false, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName}; + video/x-divx, divxversion=(int)[4,5], width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName}; + video/x-xvid, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName}; + video/x-3ivx, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName};", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,1920], height=(int)[1,1088], framerate=(fraction)[0,max];", + rank=259; + + diff --git a/mmfw-sysconf-hawkp/usr/etc/gst-tz-openmax.conf b/mmfw-sysconf-hawkp/usr/etc/gst-tz-openmax.conf new file mode 100644 index 0000000..6fbc0ce --- /dev/null +++ b/mmfw-sysconf-hawkp/usr/etc/gst-tz-openmax.conf @@ -0,0 +1,161 @@ +omx_tz_videodec_0, + type=GstOmxTZVideoDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mfc0, + sink="video/mpeg_tz, mpegversion=(int)[1,2], systemstream=false, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName}, secure=(boolean)true;\ + video/x-h264_tz, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName}, secure=(boolean)true;\ + video/x-h265_tz, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], colordepth=(int)[0,8], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName}, secure=(boolean)true;\ + video/x-h263_tz, variant=(string)itu, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName}, secure=(boolean)true;\ + video/x-wmv_tz, wmvversion=(int)3, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName}, secure=(boolean)true;\ + video/x-vp8_tz, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName}, secure=(boolean)true;\ + video/x-pn-realvideo_tz, rmversion=(int)[3,4], format=(fourcc){RV30,RV40}, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName}, secure=(boolean)true;\ + video/x-avs_tz, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_base, SVAF_2ES_Left, FileName}, secure=(boolean)true;", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,1920], height=(int)[1,1088], framerate=(fraction)[0,max];", + rank=260; + +omx_tz_videodec_1, + type=GstOmxTZVideoDec1, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mfc1, + sink="video/mpeg_tz, mpegversion=(int)[1,2], systemstream=false, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName}, secure=(boolean)true;\ + video/x-h264_tz, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName}, secure=(boolean)true;\ + video/x-h265_tz, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], colordepth=(int)[0,8], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName}, secure=(boolean)true;\ + video/x-h263_tz, variant=(string)itu, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName}, secure=(boolean)true;\ + video/x-wmv_tz, wmvversion=(int)3, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName}, secure=(boolean)true;\ + video/x-vp8_tz, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName}, secure=(boolean)true;\ + video/x-pn-realvideo_tz, rmversion=(int)[3,4], format=(fourcc){RV30,RV40}, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName}, secure=(boolean)true;\ + video/x-avs_tz, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName}, secure=(boolean)true;", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,1920], height=(int)[1,1088], framerate=(fraction)[0,max];", + rank=259; + +omx_tz_mpeg4dec, + type=GstOmxTZMpeg4Dec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mfc0, + sink="video/x-msmpeg_tz, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], format=(fourcc){DIV3}, 3Dformat=(string){SVAF, FileName}, secure=(boolean)true; + video/mpeg_tz, mpegversion=(int)4, systemstream=false, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName}, secure=(boolean)true; + video/x-divx_tz, divxversion=(int)[4,5], width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName}, secure=(boolean)true; + video/x-xvid_tz, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName}, secure=(boolean)true; + video/x-3ivx_tz, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName}, secure=(boolean)true;", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,1920], height=(int)[1,1088], framerate=(fraction)[0,max];", + rank=260; + +omx_tz_h264dec, + type=GstOmxTZH264Dec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mfc0, + sink="video/x-h264_tz, width=(int)[0,1920], height=(int)[0,1088], maxwidth=(int)[0,1920], maxheight=(int)[0,1088], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName}, secure=(boolean)true;", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,1920], height=(int)[1,1088], framerate=(fraction)[0,max];", + rank=260; + +omx_tz_uhd_videodec, + type=GstOmxTZUhdVideoDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.uddec, + sink="video/x-h264_tz, width=(int)[0,4096], height=(int)[0,2160], maxwidth=(int)[0,4096], maxheight=(int)[0,2160], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName}, secure=(boolean)true;\ + video/x-vp9_tz, width=(int)[0,4096], height=(int)[0,2160], maxwidth=(int)[0,4096], maxheight=(int)[0,2160], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName}, secure=(boolean)true;\ + video/x-avs+_tz, width=(int)[0,4096], height=(int)[0,2160], maxwidth=(int)[0,4096], maxheight=(int)[0,2160], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, MVC_dependent, SVAF_2ES_Right, FileName}, secure=(boolean)true;", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,4096], height=(int)[1,2160], framerate=(fraction)[0,max];", + rank=258; + +omx_tz_uhd_h265dec, + type=GstOmxTZH265Dec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.hevcuhd, + sink="video/x-h265_tz, width=(int)[0,4096], height=(int)[0,2160], maxwidth=(int)[0,4096], maxheight=(int)[0,2160], framerate=(fraction)[0,max], 3Dformat=(string){SVAF, FileName};", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,4096], height=(int)[1,2160], framerate=(fraction)[0,max];", + rank=258; + +omx_tz_mjpegdec, + type=GstOmxTZMjpegDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mjpeg, + sink="video/x-jpeg_tz, width=(int)[0,1920], height=(int)[0,1088], framerate=(fraction)[0,max], secure=(boolean)true;", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,1920], height=(int)[1,1088], framerate=(fraction)[0,max];", + rank=260; + +omx_tz_uhd_mjpegdec, + type=GstOmxTZUhdMjpegDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.video_decoder.mjpeguhd, + sink="video/x-jpeg_tz, width=(int)[0,4096], height=(int)[0,2160], maxwidth=(int)[0,4096], maxheight=(int)[0,2160], framerate=(fraction)[0,max], secure=(boolean)true;", + src="video/x-raw-yuv, format=(fourcc){I420}, width=(int)[1,4096], height=(int)[1,2160], framerate=(fraction)[0,max];", + rank=258; + +omx_tz_mp3dec, + type=GstOmxTZMp3Dec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/mpeg_tz, mpegversion=(int)1, layer=(int)[1,3], parsed=true, secure=(boolean)true", + src="audio/x-raw-int", + rank=257; + +omx_tz_aacdec, + type=GstOmxTZAacDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-aac_tz, secure=(boolean)true;audio/mpeg_tz, mpegversion=(int){2,4}, framed=true, secure=(boolean)true", + src="audio/x-raw-int, hassubdata=true", + rank=257; +omx_tz_ac3dec, + type=GstOmxTZAc3Dec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-ac3_tz, framed=true,secure=(boolean)true;audio/x-eac3_tz, framed=true,secure=(boolean)true;audio/ac3_tz, framed=true,secure=(boolean)true", + src="audio/x-raw-int, hassubdata=true", + rank=257; +omx_tz_adpcmdec, + type=GstOmxTZAdpcmDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-adpcm_tz, secure=(boolean)true", + src="audio/x-raw-int", + rank=257; + +omx_tz_lpcmdec, + type=GstOmxTZLpcmDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-raw-int_tz, secure=(boolean)true", + src="audio/x-raw-int", + rank=257; + +omx_tz_wmadec, + type=GstOmxTZWmaDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-wma_tz, secure=(boolean)true", + src="audio/x-raw-int", + rank=257; + +omx_tz_dtsdec, + type=GstOmxTZDtsDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-dts_tz, framed=true, secure=(boolean)true", + src="audio/x-raw-int, hassubdata=true", + rank=257; + +omx_tz_vorbisdec, + type=GstOmxTZVorbisDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-vorbis_tz, secure=(boolean)true", + src="audio/x-raw-int", + rank=257; + +omx_tz_radec, + type=GstOmxTZRaDec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-pn-realaudio_tz, secure=(boolean)true", + src="audio/x-raw-int", + rank=257; + +omx_tz_g711dec, + type=GstOmxTZG711Dec, + library-name=libSDP_OMX_Core.so.0, + component-name=OMX.SDP.AUDANY.Decoder, + sink="audio/x-alaw_tz, secure=(boolean)true; audio/x-mulaw_tz, secure=(boolean)true", + src="audio/x-raw-int", + rank=257; diff --git a/mmfw-sysconf-hawkp/usr/etc/gstreamer-registry-copy.sh b/mmfw-sysconf-hawkp/usr/etc/gstreamer-registry-copy.sh new file mode 100755 index 0000000..9028d94 --- /dev/null +++ b/mmfw-sysconf-hawkp/usr/etc/gstreamer-registry-copy.sh @@ -0,0 +1,27 @@ +#!/bin/sh +export GST_REGISTRY=/home/app/.gstreamer-0.10/registry.bin + +file_orig="/usr/share/.gstreamer-0.10/registry.bin" +file_new="/home/app/.gstreamer-0.10/registry.bin" +file_time="/home/app/.gstreamer-0.10/.registry-birthtime" + +if [ -f "$file_new" ] +then + if [ "$(<$file_time)" != "$(stat -c %y $file_orig)" ] + then + cp $file_orig $file_new + chsmack -a "system::homedir" $file_new + echo $(stat -c %y $file_orig) > $file_time + chown app:app /home/app/.gstreamer-0.10 -R + fi +else + if [ ! -d "/home/app/.gstreamer-0.10" ] + then + mkdir /home/app/.gstreamer-0.10 + chsmack -a "system::homedir" /home/app/.gstreamer-0.10/ + fi + cp $file_orig $file_new + chsmack -a "system::homedir" $file_new + echo $(stat -c %y $file_orig) > $file_time + chown app:app /home/app/.gstreamer-0.10 -R +fi diff --git a/mmfw-sysconf-hawkp/usr/etc/gstreamer-registry.sh b/mmfw-sysconf-hawkp/usr/etc/gstreamer-registry.sh new file mode 100755 index 0000000..5ab7045 --- /dev/null +++ b/mmfw-sysconf-hawkp/usr/etc/gstreamer-registry.sh @@ -0,0 +1,13 @@ +# Make GStreamer registry + +export GST_REGISTRY=/usr/share/.gstreamer-0.10/registry.bin + +/usr/bin/gst-inspect-0.10 + +chmod 666 /usr/share/.gstreamer-0.10/registry.bin + +chown app:app /usr/share/.gstreamer-0.10 -R + +chsmack -a "_" /usr/share/.gstreamer-0.10/registry.bin + +chsmack -a "system::homedir" /usr/share/.gstreamer-0.10/ diff --git a/mmfw-sysconf-hawkp/usr/etc/mmfw_audio_volume.ini b/mmfw-sysconf-hawkp/usr/etc/mmfw_audio_volume.ini new file mode 100644 index 0000000..c9e8c2d --- /dev/null +++ b/mmfw-sysconf-hawkp/usr/etc/mmfw_audio_volume.ini @@ -0,0 +1,10 @@ +[volumes] +system = 0.00000, 0.03981, 0.05012, 0.06310, 0.07943, 0.10000, 0.12589, 0.15849, 0.19953, 0.25119, 0.31623, 0.39811, 0.50119, 0.63096, 0.79433, 1.00000 +notification = 0.00000, 0.03981, 0.05012, 0.06310, 0.07943, 0.10000, 0.12589, 0.15849, 0.19953, 0.25119, 0.31623, 0.39811, 0.50119, 0.63096, 0.79433, 1.00000 +alarm = 0.00000, 0.00891, 0.01413, 0.02239, 0.03162, 0.03981, 0.05012, 0.06310, 0.08913, 0.12589, 0.17783, 0.25119, 0.35481, 0.50119, 0.70795, 1.00000 +ringtone = 0.00000, 0.00891, 0.01413, 0.02239, 0.03162, 0.03981, 0.05012, 0.06310, 0.08913, 0.12589, 0.17783, 0.25119, 0.35481, 0.50119, 0.70795, 1.00000 +media = 0.00000, 0.00891, 0.01413, 0.02239, 0.03162, 0.03981, 0.05012, 0.06310, 0.08913, 0.12589, 0.17783, 0.25119, 0.35481, 0.50119, 0.70795, 1.00000 +call = 0.08913, 0.12589, 0.17783, 0.25119, 0.35481, 0.50119, 0.70795, 1.00000 +voip = 0.08913, 0.12589, 0.17783, 0.25119, 0.35481, 0.50119, 0.70795, 1.00000 +voice = 0.00000, 0.00891, 0.01413, 0.02239, 0.03162, 0.03981, 0.05012, 0.06310, 0.08913, 0.12589, 0.17783, 0.25119, 0.35481, 0.50119, 0.70795, 1.00000 +gain = 0.10000, 0.90000, 0.69104, 1.00000, 1.00000, 1.00000, 1.00000, 0.79370, 0.96549 diff --git a/mmfw-sysconf-msm8x26/usr/etc/mmfw_avsystem.ini b/mmfw-sysconf-hawkp/usr/etc/mmfw_avsystem.ini index 0742c30..0742c30 100644 --- a/mmfw-sysconf-msm8x26/usr/etc/mmfw_avsystem.ini +++ b/mmfw-sysconf-hawkp/usr/etc/mmfw_avsystem.ini diff --git a/mmfw-sysconf-hawkp/usr/etc/mmfw_camcorder.ini b/mmfw-sysconf-hawkp/usr/etc/mmfw_camcorder.ini new file mode 100644 index 0000000..18a0238 --- /dev/null +++ b/mmfw-sysconf-hawkp/usr/etc/mmfw_camcorder.ini @@ -0,0 +1,107 @@ +; < Camera/Camcorder Configure Main INI file > +; +; - Header List - +; 1. General +; 2. VideoInput +; 3. AudioInput +; 4. VideoOutput +; 5. Capture +; 6. Record +; 7. VideoEncoder +; 8. AudioEncoder +; 9. ImageEncoder +; 10. Mux +; +; - Note - +; If you want to add a new header, +; add a new enum value to "enum ConfigureCategoryMain" +; and new default table for it in mm_camcorder_configure.c/.h +; + +[General] +SyncStateChange = 1 +;GSTInitOption = --gst-enable-tiny-registry --gst-disable-segtrap || NOT-USE-DEFAULT_VALUE +;GSTInitOption = --gst-debug=3,avsysvideosrc:4 || NOT-USE-DEFAULT_VALUE +ModelName = HawkP +;DisabledAttributes = camera-optical-zoom camera-af-touch-x camera-af-touch-y camera-exposure-value camera-f-number camera-shutter-speed camera-hold-af-after-capturing filter-flip filter-hue display-src-x display-src-y display-src-width display-src-height tag-image-description strobe-control strobe-capabilities strobe-mode detect-mode detect-number detect-focus-select detect-select-number detect-status || NO_DEFAULT_VALUE + +[VideoInput] +UseConfCtrl = 1 +ConfCtrlFile0 = mmfw_camcorder_dev_video_pri.ini +ConfCtrlFile1 = mmfw_camcorder_dev_video_sec.ini +VideosrcElement = tvcamerasrc | 1,1 | do-timestamp,1 | device,/dev/video241 +UseVideoscale = 0 +VideoscaleElement = videoscale | 3,0 | width,320 | height,240 | method,1 +UseZeroCopyFormat = 0 +DeviceCount = 1 +SupportMediaPacketPreviewCb = 0 + +[AudioInput] +AudioDevice = 0 || 0 +AudiosrcElement = pulsesrc | 2,0 | do-timestamp,1 | blocksize,640 + +[VideoOutput] +; DisplayDevice +;;; 0: MAIN LCD, 1: SUB LCD, 2:TV OUT, 3: MAIN LCD and SUB LCD, 4: MAIN LCD and TV OUT +DisplayDevice = 0 || 0 +; DisplayMode +;;; 0: Default, 1: Pri Video ON and Sec Video Full-Screen, 2: Pri Video OFF and Sec Video Full-Screen +DisplayMode = 0 || 0 +; Videosink +;;; 0: X surface, 1: Evas surface, 2: GL surface, 3: NULL surface +Videosink = 0,1,3 || 0 +;VideosinkElementX = xvimagesink | 7,0 | draw-borders,0 | force-aspect-ratio,1 | enable-last-sample,0 | qos,0 | sync,0 | show-preroll-frame,0 | handle-expose,0 +VideosinkElementX = fakesink | 3,0 | qos,0 | sync,0 | enable-last-sample,0 +VideosinkElementEvas = evaspixmapsink | 4,0 | enable-last-sample,0 | qos,0 | sync,0 | show-preroll-frame,0 +VideosinkElementNull = fakesink | 3,0 | qos,0 | sync,0 | enable-last-sample,0 +UseVideoscale = 0 +VideoscaleElement = videoscale | 1,0 | method,1 + +[VideoEncoder] +H263 = avenc_h263p | 1,0 | compliance, -2 +MPEG4 = avenc_mpeg4 | 1,0 | compliance, -2 + +[AudioEncoder] +AMR = amrnbenc | 0,0 +AAC = avenc_aac | 1,0 | compliance, -2 +WAVE = wavenc | 0,0 +VORBIS = vorbisenc | 0,0 + +[ImageEncoder] +JPEG = jpegenc | 0,0 +PNG = pngenc | 0,0 + +[Capture] +UseEncodebin = 0 +UseCaptureMode = 0 +VideoscaleElement = videoscale | 1,0 | method,1 +PlayCaptureSound = 0 + +[Record] +UseAudioEncoderQueue = 1 +UseVideoEncoderQueue = 0 +VideoProfile = 0 +VideoAutoAudioConvert = 1 +VideoAutoAudioResample = 0 +VideoAutoColorSpace = 0 +AudioProfile = 1 +AudioAutoAudioConvert = 1 +AudioAutoAudioResample = 0 +AudioAutoColorSpace = 0 +ImageProfile = 2 +ImageAutoAudioConvert = 0 +ImageAutoAudioResample = 0 +ImageAutoColorSpace = 0 +RecordsinkElement = filesink | 1,0 | async,0 +UseNoiseSuppressor = 0 +DropVideoFrame = 0 +PassFirstVideoFrame = 0 + +[Mux] +3GP = avmux_3gp | 0,0 +AMR = avmux_amr | 0,0 +MP4 = avmux_mp4 | 0,0 +OGG = oggmux | 0,0 +WAV = wavenc | 0,0 +AAC = avmux_adts | 0,0 + diff --git a/mmfw-sysconf-hawkp/usr/etc/mmfw_camcorder_dev_video_pri.ini b/mmfw-sysconf-hawkp/usr/etc/mmfw_camcorder_dev_video_pri.ini new file mode 100644 index 0000000..196692c --- /dev/null +++ b/mmfw-sysconf-hawkp/usr/etc/mmfw_camcorder_dev_video_pri.ini @@ -0,0 +1,190 @@ +; < Camera/Camcorder Configure Control INI file > +; +; - Header List - +; 1. Camera +; 2. Strobe +; 3. Effect +; 4. Photograph +; 5. Capture +; 6. Detect +; +; - Note - +; If you want to add a new header, +; add a new enum value to "enum ConfigureCategoryControl" +; and new default table for it in mm_camcorder_configure.c/.h +; + +[Camera] +; Input index - real setting value +;;; 0:PRIMARY_CAMERA, 1:SECONDARY_CAMERA +; Input index - MSL value(convert array index) +;;; -1:NONE, 0:CAMERA0, 1:CAMERA1 +InputIndex = 0,-255 || 0 +DeviceName = virtual driver +PreviewResolution = 176,144 | 320,240 | 352,288 | 640,480 || 640,480 +CaptureResolution = 176,144 | 320,240 | 352,288 | 640,480 || 640,480 +VideoResolution = 176,144 | 320,240 | 352,288 | 640,480 || 640,480 +FPS0 = 30 || 30 +FPS1 = 30 || 30 +FPS2 = 30 || 30 +FPS3 = 30 || 30 +; PictureForamt - MSL value +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY, 15:ENCODED_H264 +PictureFormat = 15 || 15 +Overlay = 0,1 || 1 +; Recommend display rotation +;;; 0:NONE, 1:90, 2:180, 3:270 +RecommendDisplayRotation = 0 +; Recommend preview format for capture +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY, 15:ENCODED_H264 +RecommendPreviewFormatCapture = 15 +; Recommend preview format for record +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY, 15:ENCODED_H264 +RecommendPreviewFormatRecord = 15 +; Recommend preview resolution +;;; 0: NORMAL ratio(4:3), 1: WIDE ratio(16:9) +RecommendPreviewResolution = 640,480 | 352,288 || 640,480 +; Camera facing direction +;;; 0:REAR, 1:FRONT +FacingDirection = 0 + + +[Strobe] +;StrobeControl - Not support +;StrobeCapabilities - Not support +; Strobe mode - real setting value +;;; N/A +; Strobe mode - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:REDEYE_REDUCTION, 4:SLOW_SYNC, 5:FRONT_CURTAIN, 6:REAR_CURTAIN, 7:PERMANENT +StrobeMode = 0,-255,-255,-255,-255,-255,-255,-255 || 0 +;StrobeStatus - Not support +;StrobeEV - Not support + + +[Effect] +Brightness = 1,20 || 10 +Contrast = 1,20 || 10 +Saturation = 1,20 || 10 +Sharpness = 1,20 || 10 + +; White balance - real setting value +;;; N/A +; White balance - MSL value(convert array index) +;;; 0:NONE, 1:AUTO, 2:DAYLIGHT, 3:CLOUDY, 4:FLUOROSCENT, 5:INCANDESCENT, 6:SHADE, 7:HORIZON, 8:FLASH, 9:CUSTOM +WhiteBalance = 0,-255,-255,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Color tone - real setting value +;;; N/A +; Color tone - MSL value(convert array index) +;;; 0:NONE, 1:MONO, 2:SEPIA, 3:NEGATIVE, 4:BLUE, 5:GREEN, 6:AQUA, 7:VIOLET, 8:ORANGE, 9:GRAY, 10:REC, +;;; 11:ANTIQUE, 12:WARM, 13:PINK, 14:YELLOW, 15:PURPLE, 16:EMBOSS, 17:OUTLINE, 18:SOLARIZATION_1, 19:SOLARIZATION_2, 20:SOLARIZATION_3, +;;; 21:SOLARIZATION_4, 22:SKETCH_1, 23:SKETCH_2, 24:SKETCH_3, 25:SKETCH_4 +ColorTone = 0,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Flip - MSL value(convert array index) +;;; 0:NONE, 1:HORIZONTAL, 2:VERTICAL, 3:BOTH +Flip = 0,-255,-255,-255 || 0 + +; Wide Dynamic Range - real setting value +;;; N/A +; Wide Dynamic Range - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO +WDR = 0,-255,-255 || 0 + +; Part color mode - real setting value +;;; 0:OFF, 1:SWAP, 2:ACCENT +; Part color mode - MSL value(convert array index) +;;; 0:OFF, 1:SWAP, 2:ACCENT +;PartColorMode = 0,1,2 || 0 + +; Part color - real setting value +;;; 0:VIOLET, 1:PURPLE, 2:MAGENTA_1, 3:MAGENTA_2, 4:RED_1, 5:RED_2, 6:BROWN, 7:YELLOW, 8:GREEN_1, 9:GREEN_2, 10:GREEN_3, +;;; 11:GREEN_4, 12:COBALT, 13:CYAN, 14:BLUE_1, 15:BLUE_2, 16:GRAY +; Part color - MSL value(convert array index) +;;; 0:VIOLET, 1:PURPLE, 2:MAGENTA_1, 3:MAGENTA_2, 4:RED_1, 5:RED_2, 6:BROWN, 7:YELLOW, 8:GREEN_1, 9:GREEN_2, 10:GREEN_3, +;;; 11:GREEN_4, 12:COBALT_BLUE, 13:CYAN, 14:BLUE_1, 15:BLUE_2, 16:GRAY +;PartColor = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 || 0 + + +[Photograph] +;LensInit = 0,1 || 0 +;DigitalZoom = 10,30 || 10 +;OpticalZoom - Not support + +; Focus mode - real setting value +;;; N/A +; Focus mode - MSL value(convert array index) +;;; 0:NONE, 1:PAN, 2:AUTO, 3:MANUAL, 4:TOUCH_AUTO, 5:CONTINUOUS +FocusMode = 0,-255,-255,-255,-255,-255 || 0 + +; Auto focus type - real setting value +;;; N/A +; Auto focus - MSL value(convert array index) +;;; 0:NONE, 1:NORMAL, 2:MACRO, 3:FULL +AFType = 0,-255,-255,-255 || 0 + +; Auto exposure type - real setting value +;;; N/A +; Auto exposure mode - MSL value(convert array index) +;;; 0,OFF 1,ALL 2,CENTER1 3,CENTER2 4,CENTER3 5,SPOT1 6,SPOT2 7,CUSTOM1 8,CUSTOM2 +AEType = -255,0,-255,-255,-255,-255,-255,-255,-255 || 0 + +;ExposureValue - Not support +;FNumber - Not support +;ShutterSpeed - Not support + +; ISO - real setting value +;;; N/A +; ISO - MSL value(convert array index) +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600, 7:3200 +ISO = 0,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Program mode - real setting value +;;; N/A +; Program mode - MSL value(convert array index) +;;; 0:NORMAL, 1:PORTRAIT, 2:LANDSCAPE, 3:SPORTS, 4:PARTY_N_INDOOR, 5:BEACH_N_INDOOR, 6:SUNSET, 7:DUSK_N_DAWN, 8:FALL_COLOR, 9:NIGHT_SCENE, +;;; 10:FIREWORK, 11:TEXT, 12:SHOW_WINDOW, 13:CANDLE_LIGHT, 14:BACKLIGHT +ProgramMode = 0,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Anti-handshake - real setting value +;;; N/A +; Anti-handshake - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:MOVIE_ON +AntiHandshake = 0,-255,-255,-255 || 0 + +; Video-stabilization - real setting value +;;; 0:OFF, 1:ON +; Video-stabilization - MSL value(convert array index) +;;; 0:OFF, 1:ON +VideoStabilization = 0 || 0 + +; Face zoom mode +;;; 0:OFF, 1:ON +FaceZoomMode = 0 || 0 +; Face zoom level +FaceZoomLevel = 0,0 || 0 + + +[Capture] +; Output mode +;;; No need to convert +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED +OutputMode = 4,7,8,13 || 13 +JpegQuality = 0,100 || 50 +MultishotNumber = 1,1 || 1 +SensorEncodedCapture = 0 +; Support HDR +;;; 0: OFF, 1: ON, 2: ON and Original +SupportHDR = 0,-255,-255 || 0 + + +[Detect] +; Detect mode +;;; No need to convert +;;; 0:OFF, 1:ON +DetectMode = 0,-255 || 0 +;DetectNumber - Not support +;DetectFocusSelect - Not support +;DetectSelectNumber - Not support +;DetectStatus - Not support + diff --git a/mmfw-sysconf-hawkp/usr/etc/mmfw_media_codec.ini b/mmfw-sysconf-hawkp/usr/etc/mmfw_media_codec.ini new file mode 100644 index 0000000..873a128 --- /dev/null +++ b/mmfw-sysconf-hawkp/usr/etc/mmfw_media_codec.ini @@ -0,0 +1,89 @@ +[h261] +hw_decoder = , , +hw_encoder = , , +sw_decoder = , , +sw_encoder = , , + +[h263] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_h263, video/x-h263, I420 +sw_encoder = avenc_h263, video/x-raw, H263P + +[h264] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_h264, video/x-h264, I420 +sw_encoder = avenc_h264, video/x-raw, H264_SP + +[mpeg4] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_h264, video/x-h264, I420 +sw_encoder = avenc_h264, video/x-raw, MPEG4_SP + +[aac_lc] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_aac, audio/mpeg, PCM +sw_encoder = avenc_aac, audio/x-raw, AAC_LC + +[aac_he] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_aac, audio/mpeg, PCM +sw_encoder = , , + +[aac_he_ps] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_aac, audio/mpeg, PCM +sw_encoder = , , + +[mp3] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_mp3, audio/mpeg, PCM +sw_encoder = , , + +[amr_nb] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_amrnb, audio/AMR, PCM +sw_encoder = amrnbenc, audio/x-raw, AMR_NB + +[amr_wb] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_amrwb, audio/AMR-WB, PCM +sw_encoder = , , + +[vorbis] +hw_decoder = , , +hw_encoder = , , +sw_decoder = vorbisdec, audio/x-vorbis, PCM +sw_encoder = , , + +[flac] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_flac, audio/x-flac, PCM +sw_encoder = , , + +[wmav1] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_wmav1, audio/x-wma, PCM +sw_encoder = , , + +[wmav2] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_wmav2, audio/x-wma, PCM +sw_encoder = , , + +[wmapro] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_wmapro, audio/x-wma, PCM +sw_encoder = , , diff --git a/mmfw-sysconf-hawkp/usr/etc/mmfw_player.ini b/mmfw-sysconf-hawkp/usr/etc/mmfw_player.ini new file mode 100755 index 0000000..b445680 --- /dev/null +++ b/mmfw-sysconf-hawkp/usr/etc/mmfw_player.ini @@ -0,0 +1,60 @@ +[general] + +disable segtrap = yes ; same effect with --gst-disable-segtrap + +; set default videosink element according to video surface type +videosink element x = xvimagesink +videosink element evas = evaspixmapsink +videosink element fake = fakesink + +video converter element = videoconvert + +audiosink element = pulsesink + +; if yes. gstreamer will not update registry +skip rescan = yes + +delay before repeat = 350 ; msec + +; comma separated list of tocken which elemnts has it in it's name will not be used +element exclude keyword = + +; comma separated list of tocken +unsupported codec keyword = divx + +async start = yes + +; parameters for initializing gstreamer +gstparam1 = --gst-debug=2 +gstparam2 = +gstparam3 = +gstparam4 = +gstparam5 = + +; generating dot file representing pipeline state +; export GST_DEBUG_DUMP_DOT_DIR= +generate dot = no + +; parameter is for only video to be determined +; which clock will be used +; if yes, system clock will be used +; apart from this, audiosink is clock provider for audio +use system clock = yes + +; allowed timeout for changing pipeline state +live state change timeout = 30 ; sec +localplayback state change timeout = 10 ; sec + +; delay in msec for sending EOS +eos delay = 150 ; msec + +[http streaming] + +httpsrc element = souphttpsrc + +; if set, use file or not use memory for buffering +http file buffer path = /opt/usr/media +http buffering limit = 99.0 ; percent +http max size bytes = 1048576 ; bytes +http buffering time = 1.2 +http timeout = 20 ; sec diff --git a/mmfw-sysconf-hawkp/usr/etc/mmfw_player_audio_effect.ini b/mmfw-sysconf-hawkp/usr/etc/mmfw_player_audio_effect.ini new file mode 100644 index 0000000..1394608 --- /dev/null +++ b/mmfw-sysconf-hawkp/usr/etc/mmfw_player_audio_effect.ini @@ -0,0 +1,17 @@ +[audio effect] +; name of audio effect element +audio effect element = audioeq + +; preset audio effect setting +audio effect preset = no + +; custom audio effect setting (EQ/extension) +audio effect custom = yes +audio effect custom list = 0 + +audio effect custom eq band num = 7 ; number of EQ bands +audio effect custom eq band width = 33, 90, 242, 649, 1743, 4676, 12544 ; list of each EQ band width (Hz) +audio effect custom eq band freq = 36, 98, 265, 711, 1907, 5117, 13727 ; list of each EQ band central frequency (Hz) + +audio effect custom min list = -12 ; list of minimum level value (the first element is for EQ, others for extension effect) +audio effect custom max list = 12 ; list of maximum level value (the first element is for EQ, others for extension effect) diff --git a/mmfw-sysconf-hawkp/usr/etc/tv_headphone_unmute_model.ini b/mmfw-sysconf-hawkp/usr/etc/tv_headphone_unmute_model.ini new file mode 100644 index 0000000..613b223 --- /dev/null +++ b/mmfw-sysconf-hawkp/usr/etc/tv_headphone_unmute_model.ini @@ -0,0 +1,2 @@ +[headphone unmute model] +model name = UJS9900, UJS9800, UJS9500, UJS9100, UJS9000, UJS9CWAF diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-aux.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-aux.conf index db78eb4..db78eb4 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-aux.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-aux.conf diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-fm.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-fm.conf index baf674a..baf674a 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-fm.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-fm.conf diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-linein.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-linein.conf index 4be5722..4be5722 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-linein.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-linein.conf diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic-line.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic-line.conf index f7f3085..f7f3085 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic-line.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic-line.conf diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf index 2a36f2f..2a36f2f 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf.common b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf.common index b35e7af..b35e7af 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf.common +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf.common diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-tvtuner.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-tvtuner.conf index 8531ec7..8531ec7 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-tvtuner.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-tvtuner.conf diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-video.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-video.conf index 74c76f0..74c76f0 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input-video.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input-video.conf diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf index 5055f90..5055f90 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf.common b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf.common index 951e11f..951e11f 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf.common +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf.common diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones-2.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones-2.conf index f2fd31c..f2fd31c 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones-2.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones-2.conf diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf index 2131cfe..2131cfe 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-output-lfe-on-mono.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-output-lfe-on-mono.conf index 0a43e27..0a43e27 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-output-lfe-on-mono.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-output-lfe-on-mono.conf diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-output-mono.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-output-mono.conf index 542edc4..542edc4 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-output-mono.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-output-mono.conf diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf index aea7853..aea7853 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf index fc30800..fc30800 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf diff --git a/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common new file mode 100644 index 0000000..3204846 --- /dev/null +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common @@ -0,0 +1,128 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Common part of all paths + +; So here's generally how mixer paths are used by PA: PA goes through +; a mixer path file from top to bottom and checks if a mixer element +; described therein exists. If so it is added to the list of mixer +; elements PA will control, keeping the order it read them in. If a +; mixer element described here has set the required= or +; required-absent= directives a path might not be accepted as valid +; and is ignored in its entirety (see below). However usually if a +; element listed here is missing this one element is ignored but not +; the entire path. +; +; When a device shall be muted/unmuted *all* elements listed in a path +; file with "switch = mute" will be toggled. +; +; When a device shall change its volume, PA will got through the list +; of all elements with "volume = merge" and set the volume on the +; first element. If that element does not support dB volumes, this is +; where the story ends. If it does support dB volumes, PA divides the +; requested volume by the volume that was set on this element, and +; then go on to the next element with "volume = merge" and then set +; that there, and so on. That way the first volume element in the +; path will be the one that does the 'biggest' part of the overall +; volume adjustment, with the remaining elements usually being set to +; some value next to 0dB. This logic makes sure we get the full range +; over all volume sliders and a very high granularity of volumes +; already in hardware. +; +; All switches and enumerations set to "select" are exposed via the +; "port" functionality of sinks/sources. Basically every possible +; switch setting and every possible enumeration setting will be +; combined and made into a "port". So make sure you don't list too +; many switches/enums for exposing, because the number of ports might +; rise exponentially. +; +; Only one path can be selected at a time. All paths that are valid +; for an audio device will be exposed as "port" for the sink/source. + + +; [General] +; priority = ... # Priority for this path +; description = ... +; +; [Option ...:...] # For each option of an enumeration or switch element +; # that shall be exposed as a sink/source port. Needs to +; # be named after the Element, followed by a colon, followed +; # by the option name, resp. on/off if the element is a switch. +; name = ... # Logical name to use in the path identifier +; priority = ... # Priority if this is made into a device port +; +; [Element ...] # For each element that we shall control +; required = ignore | switch | volume | enumeration | any # If set, require this element to be of this kind and available, +; # otherwise don't consider this path valid for the card +; required-absent = ignore | switch | volume # If set, require this element to not be of this kind and not +; # available, otherwise don't consider this path valid for the card +; +; switch = ignore | mute | off | on | select # What to do with this switch: ignore it, make it follow mute status, +; # always set it to off, always to on, or make it selectable as port. +; # If set to 'select' you need to define an Option section for on +; # and off +; volume = ignore | merge | off | zero # What to do with this volume: ignore it, merge it into the device +; # volume slider, always set it to the lowest value possible, or always +; # set it to 0 dB (for whatever that means) +; enumeration = ignore | select # What to do with this enumeration, ignore it or make it selectable +; # via device ports. If set to 'select' you need to define an Option section +; # for each of the items you want to expose +; direction = playback | capture # Is this relevant only for playback or capture? If not set this will implicitly be +; # set the direction of the PCM device is opened as. Generally this doesn't need to be set +; # unless you have a broken driver that has playback controls marked for capture or vice +; # versa +; direction-try-other = no | yes # If the element does not supported what is requested, try the other direction, too? +; +; override-map.1 = ... # Override the channel mask of the mixer control if the control only exposes a single channel +; override-map.2 = ... # Override the channel masks of the mixer control if the control only exposes two channels +; # Override maps should list for each element channel which high-level channels it controls via a +; # channel mask. A channel mask may either be the name of a single channel, or the words "all-left", +; # "all-right", "all-center", "all-front", "all-rear", and "all" to encode a specific subset of +; # channels in a mask + +[Element PCM] +switch = ignore +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element External Amplifier] +switch = select + +[Option External Amplifier:on] +name = output-amplifier-on +priority = 10 + +[Option External Amplifier:off] +name = output-amplifier-off +priority = 0 + +;;; 'Analog Output' + +[Element Analog Output] +enumeration = select + +[Option Analog Output:Speakers] +name = output-speaker +priority = 10 + +[Option Analog Output:Headphones] +name = output-headphones +priority = 9 + +[Option Analog Output:FP Headphones] +name = output-headphones +priority = 8 diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf index 9838138..9838138 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio4dj.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio4dj.conf index 2b83530..2b83530 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio4dj.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio4dj.conf diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio8dj.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio8dj.conf index 3fe3cc5..3fe3cc5 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio8dj.conf +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio8dj.conf diff --git a/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/profile-sets/tizen_usb.conf b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/profile-sets/tizen_usb.conf new file mode 100644 index 0000000..b9781b4 --- /dev/null +++ b/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/profile-sets/tizen_usb.conf @@ -0,0 +1,127 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Default profile definitions for the ALSA backend of PulseAudio. This +; is used as fallback for all cards that have no special mapping +; assigned (and should be good enough for the vast majority of +; cards). If you want to assign a different profile set than this one +; to a device, either set the udev property PULSE_PROFILE_SET for the +; card, or use the "profile_set" module argument when loading +; module-alsa-card. +; +; So what is this about? Simply, what we do here is map ALSA devices +; to how they are exposed in PA. We say which ALSA device string to +; use to open a device, which channel mapping to use then, and which +; mixer path to use. This is encoded in a 'mapping'. Multiple of these +; mappings can be bound together in a 'profile' which is then directly +; exposed in the UI as a card profile. Each mapping assigned to a +; profile will result in one sink/source to be created if the profile +; is selected for the card. +; +; Additionally, the path set configuration files can describe the +; decibel values assigned to the steps of the volume elements. This +; can be used to work around situations when the alsa driver doesn't +; provide any decibel information, or when the information is +; incorrect. + + +; [General] +; auto-profiles = no | yes # Instead of defining all profiles manually, autogenerate +; # them by combining every input mapping with every output mapping. +; +; [Mapping id] +; device-strings = ... # ALSA device string. %f will be replaced by the card identifier. +; channel-map = ... # Channel mapping to use for this device +; description = ... +; paths-input = ... # A list of mixer paths to use. Every path in this list will be probed. +; # If multiple are found to be working they will be available as device ports +; paths-output = ... +; element-input = ... # Instead of configuring a full mixer path simply configure a single +; # mixer element for volume/mute handling +; element-output = ... +; priority = ... +; direction = any | input | output # Only useful for? +; +; [Profile id] +; input-mappings = ... # Lists mappings for sources on this profile, those mapping must be +; # defined in this file too +; output-mappings = ... # Lists mappings for sinks on this profile, those mappings must be +; # defined in this file too +; description = ... +; priority = ... # Numeric value to deduce priority for this profile +; skip-probe = no | yes # Skip probing for availability? If this is yes then this profile +; # will be assumed as working without probing. Makes initialization +; # a bit faster but only works if the card is really known well. +; +; [DecibelFix element] # Decibel fixes can be used to work around missing or incorrect dB +; # information from alsa. A decibel fix is a table that maps volume steps +; # to decibel values for one volume element. The "element" part in the +; # section title is the name of the volume element. +; # +; # NOTE: This feature is meant just as a help for figuring out the correct +; # decibel values. PulseAudio is not the correct place to maintain the +; # decibel mappings! +; # +; # If you need this feature, then you should make sure that when you have +; # the correct values figured out, the alsa driver developers get informed +; # too, so that they can fix the driver. +; +; db-values = ... # The option value consists of pairs of step numbers and decibel values. +; # The pairs are separated with whitespace, and steps are separated from +; # the corresponding decibel values with a colon. The values must be in an +; # increasing order. Here's an example of a valid string: +; # +; # "0:-40.50 1:-38.70 3:-33.00 11:0" +; # +; # The lowest step imposes a lower limit for hardware volume and the +; # highest step correspondingly imposes a higher limit. That means that +; # that the mixer will never be set outside those values - the rest of the +; # volume scale is done using software volume. +; # +; # As can be seen in the example, you don't need to specify a dB value for +; # each step. The dB values for skipped steps will be linearly interpolated +; # using the nearest steps that are given. + +[General] +auto-profiles = yes + +[Mapping analog-mono] +device-strings = hw:%f +channel-map = mono +paths-output = analog-output analog-output-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono analog-output-lfe-on-mono +paths-input = analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line +priority = 1 + +[Mapping usb-analog-stereo] +device-strings = hw:%f +channel-map = left,right +paths-output = analog-output analog-output-speaker analog-output-desktop-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono analog-output-lfe-on-mono +priority = 10 +;direction = output + +[Mapping usb-analog-surround-51] +device-strings = hw:%f +;channel-map = front-left,front-right,front-center,lfe,rear-left,rear-right +channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe +paths-output = analog-output analog-output-speaker analog-output-desktop-speaker analog-output-lfe-on-mono +priority = 180 +direction = output + +; An example for defining multiple-sink profiles +#[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo] +#description = Foobar +#output-mappings = analog-stereo iec958-stereo +#input-mappings = analog-stereo diff --git a/mmfw-sysconf-msm8x26/etc/asound.conf b/mmfw-sysconf-msm8x26/etc/asound.conf deleted file mode 100644 index d35fa9d..0000000 --- a/mmfw-sysconf-msm8x26/etc/asound.conf +++ /dev/null @@ -1,56 +0,0 @@ -# default sound configuration for msm8x30 - -pcm. !default { - type hw - card 0 -} - -ctl. !default { - type hw - card 0 -} - -ctl. msm8226-tapan-snd-card { - type hw - card 0 -} - -ctl. msm8226-tapan-snd-card-es705 { - type hw - card 0 -} - -pcm. AIF2{ - type hw - card 0 - device 2 - format S16_LE - channels 2 -} - -# To be REMOVED : AIF3 (BT) is not used for msm8x30 -pcm. AIF3{ - type hw - card 0 - device 2 - format S16_LE - channels 2 - rate 8000 -} - -pcm. cp { - type hw - card 0 - device 2 - format S16_LE - channels 2 -} - -pcm. bt { - type hw - card 0 - device 2 - format S16_LE - channels 2 - rate 8000 -} diff --git a/mmfw-sysconf-msm8x26/opt/system/mmfw_audio_pcm_dump.ini b/mmfw-sysconf-msm8x26/opt/system/mmfw_audio_pcm_dump.ini deleted file mode 100644 index dc069e2..0000000 --- a/mmfw-sysconf-msm8x26/opt/system/mmfw_audio_pcm_dump.ini +++ /dev/null @@ -1,25 +0,0 @@ - -[pcm_dump] - -# playback - -decoder_out = n -sa_sb_in = n -sa_sb_out = n -resampler_in = n -resampler_out = n -gst_audio_sink = n -pa_stream_write = n -pa_sink = n -pa_sink_input = n - -# capture - -pa_source = n -pa_stream_read = n -gst_audio_src = n -sec_record_in = n -sec_record_out = n -encoder_in = n -pa_source_output = n - diff --git a/mmfw-sysconf-msm8x26/usr/etc/gst-openmax.conf b/mmfw-sysconf-msm8x26/usr/etc/gst-openmax.conf deleted file mode 100644 index e96f5dc..0000000 --- a/mmfw-sysconf-msm8x26/usr/etc/gst-openmax.conf +++ /dev/null @@ -1,31 +0,0 @@ -omx_mpeg4dec, - type=GstOmxMpeg4Dec, - library-name=libOmxCore.so, - component-name=OMX.qcom.video.decoder.mpeg4, - sink="video/mpeg, mpegversion=(int)4, systemstream=false, width=(int)[16,1280], height=(int)[16,720], framerate=(fraction)[0,max] ,data_partitioned=false; video/x-xvid, width=(int)[16,1280], height=(int)[16,720], framerate=(fraction)[0,max]; video/x-3ivx, width=(int)[16,1280], height=(int)[16,720], framerate=(fraction)[0,max];", - src="video/x-raw-yuv, format=(fourcc){SN12}, width=(int)[16,4096], height=(int)[16,4096], framerate=(fraction)[0,max];", - rank=257; - -omx_h264dec, - type=GstOmxH264Dec, - library-name=libOmxCore.so, - component-name=OMX.qcom.video.decoder.avc, - sink="video/x-h264, width=(int)[16,1280], height=(int)[16,720], framerate=(fraction)[0,max], data_partitioned=false;", - src="video/x-raw-yuv, format=(fourcc){SN12}, width=(int)[16,4096], height=(int)[16,4096], framerate=(fraction)[0,max];", - rank=257; - -omx_h263dec, - type=GstOmxH263Dec, - library-name=libOmxCore.so, - component-name=OMX.qcom.video.decoder.h263, - sink="video/x-h263, variant=(string)itu, width=(int)[16,1280], height=(int)[16,720], framerate=(fraction)[0,max], data_partitioned=false;", - src="video/x-raw-yuv, format=(fourcc){SN12}, width=(int)[16,4096], height=(int)[16,4096], framerate=(fraction)[0,max];", - rank=257; - -omx_h264enc, - type=GstOmxH264Enc, - library-name=libOmxCore.so, - component-name=OMX.qcom.video.encoder.avc, - sink="video/x-raw-yuv, format=(fourcc){SN12}, width=(int)[16,1280], height=(int)[16,720], framerate=(fraction)[0,max];", - src="video/x-h264, width=(int)[16,4096], height=(int)[16,4096], framerate=(fraction)[0,max];", - rank=256; diff --git a/mmfw-sysconf-msm8x26/usr/etc/mmfw_audio_config.ini b/mmfw-sysconf-msm8x26/usr/etc/mmfw_audio_config.ini deleted file mode 100644 index 4eeeee3..0000000 --- a/mmfw-sysconf-msm8x26/usr/etc/mmfw_audio_config.ini +++ /dev/null @@ -1,26 +0,0 @@ -[sound_server] -playsound = n - -[pulsesink] -low_buffer_time = 150000 -low_latency_time = 0 - -mid_buffer_time = 400000 -mid_latency_time = 0 - -high_buffer_time = 600000 -high_latency_time = 0 - -vhigh_buffer_time = 20000000 -vhigh_latency_time = 0 - -[pulsesrc] -low_buffer_time = 500000 -low_latency_time = 100000 - -mid_buffer_time = 100000 -mid_latency_time = 200000 - -high_buffer_time = 200000 -high_latency_time = 400000 - diff --git a/mmfw-sysconf-msm8x26/usr/etc/mmfw_audio_sb_am.ini b/mmfw-sysconf-msm8x26/usr/etc/mmfw_audio_sb_am.ini deleted file mode 100644 index b841c01..0000000 --- a/mmfw-sysconf-msm8x26/usr/etc/mmfw_audio_sb_am.ini +++ /dev/null @@ -1,45 +0,0 @@ - -[sb_normal] -enable = n -high_pass_filter = 600 -gain_level = 6 -clarity_level = 0 - -[sb_voip] -enable = y -high_pass_filter = 400 -gain_level = 6 -clarity_level = 0 - -[am] -enable = n - -[am_band_01] -enable = n -48kHz = 1015837902,-1941525856,939239659,1941525856,-881335737,-8 -44_1kHz = 1011236745,-1923862964,928551858,1923862964,-866046778,-8 -32kHz = 990819624,-1842792942,881125936,1842792942,-798203736,-8 -24kHz = 968072972,-1746728208,828288858,1746728208,-722620006,-8 -22_05kHz = 960527765,-1713359943,810762469,1713359943,-697548410,-8 -16kHz = 928531445,-1562061593,736439797,1562061593,-591229418,-8 -8kHz = 846097506,-1057766953,544958064,1057766953,-317313746,-8 - -[am_band_02] -enable = n -48kHz = 1025871659,-1781912272,902856287,1781912272,-854986121,-5 -44_1kHz = 1022323698,-1740455413,890190878,1740455413,-838772752,-5 -32kHz = 1007302681,-1533123507,836569284,1533123507,-770130141,-5 -24kHz = 992320651,-1255402696,783086869,1255402696,-701665696,-5 -22_05kHz = 987863025,-1151879708,767174163,1151879708,-681295364,-5 -16kHz = 972725474,-645151472,713136568,645151472,-612120218,-5 -8kHz = 992320651,1255402697,783086869,-1255402697,-701665696,-5 - -[am_band_03] -enable = n -48kHz = 1005172476,-1289473686,894462573,1289473686,-825893224,-7 -44_1kHz = 1001277289,-1175624704,884278340,1175624704,-811813805,-7 -32kHz = 988343141,-602447771,850461126,602447771,-765062442,-7 -24kHz = 984341700,143136128,839999085,-143136128,-750598960,-7 -22_05kHz = 986022487,407305901,844393618,-407305901,-756674281,-7 -16kHz = 1014865984,1519331383,919806914,-1519331383,-860931074,-7 -8kHz = 1197823193,-606020485,1398161049,606020485,-1522242418,-7 diff --git a/mmfw-sysconf-msm8x26/usr/etc/mmfw_audio_volume.ini b/mmfw-sysconf-msm8x26/usr/etc/mmfw_audio_volume.ini deleted file mode 100644 index 9360060..0000000 --- a/mmfw-sysconf-msm8x26/usr/etc/mmfw_audio_volume.ini +++ /dev/null @@ -1,21 +0,0 @@ - -[volumes] -system = 0, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100 -notification = 0, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100 -alarm = 0, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100 -ringtone = 0, 64, 68, 70, 73, 76, 78, 80, 82, 84, 86, 88, 91, 94, 97, 100 -media = 0, 61, 65, 68, 71, 74, 77, 80, 82, 84, 86, 88, 91, 94, 97, 100 -call = 82, 70, 77, 84, 90, 97, 100 -voip = 100, 100, 100, 100, 100, 100, 100 -svoice = 100, 100, 100, 100, 100, 100, 100 -gain_dialer = 1.0 -gain_touch = 1.0 -gain_af = 1.0 -gain_shutter1 = 1.0 -gain_shutter2 = 1.0 -gain_camcording = 1.0 -gain_midi = 1.0 -gain_booting = 1.0 -gain_video = 1.0 -gain_tts = 1.0 - diff --git a/mmfw-sysconf-msm8x26/usr/etc/mmfw_player.ini b/mmfw-sysconf-msm8x26/usr/etc/mmfw_player.ini deleted file mode 100644 index 26078f7..0000000 --- a/mmfw-sysconf-msm8x26/usr/etc/mmfw_player.ini +++ /dev/null @@ -1,89 +0,0 @@ -[general] - -; if disabled typefind element will used directely -use decodebin = yes ; async state change problem exist - -use sink handler = yes - -disable segtrap = yes ; same effect with --gst-disable-segtrap - -; set default videosink element according to video surface type(X, EVAS, NULL) -videosink element x = xvimagesink -videosink element evas = evaspixmapsink -videosink element fake = fakesink - -video converter element = - -audiosink element = pulsesink - -drmsrc element = filesrc - -; if yes. gstreamer will not update registry -skip rescan = yes -delay before repeat = 350 ; msec - -; comma separated list of tocken which elemnts has it in it's name will not be used -element exclude keyword = - -async start = yes - -multiple codec supported = yes - -; parameters for initializing gstreamer -;gstparam1 = --gst-disable-registry-usage -;gstparam2 = --gst-plugin-load=/usr/lib/gstreamer-0.10/libgsttypefindfunctions.so,/usr/lib/gstreamer-0.10/libgstcoreelements.so,/usr/lib/gstreamer-0.10/libgstaudioparsers.so,/usr/lib/gstreamer-0.10/libgstsavsdecaac.so,/usr/lib/gstreamer-0.10/libgstavsyssink.so,/usr/lib/gstreamer-0.10/libgstcoreindexers.so,/usr/lib/gstreamer-0.10/libgstaudioconvert.so,/usr/lib/gstreamer-0.10/libgstaudioresample.so,/usr/lib/gstreamer-0.10/libgstsoundalive.so -gstparam3 = -gstparam4 = -gstparam5 = - -; generating dot file representing pipeline state -generate dot = no - -; parameter for clock provide in audiosink -provide clock for music = yes -provide clock for video = no - -; allowed timeout for changing pipeline state -live state change timeout = 30 ; sec -localplayback state change timeout = 10 ; sec - -; delay in msec for sending EOS -eos delay = 150 ; msec - - -[http streaming] - -httpsrc element = souphttpsrc - -; if set, use file or not use memory for buffering -http file buffer path = /opt/usr/media - -http buffering limit = 99.0 ; percent - -http max size bytes = 1048576 ; bytes - -http buffering time = 1.2 - -http timeout = 20 ; sec - - -[rtsp streaming] - -rtspsrc element = secrtspsrc - -rtsp buffering time = 5000; msec - -rtsp rebuffering time = 15000; msec - -rtsp do typefinding = no; if no, caps on rtspsrc:src pad will be used for autoplugging - -rtsp error concealment = yes - -[subtitle] - -use subtitle setting = no - -subtitle uri = - -subtitle silent = no - diff --git a/mmfw-sysconf-msm8x26/usr/etc/mmfw_player_audio_effect.ini b/mmfw-sysconf-msm8x26/usr/etc/mmfw_player_audio_effect.ini deleted file mode 100644 index d3c495d..0000000 --- a/mmfw-sysconf-msm8x26/usr/etc/mmfw_player_audio_effect.ini +++ /dev/null @@ -1,24 +0,0 @@ -[audio effect] -; name of audio effect element -audio effect element = audioeq - -; preset audio effect setting -audio effect preset = no -audio effect preset list = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 -audio effect preset earphone only = 8, 11, 16, 20 - -; custom audio effect setting (EQ/extension) -audio effect custom = yes -audio effect custom list = 0, 1, 2, 3, 4, 5 ; 0 for EQ, others for extension effect -audio effect custom earphone only = 1 - -audio effect custom eq band num = 7 ; number of EQ bands -audio effect custom eq band width = 60, 150, 400, 1100, 3500, 5755, 11290 ; list of each EQ band width (Hz) -audio effect custom eq band freq = 60, 150, 400, 1100, 3500, 8000, 14000 ; list of each EQ band central frequency (Hz) - -audio effect custom ext num = 5 ; number of extension effects -audio effect custom min list = -12, 0, 0, 0, 0, 0 ; list of minimum level value (the first element is for EQ, others for extension effect) -audio effect custom max list = 12, 3, 3, 3, 3, 2 ; list of maximum level value (the first element is for EQ, others for extension effect) - -; name of secondary audio effect element -audio effect element sec = diff --git a/mmfw-sysconf-sc7727s.manifest b/mmfw-sysconf-sc7727s.manifest new file mode 100644 index 0000000..a76fdba --- /dev/null +++ b/mmfw-sysconf-sc7727s.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_" /> + </request> +</manifest> diff --git a/mmfw-sysconf-sc7727s/etc/asound.conf b/mmfw-sysconf-sc7727s/etc/asound.conf new file mode 100644 index 0000000..401580e --- /dev/null +++ b/mmfw-sysconf-sc7727s/etc/asound.conf @@ -0,0 +1,24 @@ +# default sound configuration for sprd6820 + +pcm. !default { + type hw + card sprdphone + device 0 +} + +ctl. !default { + type hw + card sprdphone +} + +ctl. sprdphone { + type hw + card sprdphone +} + +pcm. AIF2{ + type hw + card 0 + device 1 + format S16_LE +} diff --git a/mmfw-sysconf-msm8x26/etc/profile.d/mmf.sh b/mmfw-sysconf-sc7727s/etc/profile.d/mmf.sh index 80728d9..80728d9 100755 --- a/mmfw-sysconf-msm8x26/etc/profile.d/mmf.sh +++ b/mmfw-sysconf-sc7727s/etc/profile.d/mmf.sh diff --git a/mmfw-sysconf-sc7727s/etc/pulse/client.conf b/mmfw-sysconf-sc7727s/etc/pulse/client.conf new file mode 100644 index 0000000..afd70d9 --- /dev/null +++ b/mmfw-sysconf-sc7727s/etc/pulse/client.conf @@ -0,0 +1,37 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA. + +## Configuration file for PulseAudio clients. See pulse-client.conf(5) for +## more information. Default values are commented out. Use either ; or # for +## commenting. + +; default-sink = +; default-source = +; default-server = +; default-dbus-server = + +autospawn = no +; daemon-binary = /usr/bin/pulseaudio +; extra-arguments = --log-target=syslog + +; cookie-file = + +; enable-shm = yes +shm-size-bytes = 4194304 # setting this 0 will use the system-default, usually 64 MiB + +; auto-connect-localhost = no +; auto-connect-display = no diff --git a/mmfw-sysconf-msm8x26/etc/pulse/daemon.conf b/mmfw-sysconf-sc7727s/etc/pulse/daemon.conf index 9c2cf18..7ceb26f 100644 --- a/mmfw-sysconf-msm8x26/etc/pulse/daemon.conf +++ b/mmfw-sysconf-sc7727s/etc/pulse/daemon.conf @@ -45,9 +45,9 @@ realtime-priority = 5 ; load-default-script-file = yes ; default-script-file = /etc/pulse/default.pa -log-target = dlog -log-level = debug -log-meta = yes +log-target = dlog-color +log-level = verbose +; log-meta = no ; log-time = no ; log-backtrace = 0 @@ -81,7 +81,3 @@ alternate-sample-rate = 44100 ; default-fragments = 4 ; default-fragment-size-msec = 25 - -; enable-deferred-volume = yes -; deferred-volume-safety-margin-usec = 8000 -; deferred-volume-extra-delay-usec = 0 diff --git a/mmfw-sysconf-msm8x26/etc/pulse/default.pa b/mmfw-sysconf-sc7727s/etc/pulse/default.pa index cac0b9e..cac0b9e 100644 --- a/mmfw-sysconf-msm8x26/etc/pulse/default.pa +++ b/mmfw-sysconf-sc7727s/etc/pulse/default.pa diff --git a/mmfw-sysconf-sc7727s/etc/pulse/system.pa b/mmfw-sysconf-sc7727s/etc/pulse/system.pa new file mode 100644 index 0000000..ae1201b --- /dev/null +++ b/mmfw-sysconf-sc7727s/etc/pulse/system.pa @@ -0,0 +1,75 @@ +#!/usr/bin/pulseaudio -nF +# +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +# This startup script is used only if PulseAudio is started in system +# mode. + +### Custom policy module to route between bt<=speaker +load-module module-policy + +### Stream Manager module +load-module module-stream-mgr ipc_type=pipe +load-module module-role-ducking global=1 volume=0 + +load-module module-alsa-sink sink_name=alsa_output.0.analog-stereo device=hw:sprdphone,0 fragment_size=8192 +load-module module-alsa-source source_name=alsa_input.0.analog-stereo device=hw:sprdphone,0 fragment_size=8192 + +### Automatically load driver modules depending on the hardware available +.ifexists module-udev-detect.so +load-module module-udev-detect +.endif + +### Load several protocols +load-module module-native-protocol-unix + +load-module module-bluetooth-policy +load-module module-bluetooth-discover + +### Automatically restore the volume of streams and devices +#load-module module-stream-restore +#load-module module-device-restore + +### Automatically restore the default sink/source when changed by the user +### during runtime +### NOTE: This should be loaded as early as possible so that subsequent modules +### that look up the default sink/source get the right value +load-module module-default-device-restore + +.ifexists module-dbus-protocol.so +### If you want to allow TCP connections, set access to "remote" or "local,remote". +load-module module-dbus-protocol access=local +.endif + +### Automatically move streams to the default sink if the sink they are +### connected to dies, similar for sources +load-module module-rescue-streams + +### Make sure we always have a sink around, even if it is a null sink. +load-module module-always-sink + +### Automatically suspend sinks/sources that become idle for too long +load-module module-suspend-on-idle timeout=1 + +### Set default source (not to use alsa_sink monitor which is index 0) +#set-default-source alsa_input.0.analog-stereo + +load-module module-null-sink +load-module module-null-source + +load-sample camera-shutter /usr/share/sounds/mm-camcorder/capture_shutter_02.wav +load-sample recording-stop /usr/share/sounds/mm-camcorder/recording_stop_01.ogg diff --git a/mmfw-sysconf-sc7727s/opt/system/mmfw_audio_pcm_dump.ini b/mmfw-sysconf-sc7727s/opt/system/mmfw_audio_pcm_dump.ini new file mode 100644 index 0000000..1a2ebae --- /dev/null +++ b/mmfw-sysconf-sc7727s/opt/system/mmfw_audio_pcm_dump.ini @@ -0,0 +1,11 @@ + +[pcm_dump] +codec = n +gst_filter = n +sec_filter = n +ap_out = n +ap_in = n +sec_record = n +ap_out_stream = n +ap_in_stream = n + diff --git a/mmfw-sysconf-sc7727s/usr/etc/audio_hw.xml b/mmfw-sysconf-sc7727s/usr/etc/audio_hw.xml new file mode 100644 index 0000000..e6d43ae --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/etc/audio_hw.xml @@ -0,0 +1,51 @@ +<!-- SPRD audio params configuration file,include cp,mocor,pcm config --> +<audio device="sc8830-audio"> +<!-- the profile --> +<modem num="2"> + <cp name="w" pipe="/dev/spipe_w6" vbchannel="0" /> + <cp name="t" pipe="/dev/spipe_td6" vbchannel="1" /> +</modem> + +<voip modem="t" pipe="/dev/spipe_td4" vbchannel="1" enable="1" /> +<voip modem="w" pipe="/dev/spipe_w4" vbchannel="0" enable="1" /> + +<i2s_for_btcall index="0" + switch="1" + dst="external" + cp0_ctl_file="/proc/pin_switch/iis0_sys_sel/cp0_iis0" + cp1_ctl_file="/proc/pin_switch/iis0_sys_sel/cp1_iis0" + cp2_ctl_file="/proc/pin_switch/iis0_sys_sel/cp2_iis0" + ap_ctl_file="/proc/pin_switch/iis0_sys_sel/ap_iis0" + cp0_bt_ctl_file="/proc/pin_switch/bt_iis_sys_sel/cp0_iis0" + cp1_bt_ctl_file="/proc/pin_switch/bt_iis_sys_sel/cp1_iis0" + cp2_bt_ctl_file="/proc/pin_switch/bt_iis_sys_sel/cp2_iis0" + ap_bt_ctl_file="/proc/pin_switch/bt_iis_sys_sel/ap_iis0" + bt_con_eb_file="/proc/pin_switch/bt_iis_con_eb" +/> + +<i2s_for_extspeaker index="1" switch="0" dst="external" cp0_ctl_file="/d/pin_switch/iis-1" cp1_ctl_file="/d/pin_switch/iis-1" cp2_ctl_file="/d/pin_switch/iis-1" ap_ctl_file="/d/pin_switch/iis-1" /> + +<audiomode num="4"> + <item name="Headset" index="0" /> + <item name="Headfree" index="1" /> + <item name="Handset" index="2" /> + <item name="Handsfree" index="3" /> +</audiomode> + +<debug enable="1"> +<debuginfo sleepdeltatimegate="2000" /> +<debuginfo pcmwritetimegate="200000" /> +<debuginfo lastthiswritetimegate="200000" /> +</debug> + +<dumpmusic num="16" dump_switch = "0x0" dump_path="/data/local/media/" total_switch="ON"> + <dump_play index="0" item_name ="music.dump0" dump_file_name ="dump0.pcm" switch="0" /> + <dump_play index="1" item_name ="music.dump1" dump_file_name ="dump1.pcm" switch="0" /> + + <dump_record index="8" item_name ="record.dump0" dump_file_name ="dump_r0.pcm" switch="0" /> + <dump_record index="9" item_name ="record.dump1" dump_file_name ="dump_r1.pcm" switch="0" /> + +</dumpmusic> +</audio> + + diff --git a/mmfw-sysconf-sc7727s/usr/etc/codec_pga.xml b/mmfw-sysconf-sc7727s/usr/etc/codec_pga.xml new file mode 100644 index 0000000..f3d0d82 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/etc/codec_pga.xml @@ -0,0 +1,285 @@ +<!-- SPRD-V2 CODEC PGA configuration file --> +<codec name="sprd-codec"> + +<!-- the profile --> +<profile name="speaker-l"> + <pga name="SPKL Playback Volume" bit="0" /> + <pga name="DACL Playback Volume" bit="8" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="speaker-r"> + <pga name="SPKR Playback Volume" bit="0" /> + <pga name="DACR Playback Volume" bit="8" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="headphone-l"> + <pga name="HPL Playback Volume" bit="0" /> + <pga name="DACL Playback Volume" bit="8" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="headphone-r"> + <pga name="HPR Playback Volume" bit="0" /> + <pga name="DACR Playback Volume" bit="8" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="headphone-spk-l"> + <pga name="SPKL Playback Volume" bit="0" /> + <pga name="HPL Playback Volume" bit="4" /> + <pga name="DACL Playback Volume" bit="8" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="headphone-spk-r"> + <pga name="SPKR Playback Volume" bit="0" /> + <pga name="HPR Playback Volume" bit="4" /> + <pga name="DACR Playback Volume" bit="8" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="earpiece"> + <pga name="EAR Playback Volume" bit="0" /> + <pga name="DACL Playback Volume" bit="8" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="voice-speaker-l"> + <pga name="SPKL Playback Volume" bit="0" /> + <pga name="DACL Playback Volume" bit="4" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="voice-speaker-r"> + <pga name="SPKR Playback Volume" bit="0" /> + <pga name="DACR Playback Volume" bit="4" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="voice-headphone-l"> + <pga name="HPL Playback Volume" bit="0" /> + <pga name="DACL Playback Volume" bit="4" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="voice-headphone-r"> + <pga name="HPR Playback Volume" bit="0" /> + <pga name="DACR Playback Volume" bit="4" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="voice-headphone-spk-l"> + <pga name="SPKL Playback Volume" bit="0" /> + <pga name="DACL Playback Volume" bit="4" /> + <pga name="HPL Playback Volume" bit="8" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="voice-headphone-spk-r"> + <pga name="SPKR Playback Volume" bit="0" /> + <pga name="DACR Playback Volume" bit="4" /> + <pga name="HPR Playback Volume" bit="8" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="voice-earpiece"> + <pga name="EAR Playback Volume" bit="0" /> + <pga name="DACL Playback Volume" bit="4" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="linein-spk-l"> + <pga name="SPKL Playback Volume" bit="0" /> + <pga name="ADCL Capture Volume" bit="4" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="linein-spk-r"> + <pga name="SPKR Playback Volume" bit="0" /> + <pga name="ADCR Capture Volume" bit="4" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="linein-hp-l"> + <pga name="HPL Playback Volume" bit="0" /> + <pga name="ADCL Capture Volume" bit="4" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="linein-hp-r"> + <pga name="HPR Playback Volume" bit="0" /> + <pga name="ADCR Capture Volume" bit="4" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="capture-l"> + <pga name="ADCL Capture Volume" bit="0" /> + <pga name="MIC Boost" bit="6" /> + <pga name="AUXMIC Boost" bit="6" /> + <pga name="HEADMIC Boost" bit="6" /> + <pga name="Linein Boost" bit="6" /> + <pga name="VBC ADCL DG Set" bit="8" /> + <pga name="VBC ADCL DG Switch" bit="15" /> +</profile> + +<profile name="capture-r"> + <pga name="ADCR Capture Volume" bit="0" /> + <pga name="MIC Boost" bit="6" /> + <pga name="AUXMIC Boost" bit="6" /> + <pga name="HEADMIC Boost" bit="6" /> + <pga name="Linein Boost" bit="6" /> + <pga name="VBC ADCR DG Set" bit="8" /> + <pga name="VBC ADCR DG Switch" bit="15" /> +</profile> + +<profile name="voice-capture-l"> + <pga name="ADCL Capture Volume" bit="0" /> + <pga name="MIC Boost" bit="6" /> + <pga name="AUXMIC Boost" bit="6" /> + <pga name="HEADMIC Boost" bit="6" /> + <pga name="Linein Boost" bit="6" /> + <pga name="VBC ADCL DG Set" bit="8" /> + <pga name="VBC ADCL DG Switch" bit="15" /> +</profile> + +<profile name="voice-capture-r"> + <pga name="ADCR Capture Volume" bit="0" /> + <pga name="MIC Boost" bit="6" /> + <pga name="AUXMIC Boost" bit="6" /> + <pga name="HEADMIC Boost" bit="6" /> + <pga name="Linein Boost" bit="6" /> + <pga name="VBC ADCR DG Set" bit="8" /> + <pga name="VBC ADCR DG Switch" bit="15" /> +</profile> + +<profile name="linein-capture-l"> + <pga name="ADCL Capture Volume" bit="0" /> + <pga name="VBC ADCL DG Set" bit="8" /> + <pga name="VBC ADCL DG Switch" bit="15" /> +</profile> + +<profile name="linein-capture-r"> + <pga name="ADCR Capture Volume" bit="0" /> + <pga name="VBC ADCR DG Set" bit="8" /> + <pga name="VBC ADCR DG Switch" bit="15" /> +</profile> +<profile name="digital-fm"> + <pga name="VBC STL DG Set" bit="0" /> + <pga name="VBC STR DG Set" bit="16" /> +</profile> +<!-- the configuration PGA is the physical vaule --> +<attribute> +<!-- DO NOT modify the mixer attribute --> + <mixer name="SPKL Playback Volume"> + <attr max="15" inverse="0" /> + </mixer> + + <mixer name="SPKR Playback Volume"> + <attr max="15" inverse="0" /> + </mixer> + + <mixer name="HPL Playback Volume"> + <attr max="15" inverse="0" /> + </mixer> + + <mixer name="HPR Playback Volume"> + <attr max="15" inverse="0" /> + </mixer> + + <mixer name="EAR Playback Volume"> + <attr max="15" inverse="0" /> + </mixer> + + <mixer name="DACL Playback Volume"> + <attr max="7" inverse="0" /> + </mixer> + + <mixer name="DACR Playback Volume"> + <attr max="7" inverse="0" /> + </mixer> + + <mixer name="ADCL Capture Volume"> + <attr max="63" inverse="0" /> + </mixer> + + <mixer name="ADCR Capture Volume"> + <attr max="63" inverse="0" /> + </mixer> + + <mixer name="MIC Boost"> + <attr max="3" inverse="0" /> + </mixer> + + <mixer name="AUXMIC Boost"> + <attr max="3" inverse="0" /> + </mixer> + + <mixer name="HEADMIC Boost"> + <attr max="3" inverse="0" /> + </mixer> + + <mixer name="Linein Boost"> + <attr max="3" inverse="0" /> + </mixer> + + <mixer name="VBC DACL DG Set"> + <attr max="127" inverse="0" /> + </mixer> + + <mixer name="VBC DACR DG Set"> + <attr max="127" inverse="0" /> + </mixer> + + <mixer name="VBC DACL DG Switch"> + <attr max="1" inverse="0" /> + </mixer> + + <mixer name="VBC DACR DG Switch"> + <attr max="1" inverse="0" /> + </mixer> + + <mixer name="VBC ADCL DG Set"> + <attr max="127" inverse="0" /> + </mixer> + + <mixer name="VBC ADCR DG Set"> + <attr max="127" inverse="0" /> + </mixer> + + <mixer name="VBC ADCL DG Switch"> + <attr max="1" inverse="0" /> + </mixer> + + <mixer name="VBC ADCR DG Switch"> + <attr max="1" inverse="0" /> + </mixer> + <mixer name="VBC STR DG Set"> + <attr max="127" inverse="0" /> + </mixer> + + <mixer name="VBC STL DG Set"> + <attr max="127" inverse="0" /> + </mixer> +</attribute> + +</codec> diff --git a/mmfw-sysconf-msm8x26/usr/etc/miccalib.txt b/mmfw-sysconf-sc7727s/usr/etc/miccalib.txt index 859d5de..859d5de 100644 --- a/mmfw-sysconf-msm8x26/usr/etc/miccalib.txt +++ b/mmfw-sysconf-sc7727s/usr/etc/miccalib.txt diff --git a/mmfw-sysconf-sc7727s/usr/etc/mmfw_audio_config.ini b/mmfw-sysconf-sc7727s/usr/etc/mmfw_audio_config.ini new file mode 100644 index 0000000..d81f056 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/etc/mmfw_audio_config.ini @@ -0,0 +1,13 @@ +[pulsesink] +mid_buffer_time = 400000 +mid_latency_time = 0 + +high_buffer_time = 600000 +high_latency_time = 0 + +vhigh_buffer_time = 20000000 +vhigh_latency_time = 0 + + + + diff --git a/mmfw-sysconf-msm8x26/usr/etc/mmfw_audio_record.ini b/mmfw-sysconf-sc7727s/usr/etc/mmfw_audio_record.ini index c3f3753..c3f3753 100644 --- a/mmfw-sysconf-msm8x26/usr/etc/mmfw_audio_record.ini +++ b/mmfw-sysconf-sc7727s/usr/etc/mmfw_audio_record.ini diff --git a/mmfw-sysconf-sc7727s/usr/etc/mmfw_audio_sb_am.ini b/mmfw-sysconf-sc7727s/usr/etc/mmfw_audio_sb_am.ini new file mode 100644 index 0000000..9a91a2d --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/etc/mmfw_audio_sb_am.ini @@ -0,0 +1,46 @@ + +[sb_normal] +enable = y +high_pass_filter = 300 +gain_level = 0 +clarity_level = 0 + +[sb_voip] +enable = n +high_pass_filter = 400 +gain_level = 6 +clarity_level = 0 + +[am] +enable = y + +[am_band_01] +enable = y +48kHz = 1122959470,-1653133682,785914884,1653133682,-835132530,-3 +44_1kHz = 1126389932,-1593180102,765853393,1593180102,-818501501,-3 +32kHz = 1043184989, -1983125987, 964660914, 1983125987, -934104078, -5 +24kHz = 1033980558, -1922826667, 931803201, 1922826667, -892041935, -5 +22_05kHz = 1030838517, -1900940285, 920586835, 1900940285, -877683528, -5 +16kHz = 1016980524, -1795687425, 871116971, 1795687425, -814355671, -5 +8kHz = 976383808, -1377415986, 726195985, 1377415986, -628837969, -5 + +[am_band_02] +enable = n +48kHz = 1110365371, -257127604, 859565726, 257127604, -896189273, -3 +44_1kHz = 1110654844, -7011676, 857872874, 7011676, -894785894, -3 +32kHz = 1023031758, -1557063300, 849632352, 1557063300, -798922286, -4 +24kHz = 1011377038, -1279511273, 798125159, 1279511273, -735760373, -4 +22_05kHz = 1007893475, -1175235849, 782729805, 1175235849, -716881456, -4 +16kHz = 996008796, -660593927, 730206326, 660593927, -652473299, -4 +8kHz = 1011377038, 1279511274, 798125159, -1279511274, -735760373, -4 + +[am_band_03] +enable = n +48kHz = 1005172476, -1289473686, 894462573, 1289473686, -825893224, -7 +44_1kHz = 1001277289, -1175624704, 884278340, 1175624704, -811813805, -7 +32kHz = 988343141, -602447771, 850461126, 602447771, -765062442, -7 +24kHz = 984341700, 143136128, 839999085, -143136128, -750598960, -7 +22_05kHz = 986022487, 407305901, 844393618, -407305901, -756674281, -7 +16kHz = 1014865984, 1519331383, 919806914, -1519331383, -860931074, -7 +8kHz = 1197823193, -606020485, 1398161049, 606020485, -1522242418, -7 + diff --git a/mmfw-sysconf-sc7727s/usr/etc/mmfw_audio_volume.ini b/mmfw-sysconf-sc7727s/usr/etc/mmfw_audio_volume.ini new file mode 100644 index 0000000..09a9a97 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/etc/mmfw_audio_volume.ini @@ -0,0 +1,19 @@ +[volumes] +system = 0, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 82, 84, 86, 88, 90 +notification = 0, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 95 +alarm = 0, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 90 +ringtone = 0, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 90 +media = 0, 44, 48, 52, 56, 61, 66, 70, 74, 78, 82, 85, 88, 91, 94, 97 +call = 60, 65, 70, 76, 82, 88, 94, 100 +voip = 60, 65, 70, 76, 82, 88, 94, 100 +voice = 0, 55, 58, 61, 64, 67, 70, 73, 76, 79, 82, 85, 88, 91, 94, 97 +gain_dialer = 1.00 +gain_touch = 1.00 +gain_af = 0.70 +gain_shutter1 = 0.14 +gain_shutter2 = 1.00 +gain_camcording = 0.30 +gain_midi = 1.00 +gain_booting = 0.40 +gain_video = 0.90 +gain_tts = 1.00 diff --git a/mmfw-sysconf-sc7727s/usr/etc/mmfw_avsystem.ini b/mmfw-sysconf-sc7727s/usr/etc/mmfw_avsystem.ini new file mode 100644 index 0000000..0742c30 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/etc/mmfw_avsystem.ini @@ -0,0 +1,8 @@ +[aif] + +control aif before path set = no + +[debug] + +gain debug mode = no + diff --git a/mmfw-sysconf-sc7727s/usr/etc/mmfw_camcorder.ini b/mmfw-sysconf-sc7727s/usr/etc/mmfw_camcorder.ini new file mode 100644 index 0000000..1f1fe58 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/etc/mmfw_camcorder.ini @@ -0,0 +1,109 @@ +; < Camera/Camcorder Configure Main INI file > +; +; +; - Header List - +; 1. General +; 2. VideoInput +; 3. AudioInput +; 4. VideoOutput +; 5. Capture +; 6. Record +; 7. VideoEncoder +; 8. AudioEncoder +; 9. ImageEncoder +; 10. Mux +; +; - Note - +; If you want to add a new header, +; add a new enum value to "enum ConfigureCategoryMain" +; and new default table for it in mm_camcorder_configure.c/.h +; + +[General] +SyncStateChange = 1 +;GSTInitOption = --gst-enable-tiny-registry --gst-disable-segtrap || NOT-USE-DEFAULT_VALUE +;GSTInitOption = --gst-enable-tiny-registry --gst-disable-segtrap --gst-debug=3 || NOT-USE-DEFAULT_VALUE +ModelName = SM-Z130H +;DisabledAttributes = camera-optical-zoom camera-af-touch-x camera-af-touch-y camera-exposure-value camera-f-number camera-shutter-speed camera-hold-af-after-capturing filter-flip filter-hue display-src-x display-src-y display-src-width display-src-height tag-image-description strobe-control strobe-capabilities strobe-mode detect-mode detect-number detect-focus-select detect-select-number detect-status || NO_DEFAULT_VALUE + +[VideoInput] +UseConfCtrl = 1 +ConfCtrlFile0 = mmfw_camcorder_dev_video_pri.ini +ConfCtrlFile1 = mmfw_camcorder_dev_video_sec.ini +VideosrcElement = camerasrc | 2,0 | do-timestamp,1 | num-alloc-buf,7 +UseVideoscale = 0 +VideoscaleElement = videoscale | 3,0 | width,320 | height,240 | method,1 +UseZeroCopyFormat = 1 +DeviceCount = 1 +SupportMediaPacketPreviewCb = 1 + +[AudioInput] +AudioDevice = 0,1 || 0 +AudiosrcElement = pulsesrc | 2,0 | do-timestamp,1 | blocksize,640 +AudiomodemsrcElement = pulsesrc | 2,0 | do-timestamp,1 | blocksize,640 + +[VideoOutput] +; DisplayDevice +;;; 0: MAIN LCD, 1: SUB LCD, 2:TV OUT, 3: MAIN LCD and SUB LCD, 4: MAIN LCD and TV OUT +DisplayDevice = 0 || 0 +; DisplayMode +;;; 0: Default, 1: Pri Video ON and Sec Video Full-Screen, 2: Pri Video OFF and Sec Video Full-Screen +DisplayMode = 0,1,2 || 0 +; Videosink +;;; 0: X surface, 1: Evas surface, 2: GL surface, 3: NULL surface, 4: X_EXT surface +Videosink = 0,1,3,4 || 1 +VideosinkElementX = xvimagesink | 7,0 | draw-borders,0 | force-aspect-ratio,1 | enable-last-sample,0 | qos,0 | sync,0 | show-preroll-frame,0 | handle-expose,0 +VideosinkElementEvas = evaspixmapsink | 4,0 | enable-last-sample,0 | qos,0 | sync,0 | show-preroll-frame,0 +VideosinkElementNull = fakesink | 4,0 | qos,0 | sync,0 | enable-last-sample,0 | show-preroll-frame,0 +UseVideoscale = 0 +VideoscaleElement = videoscale | 1,0 | rotang,90 + +[VideoEncoder] +H263 = sprdenc_h263 | 0,0 +H264 = sprdenc_h264 | 0,0 +MPEG4 = sprdenc_mpeg4 | 0,0 + +[AudioEncoder] +AMR = amrnbenc | 0,0 +AAC = avenc_aac | 2,0 | compliance,-2 | bitrate,44100 +WAVE = wavenc | 0,0 + +[ImageEncoder] +JPEG = secjpeg_enc | 0,0 +;PNG = pngenc | 0,0 + +[Capture] +UseEncodebin = 0 +UseCaptureMode = 0 +VideoscaleElement = videoscale | 1,0 | method,1 + +[Record] +UseAudioEncoderQueue = 1 +UseVideoEncoderQueue = 1 +VideoProfile = 0 +VideoAutoAudioConvert = 1 +VideoAutoAudioResample = 0 +VideoAutoColorSpace = 0 +AudioProfile = 1 +AudioAutoAudioConvert = 1 +AudioAutoAudioResample = 0 +AudioAutoColorSpace = 0 +ImageProfile = 2 +ImageAutoAudioConvert = 0 +ImageAutoAudioResample = 0 +ImageAutoColorSpace = 1 +RecordsinkElement = filesink | 1,0 | async,0 +SupportDualStream = 0 +UseNoiseSuppressor = 0 +DropVideoFrame = 0 +PassFirstVideoFrame = 0 + +[Mux] +3GP = avmux_3gp | 0,0 +AMR = avmux_amr | 0,0 +MP4 = avmux_mp4 | 0,0 +AVI = avimux | 0,0 +MATROSKA = matroskamux | 0,0 +WAV = wavenc | 0,0 +AAC = avmux_adts | 0,0 + diff --git a/mmfw-sysconf-sc7727s/usr/etc/mmfw_camcorder_dev_video_pri.ini b/mmfw-sysconf-sc7727s/usr/etc/mmfw_camcorder_dev_video_pri.ini new file mode 100644 index 0000000..2e96269 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/etc/mmfw_camcorder_dev_video_pri.ini @@ -0,0 +1,191 @@ +; < Camera/Camcorder Configure Control INI file > +; +; - Header List - +; 1. Camera +; 2. Strobe +; 3. Effect +; 4. Photograph +; 5. Capture +; 6. Detect +; +; - Note - +; If you want to add a new header, +; add a new enum value to "enum ConfigureCategoryControl" +; and new default table for it in mm_camcorder_configure.c/.h +; + +[Camera] +; Input index - real setting value +;;; 0:PRIMARY_CAMERA, 1:SECONDARY_CAMERA +; Input index - MSL value(convert array index) +;;; -1:NONE, 0:CAMERA0, 1:CAMERA1 +InputIndex = 0,-255 || 0 +DeviceName = SR352 +PreviewResolution = 176,144 | 320,240 | 480,480 | 640,480 | 800,480 || 640,480 +CaptureResolution = 640,480 | 800,480 | 1536,1536 | 1600,960 | 1600,1200 | 2048,1232 | 2048,1536 || 1600,1200 +VideoResolution = 176,144 | 320,240 | 640,480 || 640,480 +FPS0 = 0,15,25 || 25 +FPS1 = 0,15,25 || 25 +FPS2 = 0,15,25 || 25 +FPS3 = 0,15,25 || 25 +FPS4 = 0,15 || 15 +; PictureForamt - MSL value +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +PictureFormat = 0 || 0 +Overlay = 0,1 || 1 +; Recommend display rotation +;;; 0:NONE, 1:90, 2:180, 3:270 +RecommendDisplayRotation = 3 +; Recommend preview format for capture +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +RecommendPreviewFormatCapture = 0 +; Recommend preview format for record +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +RecommendPreviewFormatRecord = 0 +; Recommend preview resolution +;;; 0: NORMAL ratio(4:3), 1: WIDE ratio(16:9), 2: SQUARE ratio(1:1) +RecommendPreviewResolution = 640,480 | 800,480 | 480,480 || 640,480 +; Camera facing direction +;;; 0:REAR, 1:FRONT +FacingDirection = 0 + + +[Strobe] +;StrobeControl - Not support +;StrobeCapabilities - Not support +; Strobe mode - real setting value +;;; 0:OFF, 1:ON, 2:TORCH, 3:AUTO, 4:MAX +; Strobe mode - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:REDEYE_REDUCTION, 4:SLOW_SYNC, 5:FRONT_CURTAIN, 6:REAR_CURTAIN, 7:PERMANENT +StrobeMode = 0,1,3,-255,-255,-255,-255,2 || 0 +;StrobeStatus - Not support +;StrobeEV - Not support + + +[Effect] +Brightness = 0,8 || 4 +;Contrast = -2,2 || 0 +;Saturation = 0,4 || 2 +;Sharpness = 0,4 || 2 + +; White balance - real setting value +;;; 0:AUTO, 1:INCANDESCENT, 4:FLUORESCENT, 5:DAYLIGHT, 6:CLOUDY_DAYLIGHT +; White balance - MSL value(convert array index) +;;; 0:NONE, 1:AUTO, 2:DAYLIGHT, 3:CLOUDY, 4:FLUORESCENT, 5:INCANDESCENT, 6:SHADE, 7:HORIZON, 8:FLASH, 9:CUSTOM +WhiteBalance = -255,0,5,6,4,1,-255,-255,-255,-255 || 0 + +; Color tone - real setting value +;;; 0:NONE, 1:MONO, 6:NEGATIVE, 7:SEPIA, 4:COLD +; Color tone - MSL value(convert array index) +;;; 0:NONE, 1:MONO, 2:SEPIA, 3:NEGATIVE, 4:BLUE, 5:GREEN, 6:AQUA, 7:VIOLET, 8:ORANGE, 9:GRAY, 10:RED, +;;; 11:ANTIQUE, 12:WARM, 13:PINK, 14:YELLOW, 15:PURPLE, 16:EMBOSS, 17:OUTLINE, 18:SOLARIZATION, 19:SKETCH, 20:WASHED, +;;; 21:VINTAGE_WARM, 22:VINTAGE_COLD, 23:POSTERIZATION, 24:CARTOON, 25:SELECTIVE_RED, 26:SELECTIVE_GREEN, 27:SELECTIVE_BLUE, 28:SELECTIVE_YELLOW, 29:SELECTIVE_RED_YELLOW, 30:GRAPHICS +ColorTone = 0,1,7,6,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Flip - MSL value(convert array index) +;;; 0:NONE, 1:HORIZONTAL, 2:VERTICAL, 3:BOTH +Flip = 0,-255,-255,-255 || 0 + +; Wide Dynamic Range - real setting value +;;; N/A +; Wide Dynamic Range - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO +WDR = 0,-255,-255 || 0 + +; Part color mode - real setting value +;;; 0:OFF, 1:SWAP, 2:ACCENT +; Part color mode - MSL value(convert array index) +;;; 0:OFF, 1:SWAP, 2:ACCENT +;PartColorMode = 0,1,2 || 0 + +; Part color - real setting value +;;; 0:VIOLET, 1:PURPLE, 2:MAGENTA_1, 3:MAGENTA_2, 4:RED_1, 5:RED_2, 6:BROWN, 7:YELLOW, 8:GREEN_1, 9:GREEN_2, 10:GREEN_3, +;;; 11:GREEN_4, 12:COBALT, 13:CYAN, 14:BLUE_1, 15:BLUE_2, 16:GRAY +; Part color - MSL value(convert array index) +;;; 0:VIOLET, 1:PURPLE, 2:MAGENTA_1, 3:MAGENTA_2, 4:RED_1, 5:RED_2, 6:BROWN, 7:YELLOW, 8:GREEN_1, 9:GREEN_2, 10:GREEN_3, +;;; 11:GREEN_4, 12:COBALT_BLUE, 13:CYAN, 14:BLUE_1, 15:BLUE_2, 16:GRAY +;PartColor = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 || 0 + + +[Photograph] +;LensInit = 0,1 || 0 +DigitalZoom = 0,8 || 0 +OpticalZoom = 0,0 || 0 + +; Focus mode - real setting value +;;; 0:AUTO, 1:MANUAL, 2:PAN, 3:TOUCH_AUTO, 4:CONTINUOUS +; Focus mode - MSL value(convert array index) +;;; 0:NONE, 1:PAN, 2:AUTO, 3:MANUAL, 4:TOUCH_AUTO, 5:CONTINUOUS +FocusMode = 0,-255,-255,-255,-255,-255 || 0 + +; Auto focus type - real setting value +;;; 0:NORMAL, 1:MACRO, 2:FULL +; Auto focus - MSL value(convert array index) +;;; 0:NONE, 1:NORMAL, 2:MACRO, 3:FULL +AFType = 0,-255,-255,-255 || 0 + +; Auto exposure type - real setting value +;;; 0:CENTER, 1:MATRIX, 2:SPOT, 3.MAX +; Auto exposure mode - MSL value(convert array index) +;;; 0,OFF 1,ALL 2,CENTER1 3,CENTER2 4,CENTER3 5,SPOT1 6,SPOT2 7,CUSTOM1 8,CUSTOM2 +AEType = -255,-255,0,-255,-255,-255,-255,-255,-255 || 0 + +;ExposureValue - Not support +;FNumber - Not support +;ShutterSpeed - Not support + +; ISO - real setting value +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600 +; ISO - MSL value(convert array index) +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600, 7:3200 +ISO = 0,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Program mode - real setting value +;;; 1:NONE, 2:PORTRAIT, 3:NIGHTSHOT, 4:BACK_LIGHT, 5:LANDSCAPE, 6:SPORTS, 7:PARTY_INDOOR, 8:BEACH_SNOW, 9:SUNSET, 10:DUSK_DAWN, +;;; 11:FALL_COLOR, 12:FIREWORKS, 13:TEXT, 14:CANDLE_LIGHT +; Program mode - MSL value(convert array index) +;;; 0:NORMAL, 1:PORTRAIT, 2:LANDSCAPE, 3:SPORTS, 4:PARTY_N_INDOOR, 5:BEACH_N_INDOOR, 6:SUNSET, 7:DUSK_N_DAWN, 8:FALL_COLOR, 9:NIGHT_SCENE, +;;; 10:FIREWORK, 11:TEXT, 12:SHOW_WINDOW, 13:CANDLE_LIGHT, 14:BACKLIGHT +ProgramMode = 0,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Anti-handshake - real setting value +;;; N/A +; Anti-handshake - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:MOVIE_ON +AntiHandshake = 0,-255,-255,-255 || 0 + +; Video-stabilization - real setting value +;;; 0:OFF, 1:ON +; Video-stabilization - MSL value(convert array index) +;;; 0:OFF, 1:ON +VideoStabilization = 0 || 0 + +; Face zoom mode +;;; 0:OFF, 1:ON +FaceZoomMode = 0 || 0 +; Face zoom level +FaceZoomLevel = 0,0 || 0 + + +[Capture] +; Output mode +;;; No need to convert +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +OutputMode = 0,13 || 13 +JpegQuality = 0,100 || 95 +MultishotNumber = 1,1 || 1 +SensorEncodedCapture = 1 +; Support HDR +;;; 0: OFF, 1: ON, 2: ON and Original +SupportHDR = 0,-255,-255 || 0 + + +[Detect] +; Detect mode +;;; 0:OFF, 1:ON +;DetectMode - Not support +;DetectNumber - Not support +;DetectFocusSelect - Not support +;DetectSelectNumber - Not support +;DetectStatus - Not support + diff --git a/mmfw-sysconf-sc7727s/usr/etc/mmfw_camcorder_dev_video_sec.ini b/mmfw-sysconf-sc7727s/usr/etc/mmfw_camcorder_dev_video_sec.ini new file mode 100644 index 0000000..1692b2f --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/etc/mmfw_camcorder_dev_video_sec.ini @@ -0,0 +1,192 @@ +; < Camera/Camcorder Configure Control INI file > +; +; - Header List - +; 1. Camera +; 2. Strobe +; 3. Effect +; 4. Photograph +; 5. Capture +; 6. Detect +; +; - Note - +; If you want to add a new header, +; add a new enum value to "enum ConfigureCategoryControl" +; and new default table for it in mm_camcorder_configure.c/.h +; + +[Camera] +; Input index - real setting value +;;; 0:PRIMARY_CAMERA, 1:SECONDARY_CAMERA +; Input index - MSL value(convert array index) +;;; -1:NONE, 0:CAMERA0, 1:CAMERA1 +InputIndex = -255,1 || 1 +DeviceName = SR030PC30 +PreviewResolution = 176,144 | 320,240 | 480,480 | 640,480 || 640,480 +CaptureResolution = 480,480 | 640,480 || 640,480 +VideoResolution = 176,144 | 320,240 | 640,480 || 640,480 +FPS0 = 0,15,25 || 25 +FPS1 = 0,15,25 || 25 +FPS2 = 0,15,25 || 25 +FPS3 = 0,15,25 || 25 +; PictureForamt - MSL value +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +PictureFormat = 0 || 0 +Overlay = 0,1 || 1 +; Recommend display rotation +;;; 0:NONE, 1:90, 2:180, 3:270 +RecommendDisplayRotation = 3 +; Recommend preview format for capture +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +RecommendPreviewFormatCapture = 0 +; Recommend preview format for record +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +RecommendPreviewFormatRecord = 0 +; Recommend preview resolution +;;; 0: NORMAL ratio(4:3), 1: WIDE ratio(16:9), 2: SQUARE ratio(1:1) +RecommendPreviewResolution = 640,480 | 640,480 | 480,480 || 640,480 +; Camera facing direction +;;; 0:REAR, 1:FRONT +FacingDirection = 1 + + +[Strobe] +;StrobeControl - Not support +;StrobeCapabilities - Not support +; Strobe mode - real setting value +;;; N/A +; Strobe mode - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:REDEYE_REDUCTION, 4:SLOW_SYNC, 5:FRONT_CURTAIN, 6:REAR_CURTAIN, 7:PERMANENT +StrobeMode = 0,-255,-255,-255,-255,-255,-255,-255 || 0 +;StrobeStatus - Not support +;StrobeEV - Not support + + +[Effect] +Brightness = 0,8 || 4 +;Contrast = -2,2 || 0 +;Saturation = 0,4 || 2 +;Sharpness = 0,4 || 2 + +; White balance - real setting value +;;; 0:AUTO, 1:INCANDESCENT, 4:FLUORESCENT, 5:DAYLIGHT, 6:CLOUDY_DAYLIGHT +; White balance - MSL value(convert array index) +;;; 0:NONE, 1:AUTO, 2:DAYLIGHT, 3:CLOUDY, 4:FLUORESCENT, 5:INCANDESCENT, 6:SHADE, 7:HORIZON, 8:FLASH, 9:CUSTOM +WhiteBalance = -255,0,5,6,4,1,-255,-255,-255,-255 || 0 + +; Color tone - real setting value +;;; 0:NONE, 1:MONO, 6:NEGATIVE, 7:SEPIA, 4:COLD +; Color tone - MSL value(convert array index) +;;; 0:NONE, 1:MONO, 2:SEPIA, 3:NEGATIVE, 4:BLUE, 5:GREEN, 6:AQUA, 7:VIOLET, 8:ORANGE, 9:GRAY, 10:RED, +;;; 11:ANTIQUE, 12:WARM, 13:PINK, 14:YELLOW, 15:PURPLE, 16:EMBOSS, 17:OUTLINE, 18:SOLARIZATION, 19:SKETCH, 20:WASHED, +;;; 21:VINTAGE_WARM, 22:VINTAGE_COLD, 23:POSTERIZATION, 24:CARTOON, 25:SELECTIVE_RED, 26:SELECTIVE_GREEN, 27:SELECTIVE_BLUE, 28:SELECTIVE_YELLOW, 29:SELECTIVE_RED_YELLOW, 30:GRAPHICS +ColorTone = 0,1,7,6,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Flip - MSL value(convert array index) +;;; 0:NONE, 1:HORIZONTAL, 2:VERTICAL, 3:BOTH +Flip = 0,1,2,3 || 0 + + + +; Wide Dynamic Range - real setting value +;;; N/A +; Wide Dynamic Range - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO +WDR = 0,-255,-255 || 0 + +; Part color mode - real setting value +;;; 0:OFF, 1:SWAP, 2:ACCENT +; Part color mode - MSL value(convert array index) +;;; 0:OFF, 1:SWAP, 2:ACCENT +;PartColorMode = 0,1,2 || 0 + +; Part color - real setting value +;;; 0:VIOLET, 1:PURPLE, 2:MAGENTA_1, 3:MAGENTA_2, 4:RED_1, 5:RED_2, 6:BROWN, 7:YELLOW, 8:GREEN_1, 9:GREEN_2, 10:GREEN_3, +;;; 11:GREEN_4, 12:COBALT, 13:CYAN, 14:BLUE_1, 15:BLUE_2, 16:GRAY +; Part color - MSL value(convert array index) +;;; 0:VIOLET, 1:PURPLE, 2:MAGENTA_1, 3:MAGENTA_2, 4:RED_1, 5:RED_2, 6:BROWN, 7:YELLOW, 8:GREEN_1, 9:GREEN_2, 10:GREEN_3, +;;; 11:GREEN_4, 12:COBALT_BLUE, 13:CYAN, 14:BLUE_1, 15:BLUE_2, 16:GRAY +;PartColor = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 || 0 + + +[Photograph] +;LensInit = 0,1 || 0 +DigitalZoom = 0,0 || 0 +OpticalZoom = 0,0 || 0 + +; Focus mode - real setting value +;;; Not Support, no need to convert +; Focus mode - MSL value(convert array index) +;;; 0:NONE, 1:PAN, 2:AUTO, 3:MANUAL, 4:TOUCH_AUTO, 5:CONTINUOUS +FocusMode = -255,0,-255,-255,-255,-255 || 0 + +; Auto focus type - real setting value +;;; 0:NORMAL, 1:MACRO, 2:FULL +; Auto focus - MSL value(convert array index) +;;; 0:NONE, 1:NORMAL, 2:MACRO, 3:FULL +AFType = 0,-255,-255,-255 || 0 + +; Auto exposure type - real setting value +;;; 0:CENTER, 1:MATRIX, 2:SPOT, 3.MAX +; Auto exposure mode - MSL value(convert array index) +;;; 0,OFF 1,ALL 2,CENTER1 3,CENTER2 4,CENTER3 5,SPOT1 6,SPOT2 7,CUSTOM1 8,CUSTOM2 +AEType = -255,-255,0,-255,-255,-255,-255,-255,-255 || 0 + +;ExposureValue - Not support +;FNumber - Not support +;ShutterSpeed - Not support + +; ISO - real setting value +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600 +; ISO - MSL value(convert array index) +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600, 7:3200 +ISO = 0,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Program mode - real setting value +;;; 1:NONE, 2:PORTRAIT, 3:NIGHTSHOT, 4:BACK_LIGHT, 5:LANDSCAPE, 6:SPORTS, 7:PARTY_INDOOR, 8:BEACH_SNOW, 9:SUNSET, 10:DUSK_DAWN, +;;; 11:FALL_COLOR, 12:FIREWORKS, 13:TEXT, 14:CANDLE_LIGHT +; Program mode - MSL value(convert array index) +;;; 0:NORMAL, 1:PORTRAIT, 2:LANDSCAPE, 3:SPORTS, 4:PARTY_N_INDOOR, 5:BEACH_N_INDOOR, 6:SUNSET, 7:DUSK_N_DAWN, 8:FALL_COLOR, 9:NIGHT_SCENE, +;;; 10:FIREWORK, 11:TEXT, 12:SHOW_WINDOW, 13:CANDLE_LIGHT, 14:BACKLIGHT +ProgramMode = 0,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Anti-handshake - real setting value +;;; N/A +; Anti-handshake - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:MOVIE_ON +AntiHandshake = 0,-255,-255,-255 || 0 + +; Video-stabilization - real setting value +;;; 0:OFF, 1:ON +; Video-stabilization - MSL value(convert array index) +;;; 0:OFF, 1:ON +VideoStabilization = 0 || 0 + +; Face zoom mode +;;; 0:OFF, 1:ON +FaceZoomMode = 0 || 0 +; Face zoom level +FaceZoomLevel = 0,0 || 0 + + +[Capture] +; Output mode +;;; No need to convert +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +OutputMode = 0,13 || 13 +JpegQuality = 0,100 || 95 +MultishotNumber = 1,1 || 1 +SensorEncodedCapture = 1 +; Support HDR +;;; 0: OFF, 1: ON, 2: ON and Original +SupportHDR = 0,-255,-255 || 0 + + +[Detect] +; Detect mode +;;; 0:OFF, 1:ON +;DetectMode - Not support +;DetectNumber - Not support +;DetectFocusSelect - Not support +;DetectSelectNumber - Not support +;DetectStatus - Not support + diff --git a/mmfw-sysconf-sc7727s/usr/etc/mmfw_fmradio.ini b/mmfw-sysconf-sc7727s/usr/etc/mmfw_fmradio.ini new file mode 100644 index 0000000..7699db8 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/etc/mmfw_fmradio.ini @@ -0,0 +1,17 @@ +[tuning] +enable = n + +[fmradio] +mmfw_fmradio_snr_threshold = 3 +mmfw_fmradio_rssi_threshold = 108 +mmfw_fmradio_cnt_threshold = 0 +mmfw_fmradio_softmute_start_snr = 37 +mmfw_fmradio_softmute_stop_snr = 0 +mmfw_fmradio_softmute_start_rssi = 0 +mmfw_fmradio_softmute_stop_rssi = 0 +mmfw_fmradio_softmute_start_mute = 12 +mmfw_fmradio_softmute_stop_atten = 0 +mmfw_fmradio_softmute_mute_rate = 0 +mmfw_fmradio_softmute_snr40 = 0 +volume_levels = 16 +volume_table = 0, 2, 3, 4, 6, 8, 11, 17, 22, 32, 46, 65, 95, 129, 178, 253 diff --git a/mmfw-sysconf-sc7727s/usr/etc/mmfw_media_codec.ini b/mmfw-sysconf-sc7727s/usr/etc/mmfw_media_codec.ini new file mode 100644 index 0000000..4aeed20 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/etc/mmfw_media_codec.ini @@ -0,0 +1,89 @@ +[h261] +hw_decoder = , , +hw_encoder = , , +sw_decoder = , , +sw_encoder = , , + +[h263] +hw_decoder = sprddec_h263, video/x-h263, NV12 +hw_encoder = sprdenc_h263, video/x-raw, H263P +sw_decoder = avdec_h263, video/x-h263, I420 +sw_encoder = avenc_h263, video/x-raw, H263P + +[h264] +hw_decoder = sprddec_h264, video/x-h264, NV12 +hw_encoder = sprdenc_h264, video/x-raw, H264_SP +sw_decoder = avdec_h264, video/x-h264, I420 +sw_encoder = avenc_h264, video/x-raw, H264_SP + +[mpeg4] +hw_decoder = sprddec_h264, video/x-h264, NV12 +hw_encoder = sprdenc_h264, video/x-raw, MPEG4_SP +sw_decoder = avdec_h264, video/x-h264, I420 +sw_encoder = avenc_h264, video/x-raw, MPEG4_SP + +[aac_lc] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_aac, audio/mpeg, PCM +sw_encoder = avenc_aac, audio/x-raw, AAC_LC + +[aac_he] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_aac, audio/mpeg, PCM +sw_encoder = , , + +[aac_he_ps] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_aac, audio/mpeg, PCM +sw_encoder = , , + +[mp3] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_mp3, audio/mpeg, PCM +sw_encoder = , , + +[amr_nb] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_amrnb, audio/AMR, PCM +sw_encoder = amrnbenc, audio/x-raw, AMR_NB + +[amr_wb] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_amrwb, audio/AMR-WB, PCM +sw_encoder = , , + +[vorbis] +hw_decoder = , , +hw_encoder = , , +sw_decoder = vorbisdec, audio/x-vorbis, PCM +sw_encoder = , , + +[flac] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_flac, audio/x-flac, PCM +sw_encoder = , , + +[wmav1] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_wmav1, audio/x-wma, PCM +sw_encoder = , , + +[wmav2] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_wmav2, audio/x-wma, PCM +sw_encoder = , , + +[wmapro] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_wmapro, audio/x-wma, PCM +sw_encoder = , , diff --git a/mmfw-sysconf-sc7727s/usr/etc/mmfw_player.ini b/mmfw-sysconf-sc7727s/usr/etc/mmfw_player.ini new file mode 100644 index 0000000..b445680 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/etc/mmfw_player.ini @@ -0,0 +1,60 @@ +[general] + +disable segtrap = yes ; same effect with --gst-disable-segtrap + +; set default videosink element according to video surface type +videosink element x = xvimagesink +videosink element evas = evaspixmapsink +videosink element fake = fakesink + +video converter element = videoconvert + +audiosink element = pulsesink + +; if yes. gstreamer will not update registry +skip rescan = yes + +delay before repeat = 350 ; msec + +; comma separated list of tocken which elemnts has it in it's name will not be used +element exclude keyword = + +; comma separated list of tocken +unsupported codec keyword = divx + +async start = yes + +; parameters for initializing gstreamer +gstparam1 = --gst-debug=2 +gstparam2 = +gstparam3 = +gstparam4 = +gstparam5 = + +; generating dot file representing pipeline state +; export GST_DEBUG_DUMP_DOT_DIR= +generate dot = no + +; parameter is for only video to be determined +; which clock will be used +; if yes, system clock will be used +; apart from this, audiosink is clock provider for audio +use system clock = yes + +; allowed timeout for changing pipeline state +live state change timeout = 30 ; sec +localplayback state change timeout = 10 ; sec + +; delay in msec for sending EOS +eos delay = 150 ; msec + +[http streaming] + +httpsrc element = souphttpsrc + +; if set, use file or not use memory for buffering +http file buffer path = /opt/usr/media +http buffering limit = 99.0 ; percent +http max size bytes = 1048576 ; bytes +http buffering time = 1.2 +http timeout = 20 ; sec diff --git a/mmfw-sysconf-sc7727s/usr/etc/mmfw_player_audio_effect.ini b/mmfw-sysconf-sc7727s/usr/etc/mmfw_player_audio_effect.ini new file mode 100644 index 0000000..1394608 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/etc/mmfw_player_audio_effect.ini @@ -0,0 +1,17 @@ +[audio effect] +; name of audio effect element +audio effect element = audioeq + +; preset audio effect setting +audio effect preset = no + +; custom audio effect setting (EQ/extension) +audio effect custom = yes +audio effect custom list = 0 + +audio effect custom eq band num = 7 ; number of EQ bands +audio effect custom eq band width = 33, 90, 242, 649, 1743, 4676, 12544 ; list of each EQ band width (Hz) +audio effect custom eq band freq = 36, 98, 265, 711, 1907, 5117, 13727 ; list of each EQ band central frequency (Hz) + +audio effect custom min list = -12 ; list of minimum level value (the first element is for EQ, others for extension effect) +audio effect custom max list = 12 ; list of maximum level value (the first element is for EQ, others for extension effect) diff --git a/mmfw-sysconf-msm8x26/usr/etc/mmfw_transcode.ini b/mmfw-sysconf-sc7727s/usr/etc/mmfw_transcode.ini index 24623d1..24623d1 100644 --- a/mmfw-sysconf-msm8x26/usr/etc/mmfw_transcode.ini +++ b/mmfw-sysconf-sc7727s/usr/etc/mmfw_transcode.ini diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-aux.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-aux.conf new file mode 100644 index 0000000..db78eb4 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-aux.conf @@ -0,0 +1,62 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; For devices where an 'Aux' element exists +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 90 +name = analog-input + +[Element Capture] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +switch = off +volume = off + +[Element Line] +switch = off +volume = off + +[Element Aux] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Video] +switch = off +volume = off + +[Element Mic/Line] +switch = off +volume = off + +[Element TV Tuner] +switch = off +volume = off + +[Element FM] +switch = off +volume = off + +.include analog-input.conf.common diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-fm.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-fm.conf new file mode 100644 index 0000000..baf674a --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-fm.conf @@ -0,0 +1,62 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; For devices where an 'FM' element exists +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 70 +name = analog-input-radio + +[Element Capture] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +switch = off +volume = off + +[Element Line] +switch = off +volume = off + +[Element Aux] +switch = off +volume = off + +[Element Video] +switch = off +volume = off + +[Element Mic/Line] +switch = off +volume = off + +[Element TV Tuner] +switch = off +volume = off + +[Element FM] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +.include analog-input.conf.common diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-linein.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-linein.conf new file mode 100644 index 0000000..4be5722 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-linein.conf @@ -0,0 +1,61 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; For devices where a 'Line' element exists +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 90 + +[Element Capture] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +switch = off +volume = off + +[Element Line] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Aux] +switch = off +volume = off + +[Element Video] +switch = off +volume = off + +[Element Mic/Line] +switch = off +volume = off + +[Element TV Tuner] +switch = off +volume = off + +[Element FM] +switch = off +volume = off + +.include analog-input.conf.common diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic-line.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic-line.conf new file mode 100644 index 0000000..f7f3085 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic-line.conf @@ -0,0 +1,63 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; For devices where a 'Mic/Line' element exists +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 90 +name = analog-input + +[Element Capture] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +switch = off +volume = off + +[Element Line] +switch = off +volume = off + +[Element Aux] +switch = off +volume = off + +[Element Video] +switch = off +volume = off + +[Element Mic/Line] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element TV Tuner] +switch = off +volume = off + +[Element FM] +switch = off +volume = off + +.include analog-input.conf.common +.include analog-input-mic.conf.common diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf new file mode 100644 index 0000000..2a36f2f --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf @@ -0,0 +1,63 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; For devices where a 'Mic' element exists +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 100 +name = analog-input-microphone + +[Element Capture] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Line] +switch = off +volume = off + +[Element Aux] +switch = off +volume = off + +[Element Video] +switch = off +volume = off + +[Element Mic/Line] +switch = off +volume = off + +[Element TV Tuner] +switch = off +volume = off + +[Element FM] +switch = off +volume = off + +.include analog-input.conf.common +.include analog-input-mic.conf.common diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf.common b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf.common new file mode 100644 index 0000000..b35e7af --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf.common @@ -0,0 +1,63 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Common element for all microphone inputs +; +; See analog-output.conf.common for an explanation on the directives + +;;; 'Mic Select' + +[Element Mic Select] +enumeration = select + +[Option Mic Select:Mic1] +name = input-microphone +priority = 20 + +[Option Mic Select:Mic2] +name = input-microphone +priority = 19 + +;;; Various Boosts + +[Element Mic Boost (+20dB)] +switch = select +volume = merge + +[Option Mic Boost (+20dB):on] +name = input-boost-on + +[Option Mic Boost (+20dB):off] +name = input-boost-off + +[Element Mic Boost] +switch = select +volume = merge + +[Option Mic Boost:on] +name = input-boost-on + +[Option Mic Boost:off] +name = input-boost-off + +[Element Front Mic Boost] +switch = select + +[Option Front Mic Boost:on] +name = input-boost-on + +[Option Front Mic Boost:off] +name = input-boost-off diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-tvtuner.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-tvtuner.conf new file mode 100644 index 0000000..8531ec7 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-tvtuner.conf @@ -0,0 +1,62 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; For devices where a 'TV Tuner' element exists +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 70 +name = analog-input-video + +[Element Capture] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +switch = off +volume = off + +[Element Line] +switch = off +volume = off + +[Element Aux] +switch = off +volume = off + +[Element Video] +switch = off +volume = off + +[Element Mic/Line] +switch = off +volume = off + +[Element TV Tuner] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element FM] +switch = off +volume = off + +.include analog-input.conf.common diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-video.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-video.conf new file mode 100644 index 0000000..74c76f0 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-video.conf @@ -0,0 +1,61 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; For devices where a 'Video' element exists +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 70 + +[Element Capture] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +switch = off +volume = off + +[Element Line] +switch = off +volume = off + +[Element Aux] +switch = off +volume = off + +[Element Video] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic/Line] +switch = off +volume = off + +[Element TV Tuner] +switch = off +volume = off + +[Element FM] +switch = off +volume = off + +.include analog-input.conf.common diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf new file mode 100644 index 0000000..5055f90 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf @@ -0,0 +1,54 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; A fallback for devices that lack seperate Mic/Line/Aux/Video/TV +; Tuner/FM elements +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 100 + +[Element Capture] +required = volume +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +required-absent = any + +[Element Line] +required-absent = any + +[Element Aux] +required-absent = any + +[Element Video] +required-absent = any + +[Element Mic/Line] +required-absent = any + +[Element TV Tuner] +required-absent = any + +[Element FM] +required-absent = any + +.include analog-input.conf.common +.include analog-input-mic.conf.common diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf.common b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf.common new file mode 100644 index 0000000..951e11f --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf.common @@ -0,0 +1,294 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Mixer path for PulseAudio's ALSA backend, common elements for all +; input paths. If multiple options by the same id are discovered they +; will be suffixed with a number to distuingish them, in the same +; order they appear here. +; +; Source selection should use the following names: +; +; input -- If we don't know the exact kind of input +; input-microphone +; input-microphone-internal +; input-microphone-external +; input-linein +; input-video +; input-radio +; input-docking-microphone +; input-docking-linein +; input-docking +; +; We explicitly don't want to wrap the following sources: +; +; CD +; Synth/MIDI +; Phone +; Mix +; Digital/SPDIF +; Master +; PC Speaker +; +; See analog-output.conf.common for an explanation on the directives + +;;; 'Input Source Select' + +[Element Input Source Select] +enumeration = select + +[Option Input Source Select:Input1] +name = input +priority = 10 + +[Option Input Source Select:Input2] +name = input +priority = 5 + +;;; 'Input Source' + +[Element Input Source] +enumeration = select + +[Option Input Source:Mic] +name = input-microphone +priority = 20 + +[Option Input Source:Microphone] +name = input-microphone +priority = 20 + +[Option Input Source:Front Mic] +name = input-microphone +priority = 19 + +[Option Input Source:Front Microphone] +name = input-microphone +priority = 19 + +[Option Input Source:Internal Mic] +name = input-microphone +priority = 19 + +[Option Input Source:Line] +name = input-linein +priority = 18 + +[Option Input Source:Line-In] +name = input-linein +priority = 18 + +[Option Input Source:Line In] +name = input-linein +priority = 18 + +[Option Input Source:Docking-Station] +name = input-docking +priority = 17 + +[Option Input Source:AUX IN] +name = input +priority = 10 + +;;; 'Capture Source' + +[Element Capture Source] +enumeration = select + +[Option Capture Source:TV Tuner] +name = input-video + +[Option Capture Source:FM] +name = input-radio + +[Option Capture Source:Mic/Line] +name = input + +[Option Capture Source:Line/Mic] +name = input + +[Option Capture Source:Mic] +name = input-microphone + +[Option Capture Source:Microphone] +name = input-microphone + +[Option Capture Source:Int Mic] +name = input-microphone-internal + +[Option Capture Source:Int DMic] +name = input-microphone-internal + +[Option Capture Source:Internal Mic] +name = input-microphone-internal + +[Option Capture Source:iMic] +name = input-microphone-internal + +[Option Capture Source:i-Mic] +name = input-microphone-internal + +[Option Capture Source:Internal Microphone] +name = input-microphone-internal + +[Option Capture Source:Front Mic] +name = input-microphone + +[Option Capture Source:Front Microphone] +name = input-microphone + +[Option Capture Source:Rear Mic] +name = input-microphone + +[Option Capture Source:Mic1] +name = input-microphone + +[Option Capture Source:Mic2] +name = input-microphone + +[Option Capture Source:D-Mic] +name = input-microphone + +[Option Capture Source:IntMic] +name = input-microphone-internal + +[Option Capture Source:ExtMic] +name = input-microphone-external + +[Option Capture Source:Ext Mic] +name = input-microphone-external + +[Option Capture Source:E-Mic] +name = input-microphone-external + +[Option Capture Source:e-Mic] +name = input-microphone-external + +[Option Capture Source:LineIn] +name = input-linein + +[Option Capture Source:Analog] +name = input + +[Option Capture Source:Line] +name = input-linein + +[Option Capture Source:Line-In] +name = input-linein + +[Option Capture Source:Line In] +name = input-linein + +[Option Capture Source:Video] +name = input-video + +[Option Capture Source:Aux] +name = input + +[Option Capture Source:Aux0] +name = input + +[Option Capture Source:Aux1] +name = input + +[Option Capture Source:Aux2] +name = input + +[Option Capture Source:Aux3] +name = input + +[Option Capture Source:AUX IN] +name = input + +[Option Capture Source:Aux In] +name = input + +[Option Capture Source:AOUT] +name = input + +[Option Capture Source:AUX] +name = input + +[Option Capture Source:Cam Mic] +name = input-microphone + +[Option Capture Source:Digital Mic] +name = input-microphone + +[Option Capture Source:Digital Mic 1] +name = input-microphone + +[Option Capture Source:Digital Mic 2] +name = input-microphone + +[Option Capture Source:Analog Inputs] +name = input + +[Option Capture Source:Unknown1] +name = input + +[Option Capture Source:Unknown2] +name = input + +[Option Capture Source:Docking-Station] +name = input-docking + +[Option Capture Source:Dock Mic] +name = input-docking-microphone + +;;; 'Mic Jack Mode' + +[Element Mic Jack Mode] +enumeration = select + +[Option Mic Jack Mode:Mic In] +name = input-microphone + +[Option Mic Jack Mode:Line In] +name = input-linein + +;;; 'Digital Input Source' + +[Element Digital Input Source] +enumeration = select + +[Option Digital Input Source:Analog Inputs] +name = input + +[Option Digital Input Source:Digital Mic 1] +name = input-microphone + +[Option Digital Input Source:Digital Mic 2] +name = input-microphone + +;;; Various Boosts + +[Element Capture Boost] +switch = select + +[Option Capture Boost:on] +name = input-boost-on + +[Option Capture Boost:off] +name = input-boost-off + +[Element Auto Gain Control] +switch = select + +[Option Auto Gain Control:on] +name = input-agc-on + +[Option Auto Gain Control:off] +name = input-agc-off diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones-2.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones-2.conf new file mode 100644 index 0000000..f2fd31c --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones-2.conf @@ -0,0 +1,82 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Path for mixers that have a 'Headphone2' control +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 89 + +[Element Hardware Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master Mono] +switch = off +volume = off + +; This profile path is intended to control the second headphones, not +; the first headphones. But it should not hurt if we leave the +; headphone jack enabled nonetheless. +[Element Headphone] +switch = mute +volume = zero + +[Element Headphone2] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Speaker] +switch = off +volume = off + +[Element Front] +switch = off +volume = off + +[Element Rear] +switch = off +volume = off + +[Element Surround] +switch = off +volume = off + +[Element Side] +switch = off +volume = off + +[Element Center] +switch = off +volume = off + +[Element LFE] +switch = off +volume = off + +.include analog-output.conf.common diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf new file mode 100644 index 0000000..2131cfe --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf @@ -0,0 +1,82 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Path for mixers that have a 'Headphone' control +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 90 + +[Element Hardware Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master Mono] +switch = off +volume = off + +[Element Headphone] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +; This profile path is intended to control the first headphones, not +; the second headphones. But it should not hurt if we leave the second +; headphone jack enabled nonetheless. +[Element Headphone2] +switch = mute +volume = zero + +[Element Speaker] +switch = off +volume = off + +[Element Front] +switch = off +volume = off + +[Element Rear] +switch = off +volume = off + +[Element Surround] +switch = off +volume = off + +[Element Side] +switch = off +volume = off + +[Element Center] +switch = off +volume = off + +[Element LFE] +switch = off +volume = off + +.include analog-output.conf.common diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-lfe-on-mono.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-lfe-on-mono.conf new file mode 100644 index 0000000..0a43e27 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-lfe-on-mono.conf @@ -0,0 +1,85 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Intended for usage in laptops that have a seperate LFE speaker +; connected to the Master mono connector +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 40 + +[Element Hardware Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master] +switch = mute +volume = merge +override-map.1 = all-no-lfe +override-map.2 = all-left,all-right + +[Element Master Mono] +required = any +switch = mute +volume = merge +override-map.1 = lfe +override-map.2 = lfe,lfe + +; This profile path is intended to control the speaker, not the +; headphones. But it should not hurt if we leave the headphone jack +; enabled nonetheless. +[Element Headphone] +switch = mute +volume = zero + +[Element Headphone2] +switch = mute +volume = zero + +[Element Speaker] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Front] +switch = off +volume = off + +[Element Rear] +switch = off +volume = off + +[Element Surround] +switch = off +volume = off + +[Element Side] +switch = off +volume = off + +[Element Center] +switch = off +volume = off + +[Element LFE] +switch = off +volume = off + +.include analog-output.conf.common diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-mono.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-mono.conf new file mode 100644 index 0000000..542edc4 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-mono.conf @@ -0,0 +1,82 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Intended for usage on boards that have a seperate Mono output plug. +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 50 + +[Element Hardware Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master] +switch = off +volume = off + +[Element Master Mono] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +; This profile path is intended to control the speaker, not the +; headphones. But it should not hurt if we leave the headphone jack +; enabled nonetheless. +[Element Headphone] +switch = mute +volume = zero + +[Element Headphone2] +switch = mute +volume = zero + +[Element Speaker] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Front] +switch = off +volume = off + +[Element Rear] +switch = off +volume = off + +[Element Surround] +switch = off +volume = off + +[Element Side] +switch = off +volume = off + +[Element Center] +switch = off +volume = off + +[Element LFE] +switch = off +volume = off + +.include analog-output.conf.common diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf new file mode 100644 index 0000000..aea7853 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf @@ -0,0 +1,94 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Path for mixers that have a 'Speaker' control +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 100 + +[Element Hardware Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master Mono] +switch = off +volume = off + +; This profile path is intended to control the speaker, not the +; headphones. But it should not hurt if we leave the headphone jack +; enabled nonetheless. +[Element Headphone] +switch = mute +volume = zero + +[Element Headphone2] +switch = mute +volume = zero + +[Element Speaker] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Front] +switch = mute +volume = merge +override-map.1 = all-front +override-map.2 = front-left,front-right + +[Element Rear] +switch = mute +volume = merge +override-map.1 = all-rear +override-map.2 = rear-left,rear-right + +[Element Surround] +switch = mute +volume = merge +override-map.1 = all-rear +override-map.2 = rear-left,rear-right + +[Element Side] +switch = mute +volume = merge +override-map.1 = all-side +override-map.2 = side-left,side-right + +[Element Center] +switch = mute +volume = merge +override-map.1 = all-center +override-map.2 = all-center,all-center + +[Element LFE] +switch = mute +volume = merge +override-map.1 = lfe +override-map.2 = lfe,lfe + +.include analog-output.conf.common diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf new file mode 100644 index 0000000..fc30800 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf @@ -0,0 +1,92 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Intended for the 'default' output. Note that a-o-speaker.conf has a +; higher priority than this +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 99 + +[Element Hardware Master] +switch = ignore +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master] +switch = ignore +volume = ignore +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master Mono] +switch = off +volume = off + +; This profile path is intended to control the default output, not the +; headphones. But it should not hurt if we leave the headphone jack +; enabled nonetheless. +[Element Headphone] +switch = ignore +volume = zero + +[Element Headphone2] +switch = ignore +volume = zero + +[Element Speaker] +switch = ignore +volume = off + +[Element Front] +switch = ignore +volume = merge +override-map.1 = all-front +override-map.2 = front-left,front-right + +[Element Rear] +switch = ignore +volume = merge +override-map.1 = all-rear +override-map.2 = rear-left,rear-right + +[Element Surround] +switch = ignore +volume = merge +override-map.1 = all-rear +override-map.2 = rear-left,rear-right + +[Element Side] +switch = ignore +volume = merge +override-map.1 = all-side +override-map.2 = side-left,side-right + +[Element Center] +switch = ignore +volume = merge +override-map.1 = all-center +override-map.2 = all-center,all-center + +[Element LFE] +switch = ignore +volume = merge +override-map.1 = lfe +override-map.2 = lfe,lfe + +.include analog-output.conf.common diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common index 98591ab..98591ab 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf new file mode 100644 index 0000000..9838138 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf @@ -0,0 +1,144 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Default profile definitions for the ALSA backend of PulseAudio. This +; is used as fallback for all cards that have no special mapping +; assigned. (and should be good enough for the vast majority of +; cards). Use the udev property PULSE_PROFILE_SET to assign a +; different profile set than this one to a device. So what is this +; about? Simply, what we do here is map ALSA devices to how they are +; exposed in PA. We say which ALSA device string to use to open a +; device, which channel mapping to use then, and which mixer path to +; use. This is encoded in a 'mapping'. Multiple of these mappings can +; be bound together in a 'profile' which is then directly exposed in +; the UI as a card profile. Each mapping assigned to a profile will +; result in one sink/source to be created if the profile is selected +; for the card. + +; [General] +; auto-profiles = no | yes # Instead of defining all profiles manually, autogenerate +; # them by combining every input mapping with every output mapping. +; +; [Mapping id] +; device-strings = ... # ALSA device string. %f will be replaced by the card identifier. +; channel-map = ... # Channel mapping to use for this device +; description = ... +; paths-input = ... # A list of mixer paths to use. Every path in this list will be probed. +; # If multiple are found to be working they will be available as device ports +; paths-output = ... +; element-input = ... # Instead of configuring a full mixer path simply configure a single +; # mixer element for volume/mute handling +; element-output = ... +; priority = ... +; direction = any | input | output # Only useful for? +; +; [Profile id] +; input-mappings = ... # Lists mappings for sources on this profile, those mapping must be +; # defined in this file too +; output-mappings = ... # Lists mappings for sinks on this profile, those mappings must be +; # defined in this file too +; description = ... +; priority = ... # Numeric value to deduce priority for this profile +; skip-probe = no | yes # Skip probing for availability? If this is yes then this profile +; # will be assumed as working without probing. Makes initialization +; # a bit faster but only works if the card is really known well. + +[General] +auto-profiles = yes + +[Mapping analog-mono] +device-strings = hw:0 +channel-map = mono +paths-output = analog-output analog-output-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono analog-output-lfe-on-mono +paths-input = analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line +priority = 1 + +[Mapping analog-stereo] +device-strings = front:%f hw:0 +channel-map = left,right +paths-output = analog-output analog-output-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono analog-output-lfe-on-mono +paths-input = analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line +priority = 10 + +[Mapping analog-surround-40] +device-strings = surround40:%f +channel-map = front-left,front-right,rear-left,rear-right +paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono +priority = 7 +direction = output + +[Mapping analog-surround-41] +device-strings = surround41:%f +channel-map = front-left,front-right,rear-left,rear-right,lfe +paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono +priority = 8 +direction = output + +[Mapping analog-surround-50] +device-strings = surround50:%f +channel-map = front-left,front-right,rear-left,rear-right,front-center +paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono +priority = 7 +direction = output + +[Mapping analog-surround-51] +device-strings = surround51:%f +channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe +paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono +priority = 8 +direction = output + +[Mapping analog-surround-71] +device-strings = surround71:%f +channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right +description = Analog Surround 7.1 +paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono +priority = 7 +direction = output + +[Mapping iec958-stereo] +device-strings = iec958:%f +channel-map = left,right +priority = 5 + +[Mapping iec958-surround-40] +device-strings = iec958:%f +channel-map = front-left,front-right,rear-left,rear-right +priority = 1 + +[Mapping iec958-ac3-surround-40] +device-strings = a52:%f +channel-map = front-left,front-right,rear-left,rear-right +priority = 2 +direction = output + +[Mapping iec958-ac3-surround-51] +device-strings = a52:%f +channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe +priority = 3 +direction = output + +[Mapping hdmi-stereo] +device-strings = hdmi:%f +channel-map = left,right +priority = 4 +direction = output + +; An example for defining multiple-sink profiles +#[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo] +#description = Foobar +#output-mappings = analog-stereo iec958-stereo +#input-mappings = analog-stereo diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio4dj.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio4dj.conf new file mode 100644 index 0000000..2b83530 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio4dj.conf @@ -0,0 +1,91 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Native Instruments Audio 4 DJ +; +; This card has two stereo pairs of input and two stereo pairs of +; output, named channels A and B. Channel B has an additional +; Headphone connector. +; +; We knowingly only define a subset of the theoretically possible +; mapping combinations as profiles here. +; +; See default.conf for an explanation on the directives used here. + +[General] +auto-profiles = no + +[Mapping analog-stereo-a] +description = Analog Stereo Channel A +device-strings = hw:%f,0,0 +channel-map = left,right + +[Mapping analog-stereo-b-output] +description = Analog Stereo Channel B (Headphones) +device-strings = hw:%f,0,1 +channel-map = left,right +direction = output + +[Mapping analog-stereo-b-input] +description = Analog Stereo Channel B +device-strings = hw:%f,0,1 +channel-map = left,right +direction = input + +[Profile output:analog-stereo-all+input:analog-stereo-all] +description = Analog Stereo Duplex Channels A, B (Headphones) +output-mappings = analog-stereo-a analog-stereo-b-output +input-mappings = analog-stereo-a analog-stereo-b-input +priority = 100 +skip-probe = yes + +[Profile output:analog-stereo-a+input:analog-stereo-a] +description = Analog Stereo Duplex Channel A +output-mappings = analog-stereo-a +input-mappings = analog-stereo-a +priority = 40 +skip-probe = yes + +[Profile output:analog-stereo-b+input:analog-stereo-b] +description = Analog Stereo Duplex Channel B (Headphones) +output-mappings = analog-stereo-b-output +input-mappings = analog-stereo-b-input +priority = 50 +skip-probe = yes + +[Profile output:analog-stereo-a] +description = Analog Stereo Output Channel A +output-mappings = analog-stereo-a +priority = 5 +skip-probe = yes + +[Profile output:analog-stereo-b] +description = Analog Stereo Output Channel B (Headphones) +output-mappings = analog-stereo-b-output +priority = 6 +skip-probe = yes + +[Profile input:analog-stereo-a] +description = Analog Stereo Input Channel A +input-mappings = analog-stereo-a +priority = 2 +skip-probe = yes + +[Profile input:analog-stereo-b] +description = Analog Stereo Input Channel B +input-mappings = analog-stereo-b-input +priority = 1 +skip-probe = yes diff --git a/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio8dj.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio8dj.conf new file mode 100644 index 0000000..3fe3cc5 --- /dev/null +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio8dj.conf @@ -0,0 +1,162 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Native Instruments Audio 8 DJ +; +; This card has four stereo pairs of input and four stereo pairs of +; output, named channels A to D. Channel C has an additional Mic/Line +; connector, channel D an additional Headphone connector. +; +; We knowingly only define a subset of the theoretically possible +; mapping combinations as profiles here. +; +; See default.conf for an explanation on the directives used here. + +[General] +auto-profiles = no + +[Mapping analog-stereo-a] +description = Analog Stereo Channel A +device-strings = hw:%f,0,0 +channel-map = left,right + +[Mapping analog-stereo-b] +description = Analog Stereo Channel B +device-strings = hw:%f,0,1 +channel-map = left,right + +# Since we want to set a different description for channel C's/D's input +# and output we define two seperate mappings for them +[Mapping analog-stereo-c-output] +description = Analog Stereo Channel C +device-strings = hw:%f,0,2 +channel-map = left,right +direction = output + +[Mapping analog-stereo-c-input] +description = Analog Stereo Channel C (Line/Mic) +device-strings = hw:%f,0,2 +channel-map = left,right +direction = input + +[Mapping analog-stereo-d-output] +description = Analog Stereo Channel D (Headphones) +device-strings = hw:%f,0,3 +channel-map = left,right +direction = output + +[Mapping analog-stereo-d-input] +description = Analog Stereo Channel D +device-strings = hw:%f,0,3 +channel-map = left,right +direction = input + +[Profile output:analog-stereo-all+input:analog-stereo-all] +description = Analog Stereo Duplex Channels A, B, C (Line/Mic), D (Headphones) +output-mappings = analog-stereo-a analog-stereo-b analog-stereo-c-output analog-stereo-d-output +input-mappings = analog-stereo-a analog-stereo-b analog-stereo-c-input analog-stereo-d-input +priority = 100 +skip-probe = yes + +[Profile output:analog-stereo-d+input:analog-stereo-c] +description = Analog Stereo Channel D (Headphones) Output, Channel C (Line/Mic) Input +output-mappings = analog-stereo-d-output +input-mappings = analog-stereo-c-input +priority = 90 +skip-probe = yes + +[Profile output:analog-stereo-c-d+input:analog-stereo-c-d] +description = Analog Stereo Duplex Channels C (Line/Mic), D (Line/Mic) +output-mappings = analog-stereo-c-output analog-stereo-d-output +input-mappings = analog-stereo-c-input analog-stereo-d-input +priority = 80 +skip-probe = yes + +[Profile output:analog-stereo-a+input:analog-stereo-a] +description = Analog Stereo Duplex Channel A +output-mappings = analog-stereo-a +input-mappings = analog-stereo-a +priority = 50 +skip-probe = yes + +[Profile output:analog-stereo-b+input:analog-stereo-b] +description = Analog Stereo Duplex Channel B +output-mappings = analog-stereo-b +input-mappings = analog-stereo-b +priority = 40 +skip-probe = yes + +[Profile output:analog-stereo-c+input:analog-stereo-c] +description = Analog Stereo Duplex Channel C (Line/Mic) +output-mappings = analog-stereo-c-output +input-mappings = analog-stereo-c-input +priority = 60 +skip-probe = yes + +[Profile output:analog-stereo-d+input:analog-stereo-d] +description = Analog Stereo Duplex Channel D (Headphones) +output-mappings = analog-stereo-d-output +input-mappings = analog-stereo-d-input +priority = 70 +skip-probe = yes + +[Profile output:analog-stereo-a] +description = Analog Stereo Output Channel A +output-mappings = analog-stereo-a +priority = 6 +skip-probe = yes + +[Profile output:analog-stereo-b] +description = Analog Stereo Output Channel B +output-mappings = analog-stereo-b +priority = 5 +skip-probe = yes + +[Profile output:analog-stereo-c] +description = Analog Stereo Output Channel C +output-mappings = analog-stereo-c-output +priority = 7 +skip-probe = yes + +[Profile output:analog-stereo-d] +description = Analog Stereo Output Channel D (Headphones) +output-mappings = analog-stereo-d-output +priority = 8 +skip-probe = yes + +[Profile input:analog-stereo-a] +description = Analog Stereo Input Channel A +input-mappings = analog-stereo-a +priority = 2 +skip-probe = yes + +[Profile input:analog-stereo-b] +description = Analog Stereo Input Channel B +input-mappings = analog-stereo-b +priority = 1 +skip-probe = yes + +[Profile input:analog-stereo-c] +description = Analog Stereo Input Channel C (Line/Mic) +input-mappings = analog-stereo-c-input +priority = 4 +skip-probe = yes + +[Profile input:analog-stereo-d] +description = Analog Stereo Input Channel D +input-mappings = analog-stereo-d-input +priority = 3 +skip-probe = yes diff --git a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/profile-sets/tizen_usb.conf b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/profile-sets/tizen_usb.conf index 31bc6a6..31bc6a6 100644 --- a/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/profile-sets/tizen_usb.conf +++ b/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/profile-sets/tizen_usb.conf diff --git a/mmfw-sysconf-sc7730s.manifest b/mmfw-sysconf-sc7730s.manifest new file mode 100644 index 0000000..a76fdba --- /dev/null +++ b/mmfw-sysconf-sc7730s.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_" /> + </request> +</manifest> diff --git a/mmfw-sysconf-sc7730s/etc/asound.conf b/mmfw-sysconf-sc7730s/etc/asound.conf new file mode 100644 index 0000000..401580e --- /dev/null +++ b/mmfw-sysconf-sc7730s/etc/asound.conf @@ -0,0 +1,24 @@ +# default sound configuration for sprd6820 + +pcm. !default { + type hw + card sprdphone + device 0 +} + +ctl. !default { + type hw + card sprdphone +} + +ctl. sprdphone { + type hw + card sprdphone +} + +pcm. AIF2{ + type hw + card 0 + device 1 + format S16_LE +} diff --git a/mmfw-sysconf-sc7730s/etc/profile.d/mmf.sh b/mmfw-sysconf-sc7730s/etc/profile.d/mmf.sh new file mode 100755 index 0000000..1994b25 --- /dev/null +++ b/mmfw-sysconf-sc7730s/etc/profile.d/mmf.sh @@ -0,0 +1,3 @@ +export GST_DEBUG=2 +export GST_REGISTRY=/home/app/.cache/gstreamer-1.0/registry.bin +export PULSE_CLIENTCONFIG=/etc/pulse/client.conf diff --git a/mmfw-sysconf-sc7730s/etc/pulse/client.conf b/mmfw-sysconf-sc7730s/etc/pulse/client.conf new file mode 100644 index 0000000..afd70d9 --- /dev/null +++ b/mmfw-sysconf-sc7730s/etc/pulse/client.conf @@ -0,0 +1,37 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA. + +## Configuration file for PulseAudio clients. See pulse-client.conf(5) for +## more information. Default values are commented out. Use either ; or # for +## commenting. + +; default-sink = +; default-source = +; default-server = +; default-dbus-server = + +autospawn = no +; daemon-binary = /usr/bin/pulseaudio +; extra-arguments = --log-target=syslog + +; cookie-file = + +; enable-shm = yes +shm-size-bytes = 4194304 # setting this 0 will use the system-default, usually 64 MiB + +; auto-connect-localhost = no +; auto-connect-display = no diff --git a/mmfw-sysconf-sc7730s/etc/pulse/daemon.conf b/mmfw-sysconf-sc7730s/etc/pulse/daemon.conf new file mode 100644 index 0000000..7ceb26f --- /dev/null +++ b/mmfw-sysconf-sc7730s/etc/pulse/daemon.conf @@ -0,0 +1,83 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA. + +## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for +## more information. Default values are commented out. Use either ; or # for +## commenting. + +daemonize = yes +; fail = yes +; allow-module-loading = yes +; allow-exit = yes +; use-pid-file = yes +system-instance = yes +; local-server-type = user +; enable-shm = yes +; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB +; lock-memory = no +; cpu-limit = no + +; high-priority = yes +; nice-level = -11 + +realtime-scheduling = yes +realtime-priority = 5 + +; exit-idle-time = 20 +; scache-idle-time = 20 + +; dl-search-path = (depends on architecture) + +; load-default-script-file = yes +; default-script-file = /etc/pulse/default.pa + +log-target = dlog-color +log-level = verbose +; log-meta = no +; log-time = no +; log-backtrace = 0 + +resample-method = speex-fixed-3 +; enable-remixing = yes +; enable-lfe-remixing = no + +flat-volumes = no + +; rlimit-fsize = -1 +; rlimit-data = -1 +; rlimit-stack = -1 +; rlimit-core = -1 +; rlimit-as = -1 +; rlimit-rss = -1 +; rlimit-nproc = -1 +; rlimit-nofile = 256 +; rlimit-memlock = -1 +; rlimit-locks = -1 +; rlimit-sigpending = -1 +; rlimit-msgqueue = -1 +; rlimit-nice = 31 +; rlimit-rtprio = 9 +; rlimit-rttime = 1000000 + +; default-sample-format = s16le +; default-sample-rate = 44100 +alternate-sample-rate = 44100 +; default-sample-channels = 2 +; default-channel-map = front-left,front-right + +; default-fragments = 4 +; default-fragment-size-msec = 25 diff --git a/mmfw-sysconf-sc7730s/etc/pulse/default.pa b/mmfw-sysconf-sc7730s/etc/pulse/default.pa new file mode 100644 index 0000000..cac0b9e --- /dev/null +++ b/mmfw-sysconf-sc7730s/etc/pulse/default.pa @@ -0,0 +1,151 @@ +#!/usr/bin/pulseaudio -nF +# +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +# This startup script is used only if PulseAudio is started per-user +# (i.e. not in system mode) + +.nofail + +### Load something into the sample cache +#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav +#load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav +#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav +#load-sample-lazy pulse-access /usr/share/sounds/generic.wav + +.fail + +### Automatically restore the volume of streams and devices +load-module module-device-restore +load-module module-stream-restore +load-module module-card-restore + +### Automatically augment property information from .desktop files +### stored in /usr/share/application +load-module module-augment-properties + +### Load audio drivers statically +### (it's probably better to not load these drivers manually, but instead +### use module-udev-detect -- see below -- for doing this automatically) +#load-module module-alsa-sink +#load-module module-alsa-source device=hw:1,0 +#load-module module-null-sink +#load-module module-pipe-sink + +### Automatically load driver modules depending on the hardware available +.ifexists module-udev-detect.so +load-module module-udev-detect +.else +### Use the static hardware detection module (for systems that lack udev support) +load-module module-detect +.endif + +### Automatically connect sink and source if JACK server is present +.ifexists module-jackdbus-detect.so +.nofail +load-module module-jackdbus-detect channels=2 +.fail +.endif + +### Automatically load driver modules for Bluetooth hardware +.ifexists module-bluetooth-policy.so +load-module module-bluetooth-policy +.endif + +.ifexists module-bluetooth-discover.so +load-module module-bluetooth-discover +.endif + +### Load several protocols +.ifexists module-esound-protocol-unix.so +load-module module-esound-protocol-unix +.endif +load-module module-native-protocol-unix + +### Network access (may be configured with paprefs, so leave this commented +### here if you plan to use paprefs) +#load-module module-esound-protocol-tcp +#load-module module-native-protocol-tcp + +### Load the RTP receiver module (also configured via paprefs, see above) +#load-module module-rtp-recv + +### Load the RTP sender module (also configured via paprefs, see above) +#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'" +#load-module module-rtp-send source=rtp.monitor + +### Load additional modules from GConf settings. This can be configured with the paprefs tool. +### Please keep in mind that the modules configured by paprefs might conflict with manually +### loaded modules. +.ifexists module-gconf.so +.nofail +load-module module-gconf +.fail +.endif + +### Automatically restore the default sink/source when changed by the user +### during runtime +### NOTE: This should be loaded as early as possible so that subsequent modules +### that look up the default sink/source get the right value +load-module module-default-device-restore + +### Automatically move streams to the default sink if the sink they are +### connected to dies, similar for sources +load-module module-rescue-streams + +### Make sure we always have a sink around, even if it is a null sink. +load-module module-always-sink + +### Honour intended role device property +load-module module-intended-roles + +### Automatically suspend sinks/sources that become idle for too long +load-module module-suspend-on-idle + +### If autoexit on idle is enabled we want to make sure we only quit +### when no local session needs us anymore. +.ifexists module-console-kit.so +load-module module-console-kit +.endif +.ifexists module-systemd-login.so +load-module module-systemd-login +.endif + +### Enable positioned event sounds +load-module module-position-event-sounds + +### Cork music/video streams when a phone stream is active +load-module module-role-cork + +### Modules to allow autoloading of filters (such as echo cancellation) +### on demand. module-filter-heuristics tries to determine what filters +### make sense, and module-filter-apply does the heavy-lifting of +### loading modules and rerouting streams. +load-module module-filter-heuristics +load-module module-filter-apply + +### Load DBus protocol +.ifexists module-dbus-protocol.so +load-module module-dbus-protocol +.endif + + +load-module module-switch-on-port-available + +### Make some devices default +#set-default-sink output +#set-default-source input diff --git a/mmfw-sysconf-sc7730s/etc/pulse/system.pa b/mmfw-sysconf-sc7730s/etc/pulse/system.pa new file mode 100644 index 0000000..8bee9d1 --- /dev/null +++ b/mmfw-sysconf-sc7730s/etc/pulse/system.pa @@ -0,0 +1,72 @@ +#!/usr/bin/pulseaudio -nF +# +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +# This startup script is used only if PulseAudio is started in system +# mode. + +### Custom policy module to route between bt<=speaker +load-module module-policy + +### Stream Manager module +load-module module-stream-mgr ipc_type=pipe +load-module module-role-ducking global=1 volume=0 + +load-module module-alsa-sink sink_name=alsa_output.0.analog-stereo device=hw:sprdphone,0 fragment_size=8192 +load-module module-alsa-source source_name=alsa_input.0.analog-stereo device=hw:sprdphone,0 fragment_size=8192 + +### Automatically load driver modules depending on the hardware available +.ifexists module-udev-detect.so +load-module module-udev-detect +.endif + +### Load several protocols +load-module module-native-protocol-unix + +load-module module-bluetooth-policy +load-module module-bluetooth-discover + +### Automatically restore the volume of streams and devices +#load-module module-stream-restore +#load-module module-device-restore + +### Automatically restore the default sink/source when changed by the user +### during runtime +### NOTE: This should be loaded as early as possible so that subsequent modules +### that look up the default sink/source get the right value +load-module module-default-device-restore + +.ifexists module-dbus-protocol.so +### If you want to allow TCP connections, set access to "remote" or "local,remote". +load-module module-dbus-protocol access=local +.endif + +### Automatically move streams to the default sink if the sink they are +### connected to dies, similar for sources +load-module module-rescue-streams + +### Make sure we always have a sink around, even if it is a null sink. +load-module module-always-sink + +### Automatically suspend sinks/sources that become idle for too long +load-module module-suspend-on-idle timeout=1 + +load-module module-null-sink +load-module module-null-source + +load-sample camera-shutter /usr/share/sounds/mm-camcorder/capture_shutter_02.wav +load-sample recording-stop /usr/share/sounds/mm-camcorder/recording_stop_01.ogg diff --git a/mmfw-sysconf-sc7730s/opt/system/mmfw_audio_pcm_dump.ini b/mmfw-sysconf-sc7730s/opt/system/mmfw_audio_pcm_dump.ini new file mode 100644 index 0000000..1a2ebae --- /dev/null +++ b/mmfw-sysconf-sc7730s/opt/system/mmfw_audio_pcm_dump.ini @@ -0,0 +1,11 @@ + +[pcm_dump] +codec = n +gst_filter = n +sec_filter = n +ap_out = n +ap_in = n +sec_record = n +ap_out_stream = n +ap_in_stream = n + diff --git a/mmfw-sysconf-sc7730s/usr/etc/audio_hw.xml b/mmfw-sysconf-sc7730s/usr/etc/audio_hw.xml new file mode 100644 index 0000000..e6d43ae --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/etc/audio_hw.xml @@ -0,0 +1,51 @@ +<!-- SPRD audio params configuration file,include cp,mocor,pcm config --> +<audio device="sc8830-audio"> +<!-- the profile --> +<modem num="2"> + <cp name="w" pipe="/dev/spipe_w6" vbchannel="0" /> + <cp name="t" pipe="/dev/spipe_td6" vbchannel="1" /> +</modem> + +<voip modem="t" pipe="/dev/spipe_td4" vbchannel="1" enable="1" /> +<voip modem="w" pipe="/dev/spipe_w4" vbchannel="0" enable="1" /> + +<i2s_for_btcall index="0" + switch="1" + dst="external" + cp0_ctl_file="/proc/pin_switch/iis0_sys_sel/cp0_iis0" + cp1_ctl_file="/proc/pin_switch/iis0_sys_sel/cp1_iis0" + cp2_ctl_file="/proc/pin_switch/iis0_sys_sel/cp2_iis0" + ap_ctl_file="/proc/pin_switch/iis0_sys_sel/ap_iis0" + cp0_bt_ctl_file="/proc/pin_switch/bt_iis_sys_sel/cp0_iis0" + cp1_bt_ctl_file="/proc/pin_switch/bt_iis_sys_sel/cp1_iis0" + cp2_bt_ctl_file="/proc/pin_switch/bt_iis_sys_sel/cp2_iis0" + ap_bt_ctl_file="/proc/pin_switch/bt_iis_sys_sel/ap_iis0" + bt_con_eb_file="/proc/pin_switch/bt_iis_con_eb" +/> + +<i2s_for_extspeaker index="1" switch="0" dst="external" cp0_ctl_file="/d/pin_switch/iis-1" cp1_ctl_file="/d/pin_switch/iis-1" cp2_ctl_file="/d/pin_switch/iis-1" ap_ctl_file="/d/pin_switch/iis-1" /> + +<audiomode num="4"> + <item name="Headset" index="0" /> + <item name="Headfree" index="1" /> + <item name="Handset" index="2" /> + <item name="Handsfree" index="3" /> +</audiomode> + +<debug enable="1"> +<debuginfo sleepdeltatimegate="2000" /> +<debuginfo pcmwritetimegate="200000" /> +<debuginfo lastthiswritetimegate="200000" /> +</debug> + +<dumpmusic num="16" dump_switch = "0x0" dump_path="/data/local/media/" total_switch="ON"> + <dump_play index="0" item_name ="music.dump0" dump_file_name ="dump0.pcm" switch="0" /> + <dump_play index="1" item_name ="music.dump1" dump_file_name ="dump1.pcm" switch="0" /> + + <dump_record index="8" item_name ="record.dump0" dump_file_name ="dump_r0.pcm" switch="0" /> + <dump_record index="9" item_name ="record.dump1" dump_file_name ="dump_r1.pcm" switch="0" /> + +</dumpmusic> +</audio> + + diff --git a/mmfw-sysconf-sc7730s/usr/etc/codec_pga.xml b/mmfw-sysconf-sc7730s/usr/etc/codec_pga.xml new file mode 100644 index 0000000..f3d0d82 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/etc/codec_pga.xml @@ -0,0 +1,285 @@ +<!-- SPRD-V2 CODEC PGA configuration file --> +<codec name="sprd-codec"> + +<!-- the profile --> +<profile name="speaker-l"> + <pga name="SPKL Playback Volume" bit="0" /> + <pga name="DACL Playback Volume" bit="8" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="speaker-r"> + <pga name="SPKR Playback Volume" bit="0" /> + <pga name="DACR Playback Volume" bit="8" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="headphone-l"> + <pga name="HPL Playback Volume" bit="0" /> + <pga name="DACL Playback Volume" bit="8" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="headphone-r"> + <pga name="HPR Playback Volume" bit="0" /> + <pga name="DACR Playback Volume" bit="8" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="headphone-spk-l"> + <pga name="SPKL Playback Volume" bit="0" /> + <pga name="HPL Playback Volume" bit="4" /> + <pga name="DACL Playback Volume" bit="8" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="headphone-spk-r"> + <pga name="SPKR Playback Volume" bit="0" /> + <pga name="HPR Playback Volume" bit="4" /> + <pga name="DACR Playback Volume" bit="8" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="earpiece"> + <pga name="EAR Playback Volume" bit="0" /> + <pga name="DACL Playback Volume" bit="8" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="voice-speaker-l"> + <pga name="SPKL Playback Volume" bit="0" /> + <pga name="DACL Playback Volume" bit="4" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="voice-speaker-r"> + <pga name="SPKR Playback Volume" bit="0" /> + <pga name="DACR Playback Volume" bit="4" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="voice-headphone-l"> + <pga name="HPL Playback Volume" bit="0" /> + <pga name="DACL Playback Volume" bit="4" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="voice-headphone-r"> + <pga name="HPR Playback Volume" bit="0" /> + <pga name="DACR Playback Volume" bit="4" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="voice-headphone-spk-l"> + <pga name="SPKL Playback Volume" bit="0" /> + <pga name="DACL Playback Volume" bit="4" /> + <pga name="HPL Playback Volume" bit="8" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="voice-headphone-spk-r"> + <pga name="SPKR Playback Volume" bit="0" /> + <pga name="DACR Playback Volume" bit="4" /> + <pga name="HPR Playback Volume" bit="8" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="voice-earpiece"> + <pga name="EAR Playback Volume" bit="0" /> + <pga name="DACL Playback Volume" bit="4" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="linein-spk-l"> + <pga name="SPKL Playback Volume" bit="0" /> + <pga name="ADCL Capture Volume" bit="4" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="linein-spk-r"> + <pga name="SPKR Playback Volume" bit="0" /> + <pga name="ADCR Capture Volume" bit="4" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="linein-hp-l"> + <pga name="HPL Playback Volume" bit="0" /> + <pga name="ADCL Capture Volume" bit="4" /> + <pga name="VBC DACL DG Set" bit="16" /> + <pga name="VBC DACL DG Switch" bit="31" /> +</profile> + +<profile name="linein-hp-r"> + <pga name="HPR Playback Volume" bit="0" /> + <pga name="ADCR Capture Volume" bit="4" /> + <pga name="VBC DACR DG Set" bit="16" /> + <pga name="VBC DACR DG Switch" bit="31" /> +</profile> + +<profile name="capture-l"> + <pga name="ADCL Capture Volume" bit="0" /> + <pga name="MIC Boost" bit="6" /> + <pga name="AUXMIC Boost" bit="6" /> + <pga name="HEADMIC Boost" bit="6" /> + <pga name="Linein Boost" bit="6" /> + <pga name="VBC ADCL DG Set" bit="8" /> + <pga name="VBC ADCL DG Switch" bit="15" /> +</profile> + +<profile name="capture-r"> + <pga name="ADCR Capture Volume" bit="0" /> + <pga name="MIC Boost" bit="6" /> + <pga name="AUXMIC Boost" bit="6" /> + <pga name="HEADMIC Boost" bit="6" /> + <pga name="Linein Boost" bit="6" /> + <pga name="VBC ADCR DG Set" bit="8" /> + <pga name="VBC ADCR DG Switch" bit="15" /> +</profile> + +<profile name="voice-capture-l"> + <pga name="ADCL Capture Volume" bit="0" /> + <pga name="MIC Boost" bit="6" /> + <pga name="AUXMIC Boost" bit="6" /> + <pga name="HEADMIC Boost" bit="6" /> + <pga name="Linein Boost" bit="6" /> + <pga name="VBC ADCL DG Set" bit="8" /> + <pga name="VBC ADCL DG Switch" bit="15" /> +</profile> + +<profile name="voice-capture-r"> + <pga name="ADCR Capture Volume" bit="0" /> + <pga name="MIC Boost" bit="6" /> + <pga name="AUXMIC Boost" bit="6" /> + <pga name="HEADMIC Boost" bit="6" /> + <pga name="Linein Boost" bit="6" /> + <pga name="VBC ADCR DG Set" bit="8" /> + <pga name="VBC ADCR DG Switch" bit="15" /> +</profile> + +<profile name="linein-capture-l"> + <pga name="ADCL Capture Volume" bit="0" /> + <pga name="VBC ADCL DG Set" bit="8" /> + <pga name="VBC ADCL DG Switch" bit="15" /> +</profile> + +<profile name="linein-capture-r"> + <pga name="ADCR Capture Volume" bit="0" /> + <pga name="VBC ADCR DG Set" bit="8" /> + <pga name="VBC ADCR DG Switch" bit="15" /> +</profile> +<profile name="digital-fm"> + <pga name="VBC STL DG Set" bit="0" /> + <pga name="VBC STR DG Set" bit="16" /> +</profile> +<!-- the configuration PGA is the physical vaule --> +<attribute> +<!-- DO NOT modify the mixer attribute --> + <mixer name="SPKL Playback Volume"> + <attr max="15" inverse="0" /> + </mixer> + + <mixer name="SPKR Playback Volume"> + <attr max="15" inverse="0" /> + </mixer> + + <mixer name="HPL Playback Volume"> + <attr max="15" inverse="0" /> + </mixer> + + <mixer name="HPR Playback Volume"> + <attr max="15" inverse="0" /> + </mixer> + + <mixer name="EAR Playback Volume"> + <attr max="15" inverse="0" /> + </mixer> + + <mixer name="DACL Playback Volume"> + <attr max="7" inverse="0" /> + </mixer> + + <mixer name="DACR Playback Volume"> + <attr max="7" inverse="0" /> + </mixer> + + <mixer name="ADCL Capture Volume"> + <attr max="63" inverse="0" /> + </mixer> + + <mixer name="ADCR Capture Volume"> + <attr max="63" inverse="0" /> + </mixer> + + <mixer name="MIC Boost"> + <attr max="3" inverse="0" /> + </mixer> + + <mixer name="AUXMIC Boost"> + <attr max="3" inverse="0" /> + </mixer> + + <mixer name="HEADMIC Boost"> + <attr max="3" inverse="0" /> + </mixer> + + <mixer name="Linein Boost"> + <attr max="3" inverse="0" /> + </mixer> + + <mixer name="VBC DACL DG Set"> + <attr max="127" inverse="0" /> + </mixer> + + <mixer name="VBC DACR DG Set"> + <attr max="127" inverse="0" /> + </mixer> + + <mixer name="VBC DACL DG Switch"> + <attr max="1" inverse="0" /> + </mixer> + + <mixer name="VBC DACR DG Switch"> + <attr max="1" inverse="0" /> + </mixer> + + <mixer name="VBC ADCL DG Set"> + <attr max="127" inverse="0" /> + </mixer> + + <mixer name="VBC ADCR DG Set"> + <attr max="127" inverse="0" /> + </mixer> + + <mixer name="VBC ADCL DG Switch"> + <attr max="1" inverse="0" /> + </mixer> + + <mixer name="VBC ADCR DG Switch"> + <attr max="1" inverse="0" /> + </mixer> + <mixer name="VBC STR DG Set"> + <attr max="127" inverse="0" /> + </mixer> + + <mixer name="VBC STL DG Set"> + <attr max="127" inverse="0" /> + </mixer> +</attribute> + +</codec> diff --git a/mmfw-sysconf-sc7730s/usr/etc/miccalib.txt b/mmfw-sysconf-sc7730s/usr/etc/miccalib.txt new file mode 100644 index 0000000..859d5de --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/etc/miccalib.txt @@ -0,0 +1,18 @@ +A,0 +B,64 +C,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +D,0 +E,64 +F,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32767,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +G,0 +H,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0, +I,0 +J,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0, +K,0 +L,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0, +M,0 +N,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0, +O,0 +P,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0, +Q,0 +R,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,0,0,0,1073741824,0,1, diff --git a/mmfw-sysconf-sc7730s/usr/etc/mmfw_audio_config.ini b/mmfw-sysconf-sc7730s/usr/etc/mmfw_audio_config.ini new file mode 100644 index 0000000..d81f056 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/etc/mmfw_audio_config.ini @@ -0,0 +1,13 @@ +[pulsesink] +mid_buffer_time = 400000 +mid_latency_time = 0 + +high_buffer_time = 600000 +high_latency_time = 0 + +vhigh_buffer_time = 20000000 +vhigh_latency_time = 0 + + + + diff --git a/mmfw-sysconf-sc7730s/usr/etc/mmfw_audio_record.ini b/mmfw-sysconf-sc7730s/usr/etc/mmfw_audio_record.ini new file mode 100644 index 0000000..c3f3753 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/etc/mmfw_audio_record.ini @@ -0,0 +1,26 @@ + +[rec] +enable = y +amr_pregain = 16384 +aac_l_pregain = 16384 +aac_r_pregain = 16384 + +[rec_filter_01] +enable = n +48kHz = 0, 0, 0, 0, 0, 0 +44_1kHz = 0, 0, 0, 0, 0, 0 +32kHz = 0, 0, 0, 0, 0, 0 +24kHz = 0, 0, 0, 0, 0, 0 +22_05kHz = 0, 0, 0, 0, 0, 0 +16kHz = 0, 0, 0, 0, 0, 0 +8kHz = 0, 0, 0, 0, 0, 0 + +[rec_filter_02] +enable = n +48kHz = 0, 0, 0, 0, 0, 0 +44_1kHz = 0, 0, 0, 0, 0, 0 +32kHz = 0, 0, 0, 0, 0, 0 +24kHz = 0, 0, 0, 0, 0, 0 +22_05kHz = 0, 0, 0, 0, 0, 0 +16kHz = 0, 0, 0, 0, 0, 0 +8kHz = 0, 0, 0, 0, 0, 0 diff --git a/mmfw-sysconf-sc7730s/usr/etc/mmfw_audio_sb_am.ini b/mmfw-sysconf-sc7730s/usr/etc/mmfw_audio_sb_am.ini new file mode 100644 index 0000000..9a91a2d --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/etc/mmfw_audio_sb_am.ini @@ -0,0 +1,46 @@ + +[sb_normal] +enable = y +high_pass_filter = 300 +gain_level = 0 +clarity_level = 0 + +[sb_voip] +enable = n +high_pass_filter = 400 +gain_level = 6 +clarity_level = 0 + +[am] +enable = y + +[am_band_01] +enable = y +48kHz = 1122959470,-1653133682,785914884,1653133682,-835132530,-3 +44_1kHz = 1126389932,-1593180102,765853393,1593180102,-818501501,-3 +32kHz = 1043184989, -1983125987, 964660914, 1983125987, -934104078, -5 +24kHz = 1033980558, -1922826667, 931803201, 1922826667, -892041935, -5 +22_05kHz = 1030838517, -1900940285, 920586835, 1900940285, -877683528, -5 +16kHz = 1016980524, -1795687425, 871116971, 1795687425, -814355671, -5 +8kHz = 976383808, -1377415986, 726195985, 1377415986, -628837969, -5 + +[am_band_02] +enable = n +48kHz = 1110365371, -257127604, 859565726, 257127604, -896189273, -3 +44_1kHz = 1110654844, -7011676, 857872874, 7011676, -894785894, -3 +32kHz = 1023031758, -1557063300, 849632352, 1557063300, -798922286, -4 +24kHz = 1011377038, -1279511273, 798125159, 1279511273, -735760373, -4 +22_05kHz = 1007893475, -1175235849, 782729805, 1175235849, -716881456, -4 +16kHz = 996008796, -660593927, 730206326, 660593927, -652473299, -4 +8kHz = 1011377038, 1279511274, 798125159, -1279511274, -735760373, -4 + +[am_band_03] +enable = n +48kHz = 1005172476, -1289473686, 894462573, 1289473686, -825893224, -7 +44_1kHz = 1001277289, -1175624704, 884278340, 1175624704, -811813805, -7 +32kHz = 988343141, -602447771, 850461126, 602447771, -765062442, -7 +24kHz = 984341700, 143136128, 839999085, -143136128, -750598960, -7 +22_05kHz = 986022487, 407305901, 844393618, -407305901, -756674281, -7 +16kHz = 1014865984, 1519331383, 919806914, -1519331383, -860931074, -7 +8kHz = 1197823193, -606020485, 1398161049, 606020485, -1522242418, -7 + diff --git a/mmfw-sysconf-sc7730s/usr/etc/mmfw_audio_volume.ini b/mmfw-sysconf-sc7730s/usr/etc/mmfw_audio_volume.ini new file mode 100644 index 0000000..09a9a97 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/etc/mmfw_audio_volume.ini @@ -0,0 +1,19 @@ +[volumes] +system = 0, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 82, 84, 86, 88, 90 +notification = 0, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 95 +alarm = 0, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 90 +ringtone = 0, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 90 +media = 0, 44, 48, 52, 56, 61, 66, 70, 74, 78, 82, 85, 88, 91, 94, 97 +call = 60, 65, 70, 76, 82, 88, 94, 100 +voip = 60, 65, 70, 76, 82, 88, 94, 100 +voice = 0, 55, 58, 61, 64, 67, 70, 73, 76, 79, 82, 85, 88, 91, 94, 97 +gain_dialer = 1.00 +gain_touch = 1.00 +gain_af = 0.70 +gain_shutter1 = 0.14 +gain_shutter2 = 1.00 +gain_camcording = 0.30 +gain_midi = 1.00 +gain_booting = 0.40 +gain_video = 0.90 +gain_tts = 1.00 diff --git a/mmfw-sysconf-sc7730s/usr/etc/mmfw_avsystem.ini b/mmfw-sysconf-sc7730s/usr/etc/mmfw_avsystem.ini new file mode 100644 index 0000000..0742c30 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/etc/mmfw_avsystem.ini @@ -0,0 +1,8 @@ +[aif] + +control aif before path set = no + +[debug] + +gain debug mode = no + diff --git a/mmfw-sysconf-msm8x26/usr/etc/mmfw_camcorder.ini b/mmfw-sysconf-sc7730s/usr/etc/mmfw_camcorder.ini index 05d0bf9..dcd59a8 100644 --- a/mmfw-sysconf-msm8x26/usr/etc/mmfw_camcorder.ini +++ b/mmfw-sysconf-sc7730s/usr/etc/mmfw_camcorder.ini @@ -23,22 +23,24 @@ SyncStateChange = 1 ;GSTInitOption = --gst-enable-tiny-registry --gst-disable-segtrap || NOT-USE-DEFAULT_VALUE ;GSTInitOption = --gst-enable-tiny-registry --gst-disable-segtrap --gst-debug=3 || NOT-USE-DEFAULT_VALUE -ModelName = SM-R750 +ModelName = TM1 ;DisabledAttributes = camera-optical-zoom camera-af-touch-x camera-af-touch-y camera-exposure-value camera-f-number camera-shutter-speed camera-hold-af-after-capturing filter-flip filter-hue display-src-x display-src-y display-src-width display-src-height tag-image-description strobe-control strobe-capabilities strobe-mode detect-mode detect-number detect-focus-select detect-select-number detect-status || NO_DEFAULT_VALUE [VideoInput] UseConfCtrl = 1 +ConfCtrlFile0 = mmfw_camcorder_dev_video_pri.ini +ConfCtrlFile1 = mmfw_camcorder_dev_video_sec.ini +VideosrcElement = camerasrc | 2,0 | do-timestamp,1 | num-alloc-buf,7 UseVideoscale = 0 VideoscaleElement = videoscale | 3,0 | width,320 | height,240 | method,1 UseZeroCopyFormat = 1 -DeviceCount = 0 -; Input format for image filter -;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY -ImageFilterInputFormat = 0 +DeviceCount = 1 +SupportMediaPacketPreviewCb = 1 [AudioInput] -AudiosrcElement = pulsesrc | 3,0 | do-timestamp,1 | slave-method,3 | latency,0 -AudiomodemsrcElement = voicedatasrcbin | 0,0 +AudioDevice = 0,1 || 0 +AudiosrcElement = pulsesrc | 2,0 | do-timestamp,1 | blocksize,640 +AudiomodemsrcElement = pulsesrc | 2,0 | do-timestamp,1 | blocksize,640 [VideoOutput] ; DisplayDevice @@ -48,26 +50,27 @@ DisplayDevice = 0 || 0 ;;; 0: Default, 1: Pri Video ON and Sec Video Full-Screen, 2: Pri Video OFF and Sec Video Full-Screen DisplayMode = 0,1,2 || 0 ; Videosink -;;; 0: X surface, 1: Evas surface, 2: GL surface, 3: NULL surface -Videosink = 0,1,3 || 0 -VideosinkElementX = xvimagesink | 6,0 | draw-borders,0 | force-aspect-ratio,1 | enable-last-buffer,0 | qos,0 | sync,0 | show-preroll-frame,0 -VideosinkElementEvas = evaspixmapsink | 4,0 | enable-last-buffer,0 | qos,0 | sync,0 | show-preroll-frame,0 -VideosinkElementNull = fakesink | 4,0 | qos,0 | sync,0 | enable-last-buffer,0 | show-preroll-frame,0 +;;; 0: X surface, 1: Evas surface, 2: GL surface, 3: NULL surface, 4: X_EXT surface +Videosink = 0,1,3,4 || 0 +VideosinkElementX = xvimagesink | 7,0 | draw-borders,0 | force-aspect-ratio,1 | enable-last-sample,0 | qos,0 | sync,0 | show-preroll-frame,0 | handle-expose,0 +VideosinkElementEvas = evaspixmapsink | 4,0 | enable-last-sample,0 | qos,0 | sync,0 | show-preroll-frame,0 +VideosinkElementNull = fakesink | 4,0 | qos,0 | sync,0 | enable-last-sample,0 | show-preroll-frame,0 UseVideoscale = 0 -VideoscaleElement = c2dconvert | 0,0 -VideoconvertElement = c2dconvert | 0,0 +VideoscaleElement = videoscale | 1,0 | rotang,90 [VideoEncoder] -H263 = ffenc_h263p | 0,0 -MPEG4 = ffenc_mpeg4 | 0,0 +H263 = sprdenc_h263 | 0,0 +H264 = sprdenc_h264 | 0,0 +MPEG4 = sprdenc_mpeg4 | 0,0 [AudioEncoder] AMR = amrnbenc | 0,0 -AAC = ffenc_aac | 0,0 +AAC = avenc_aac | 2,0 | compliance,-2 | bitrate,44100 WAVE = wavenc | 0,0 [ImageEncoder] -JPEG = jpegenc | 0,0 +JPEG = secjpeg_enc | 0,0 +;PNG = pngenc | 0,0 [Capture] UseEncodebin = 0 @@ -90,19 +93,17 @@ ImageAutoAudioConvert = 0 ImageAutoAudioResample = 0 ImageAutoColorSpace = 1 RecordsinkElement = filesink | 1,0 | async,0 +SupportDualStream = 0 UseNoiseSuppressor = 0 DropVideoFrame = 0 PassFirstVideoFrame = 0 -SupportAudioTuning = 1 -SupportDualStream = 1 -;need to check about SupportDualStream [Mux] -3GP = ffmux_3gp | 0,0 -AMR = ffmux_amr | 0,0 -MP4 = ffmux_mp4 | 0,0 +3GP = avmux_3gp | 0,0 +AMR = avmux_amr | 0,0 +MP4 = avmux_mp4 | 0,0 AVI = avimux | 0,0 MATROSKA = matroskamux | 0,0 WAV = wavenc | 0,0 -AAC = ffmux_adts | 0,0 +AAC = avmux_adts | 0,0 diff --git a/mmfw-sysconf-sc7730s/usr/etc/mmfw_camcorder_dev_video_pri.ini b/mmfw-sysconf-sc7730s/usr/etc/mmfw_camcorder_dev_video_pri.ini new file mode 100644 index 0000000..4ebb3db --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/etc/mmfw_camcorder_dev_video_pri.ini @@ -0,0 +1,194 @@ +; < Camera/Camcorder Configure Control INI file > +; +; - Header List - +; 1. Camera +; 2. Strobe +; 3. Effect +; 4. Photograph +; 5. Capture +; 6. Detect +; +; - Note - +; If you want to add a new header, +; add a new enum value to "enum ConfigureCategoryControl" +; and new default table for it in mm_camcorder_configure.c/.h +; + +[Camera] +; Input index - real setting value +;;; 0:PRIMARY_CAMERA, 1:SECONDARY_CAMERA +; Input index - MSL value(convert array index) +;;; -1:NONE, 0:CAMERA0, 1:CAMERA1 +InputIndex = 0,-255 || 0 +DeviceName = SR352 +PreviewResolution = 176,144 | 320,240 | 480,480 | 640,480 | 736,736 | 960,720 | 1280,720 | 1920,1080 || 640,360 +CaptureResolution = 640,480 | 800,480 | 1280,720 | 1536,1536 | 1600,960 | 1600,1200 | 2048,1152 | 2048,1232 | 2048,1536 | 2448,2448 | 3264,1836| 3264,2448 || 3264,2448 +VideoResolution = 176,144 | 320,240 | 640,480 | 1280,720 | 1920,1080 || 640,480 +FPS0 = 0,15,30 || 30 +FPS1 = 0,15,30 || 30 +FPS2 = 0,15,30 || 30 +FPS3 = 0,15,30 || 30 +FPS4 = 0,15,30 || 30 +FPS5 = 0,15,30 || 30 +FPS6 = 0,15,30 || 30 +FPS7 = 0,15,25 || 25 +; PictureForamt - MSL value +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +PictureFormat = 0 || 0 +Overlay = 0,1 || 1 +; Recommend display rotation +;;; 0:NONE, 1:90, 2:180, 3:270 +RecommendDisplayRotation = 3 +; Recommend preview format for capture +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +RecommendPreviewFormatCapture = 0 +; Recommend preview format for record +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +RecommendPreviewFormatRecord = 0 +; Recommend preview resolution +;;; 0: NORMAL ratio(4:3), 1: WIDE ratio(16:9), 2: SQUARE ratio(1:1) +RecommendPreviewResolution = 960,720 | 1280,720 | 736,736 || 960,720 +; Camera facing direction +;;; 0:REAR, 1:FRONT +FacingDirection = 0 + + +[Strobe] +;StrobeControl - Not support +;StrobeCapabilities - Not support +; Strobe mode - real setting value +;;; 0:OFF, 1:ON, 2:TORCH, 3:AUTO, 4:MAX +; Strobe mode - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:REDEYE_REDUCTION, 4:SLOW_SYNC, 5:FRONT_CURTAIN, 6:REAR_CURTAIN, 7:PERMANENT +StrobeMode = 0,1,3,-255,-255,-255,-255,2 || 0 +;StrobeStatus - Not support +;StrobeEV - Not support + + +[Effect] +Brightness = 0,8 || 4 +;Contrast = -2,2 || 0 +;Saturation = 0,4 || 2 +;Sharpness = 0,4 || 2 + +; White balance - real setting value +;;; 0:AUTO, 1:INCANDESCENT, 4:FLUORESCENT, 5:DAYLIGHT, 6:CLOUDY_DAYLIGHT +; White balance - MSL value(convert array index) +;;; 0:NONE, 1:AUTO, 2:DAYLIGHT, 3:CLOUDY, 4:FLUORESCENT, 5:INCANDESCENT, 6:SHADE, 7:HORIZON, 8:FLASH, 9:CUSTOM +WhiteBalance = -255,0,5,6,4,1,-255,-255,-255,-255 || 0 + +; Color tone - real setting value +;;; 0:NONE, 1:MONO, 6:NEGATIVE, 7:SEPIA, 4:COLD +; Color tone - MSL value(convert array index) +;;; 0:NONE, 1:MONO, 2:SEPIA, 3:NEGATIVE, 4:BLUE, 5:GREEN, 6:AQUA, 7:VIOLET, 8:ORANGE, 9:GRAY, 10:RED, +;;; 11:ANTIQUE, 12:WARM, 13:PINK, 14:YELLOW, 15:PURPLE, 16:EMBOSS, 17:OUTLINE, 18:SOLARIZATION, 19:SKETCH, 20:WASHED, +;;; 21:VINTAGE_WARM, 22:VINTAGE_COLD, 23:POSTERIZATION, 24:CARTOON, 25:SELECTIVE_RED, 26:SELECTIVE_GREEN, 27:SELECTIVE_BLUE, 28:SELECTIVE_YELLOW, 29:SELECTIVE_RED_YELLOW, 30:GRAPHICS +ColorTone = 0,1,7,6,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Flip - MSL value(convert array index) +;;; 0:NONE, 1:HORIZONTAL, 2:VERTICAL, 3:BOTH +Flip = 0,-255,-255,-255 || 0 + +; Wide Dynamic Range - real setting value +;;; N/A +; Wide Dynamic Range - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO +WDR = 0,-255,-255 || 0 + +; Part color mode - real setting value +;;; 0:OFF, 1:SWAP, 2:ACCENT +; Part color mode - MSL value(convert array index) +;;; 0:OFF, 1:SWAP, 2:ACCENT +;PartColorMode = 0,1,2 || 0 + +; Part color - real setting value +;;; 0:VIOLET, 1:PURPLE, 2:MAGENTA_1, 3:MAGENTA_2, 4:RED_1, 5:RED_2, 6:BROWN, 7:YELLOW, 8:GREEN_1, 9:GREEN_2, 10:GREEN_3, +;;; 11:GREEN_4, 12:COBALT, 13:CYAN, 14:BLUE_1, 15:BLUE_2, 16:GRAY +; Part color - MSL value(convert array index) +;;; 0:VIOLET, 1:PURPLE, 2:MAGENTA_1, 3:MAGENTA_2, 4:RED_1, 5:RED_2, 6:BROWN, 7:YELLOW, 8:GREEN_1, 9:GREEN_2, 10:GREEN_3, +;;; 11:GREEN_4, 12:COBALT_BLUE, 13:CYAN, 14:BLUE_1, 15:BLUE_2, 16:GRAY +;PartColor = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 || 0 + + +[Photograph] +;LensInit = 0,1 || 0 +DigitalZoom = 0,8 || 0 +OpticalZoom = 0,0 || 0 + +; Focus mode - real setting value +;;; 0:AUTO, 1:MANUAL, 2:PAN, 3:TOUCH_AUTO, 4:CONTINUOUS +; Focus mode - MSL value(convert array index) +;;; 0:NONE, 1:PAN, 2:AUTO, 3:MANUAL, 4:TOUCH_AUTO, 5:CONTINUOUS +FocusMode = -255,-255,0,-255,3,4 || 3 + +; Auto focus type - real setting value +;;; 0:NORMAL, 1:MACRO, 2:FULL +; Auto focus - MSL value(convert array index) +;;; 0:NONE, 1:NORMAL, 2:MACRO, 3:FULL +AFType = -255,0,1,-255 || 0 + +; Auto exposure type - real setting value +;;; 0:CENTER, 1:MATRIX, 2:SPOT, 3.MAX +; Auto exposure mode - MSL value(convert array index) +;;; 0,OFF 1,ALL 2,CENTER1 3,CENTER2 4,CENTER3 5,SPOT1 6,SPOT2 7,CUSTOM1 8,CUSTOM2 +AEType = -255,-255,0,-255,-255,-255,-255,-255,-255 || 0 + +;ExposureValue - Not support +;FNumber - Not support +;ShutterSpeed - Not support + +; ISO - real setting value +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600 +; ISO - MSL value(convert array index) +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600, 7:3200 +ISO = 0,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Program mode - real setting value +;;; 1:NONE, 2:PORTRAIT, 3:NIGHTSHOT, 4:BACK_LIGHT, 5:LANDSCAPE, 6:SPORTS, 7:PARTY_INDOOR, 8:BEACH_SNOW, 9:SUNSET, 10:DUSK_DAWN, +;;; 11:FALL_COLOR, 12:FIREWORKS, 13:TEXT, 14:CANDLE_LIGHT +; Program mode - MSL value(convert array index) +;;; 0:NORMAL, 1:PORTRAIT, 2:LANDSCAPE, 3:SPORTS, 4:PARTY_N_INDOOR, 5:BEACH_N_INDOOR, 6:SUNSET, 7:DUSK_N_DAWN, 8:FALL_COLOR, 9:NIGHT_SCENE, +;;; 10:FIREWORK, 11:TEXT, 12:SHOW_WINDOW, 13:CANDLE_LIGHT, 14:BACKLIGHT +ProgramMode = 0,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Anti-handshake - real setting value +;;; N/A +; Anti-handshake - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:MOVIE_ON +AntiHandshake = 0,-255,-255,-255 || 0 + +; Video-stabilization - real setting value +;;; 0:OFF, 1:ON +; Video-stabilization - MSL value(convert array index) +;;; 0:OFF, 1:ON +VideoStabilization = 0 || 0 + +; Face zoom mode +;;; 0:OFF, 1:ON +FaceZoomMode = 0 || 0 +; Face zoom level +FaceZoomLevel = 0,0 || 0 + + +[Capture] +; Output mode +;;; No need to convert +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +OutputMode = 0,13 || 13 +JpegQuality = 0,100 || 95 +MultishotNumber = 1,1 || 1 +SensorEncodedCapture = 1 +; Support HDR +;;; 0: OFF, 1: ON, 2: ON and Original +SupportHDR = 0,-255,-255 || 0 +SupportZSL = 1 + +[Detect] +; Detect mode +;;; 0:OFF, 1:ON +;DetectMode - Not support +;DetectNumber - Not support +;DetectFocusSelect - Not support +;DetectSelectNumber - Not support +;DetectStatus - Not support + diff --git a/mmfw-sysconf-sc7730s/usr/etc/mmfw_camcorder_dev_video_sec.ini b/mmfw-sysconf-sc7730s/usr/etc/mmfw_camcorder_dev_video_sec.ini new file mode 100644 index 0000000..a3eb592 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/etc/mmfw_camcorder_dev_video_sec.ini @@ -0,0 +1,196 @@ +; < Camera/Camcorder Configure Control INI file > +; +; - Header List - +; 1. Camera +; 2. Strobe +; 3. Effect +; 4. Photograph +; 5. Capture +; 6. Detect +; +; - Note - +; If you want to add a new header, +; add a new enum value to "enum ConfigureCategoryControl" +; and new default table for it in mm_camcorder_configure.c/.h +; + +[Camera] +; Input index - real setting value +;;; 0:PRIMARY_CAMERA, 1:SECONDARY_CAMERA +; Input index - MSL value(convert array index) +;;; -1:NONE, 0:CAMERA0, 1:CAMERA1 +InputIndex = -255,1 || 1 +DeviceName = SR030PC30 +PreviewResolution = 176,144 | 320,240 | 640,480 | 736,736 | 880,720 | 960,720 | 1280,720 | 1920,1080 || 640,480 +CaptureResolution = 480,480 | 640,480 | 1440, 1080 | 1920,1080 | 1920,1920 | 2048,1152 | 2048,1536 | 2560,1440 | 2576,1932 || 640,480 +VideoResolution = 176,144 | 320,240 | 640,480 | 1280,720 | 1920,1080 || 640,480 +FPS0 = 0,15,30 || 30 +FPS1 = 0,15,30 || 30 +FPS2 = 0,15,30 || 30 +FPS3 = 0,15,30 || 30 +FPS4 = 0,15,30 || 30 +FPS5 = 0,15,30 || 30 +FPS6 = 0,15,30 || 30 +FPS7 = 0,15,25 || 25 +; PictureForamt - MSL value +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +PictureFormat = 0 || 0 +Overlay = 0,1 || 1 +; Recommend display rotation +;;; 0:NONE, 1:90, 2:180, 3:270 +RecommendDisplayRotation = 3 +; Recommend preview format for capture +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +RecommendPreviewFormatCapture = 0 +; Recommend preview format for record +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +RecommendPreviewFormatRecord = 0 +; Recommend preview resolution +;;; 0: NORMAL ratio(4:3), 1: WIDE ratio(16:9), 2: SQUARE ratio(1:1) +RecommendPreviewResolution = 960,720 | 1280,720 | 736,736 || 960,720 +; Camera facing direction +;;; 0:REAR, 1:FRONT +FacingDirection = 1 + + +[Strobe] +;StrobeControl - Not support +;StrobeCapabilities - Not support +; Strobe mode - real setting value +;;; N/A +; Strobe mode - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:REDEYE_REDUCTION, 4:SLOW_SYNC, 5:FRONT_CURTAIN, 6:REAR_CURTAIN, 7:PERMANENT +StrobeMode = 0,-255,-255,-255,-255,-255,-255,-255 || 0 +;StrobeStatus - Not support +;StrobeEV - Not support + + +[Effect] +Brightness = 0,8 || 4 +;Contrast = -2,2 || 0 +;Saturation = 0,4 || 2 +;Sharpness = 0,4 || 2 + +; White balance - real setting value +;;; 0:AUTO, 1:INCANDESCENT, 4:FLUORESCENT, 5:DAYLIGHT, 6:CLOUDY_DAYLIGHT +; White balance - MSL value(convert array index) +;;; 0:NONE, 1:AUTO, 2:DAYLIGHT, 3:CLOUDY, 4:FLUORESCENT, 5:INCANDESCENT, 6:SHADE, 7:HORIZON, 8:FLASH, 9:CUSTOM +WhiteBalance = -255,0,5,6,4,1,-255,-255,-255,-255 || 0 + +; Color tone - real setting value +;;; 0:NONE, 1:MONO, 6:NEGATIVE, 7:SEPIA, 4:COLD +; Color tone - MSL value(convert array index) +;;; 0:NONE, 1:MONO, 2:SEPIA, 3:NEGATIVE, 4:BLUE, 5:GREEN, 6:AQUA, 7:VIOLET, 8:ORANGE, 9:GRAY, 10:RED, +;;; 11:ANTIQUE, 12:WARM, 13:PINK, 14:YELLOW, 15:PURPLE, 16:EMBOSS, 17:OUTLINE, 18:SOLARIZATION, 19:SKETCH, 20:WASHED, +;;; 21:VINTAGE_WARM, 22:VINTAGE_COLD, 23:POSTERIZATION, 24:CARTOON, 25:SELECTIVE_RED, 26:SELECTIVE_GREEN, 27:SELECTIVE_BLUE, 28:SELECTIVE_YELLOW, 29:SELECTIVE_RED_YELLOW, 30:GRAPHICS +ColorTone = 0,1,7,6,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Flip - MSL value(convert array index) +;;; 0:NONE, 1:HORIZONTAL, 2:VERTICAL, 3:BOTH +Flip = 0,1,2,3 || 0 + + + +; Wide Dynamic Range - real setting value +;;; N/A +; Wide Dynamic Range - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO +WDR = 0,-255,-255 || 0 + +; Part color mode - real setting value +;;; 0:OFF, 1:SWAP, 2:ACCENT +; Part color mode - MSL value(convert array index) +;;; 0:OFF, 1:SWAP, 2:ACCENT +;PartColorMode = 0,1,2 || 0 + +; Part color - real setting value +;;; 0:VIOLET, 1:PURPLE, 2:MAGENTA_1, 3:MAGENTA_2, 4:RED_1, 5:RED_2, 6:BROWN, 7:YELLOW, 8:GREEN_1, 9:GREEN_2, 10:GREEN_3, +;;; 11:GREEN_4, 12:COBALT, 13:CYAN, 14:BLUE_1, 15:BLUE_2, 16:GRAY +; Part color - MSL value(convert array index) +;;; 0:VIOLET, 1:PURPLE, 2:MAGENTA_1, 3:MAGENTA_2, 4:RED_1, 5:RED_2, 6:BROWN, 7:YELLOW, 8:GREEN_1, 9:GREEN_2, 10:GREEN_3, +;;; 11:GREEN_4, 12:COBALT_BLUE, 13:CYAN, 14:BLUE_1, 15:BLUE_2, 16:GRAY +;PartColor = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 || 0 + + +[Photograph] +;LensInit = 0,1 || 0 +DigitalZoom = 0,0 || 0 +OpticalZoom = 0,0 || 0 + +; Focus mode - real setting value +;;; Not Support, no need to convert +; Focus mode - MSL value(convert array index) +;;; 0:NONE, 1:PAN, 2:AUTO, 3:MANUAL, 4:TOUCH_AUTO, 5:CONTINUOUS +FocusMode = -255,0,-255,-255,-255,-255 || 0 + +; Auto focus type - real setting value +;;; 0:NORMAL, 1:MACRO, 2:FULL +; Auto focus - MSL value(convert array index) +;;; 0:NONE, 1:NORMAL, 2:MACRO, 3:FULL +AFType = 0,-255,-255,-255 || 0 + +; Auto exposure type - real setting value +;;; 0:CENTER, 1:MATRIX, 2:SPOT, 3.MAX +; Auto exposure mode - MSL value(convert array index) +;;; 0,OFF 1,ALL 2,CENTER1 3,CENTER2 4,CENTER3 5,SPOT1 6,SPOT2 7,CUSTOM1 8,CUSTOM2 +AEType = -255,-255,0,-255,-255,-255,-255,-255,-255 || 0 + +;ExposureValue - Not support +;FNumber - Not support +;ShutterSpeed - Not support + +; ISO - real setting value +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600 +; ISO - MSL value(convert array index) +;;; 0:AUTO, 1:50, 2:100, 3:200, 4:400, 5:800, 6:1600, 7:3200 +ISO = 0,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Program mode - real setting value +;;; 1:NONE, 2:PORTRAIT, 3:NIGHTSHOT, 4:BACK_LIGHT, 5:LANDSCAPE, 6:SPORTS, 7:PARTY_INDOOR, 8:BEACH_SNOW, 9:SUNSET, 10:DUSK_DAWN, +;;; 11:FALL_COLOR, 12:FIREWORKS, 13:TEXT, 14:CANDLE_LIGHT +; Program mode - MSL value(convert array index) +;;; 0:NORMAL, 1:PORTRAIT, 2:LANDSCAPE, 3:SPORTS, 4:PARTY_N_INDOOR, 5:BEACH_N_INDOOR, 6:SUNSET, 7:DUSK_N_DAWN, 8:FALL_COLOR, 9:NIGHT_SCENE, +;;; 10:FIREWORK, 11:TEXT, 12:SHOW_WINDOW, 13:CANDLE_LIGHT, 14:BACKLIGHT +ProgramMode = 0,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255,-255 || 0 + +; Anti-handshake - real setting value +;;; N/A +; Anti-handshake - MSL value(convert array index) +;;; 0:OFF, 1:ON, 2:AUTO, 3:MOVIE_ON +AntiHandshake = 0,-255,-255,-255 || 0 + +; Video-stabilization - real setting value +;;; 0:OFF, 1:ON +; Video-stabilization - MSL value(convert array index) +;;; 0:OFF, 1:ON +VideoStabilization = 0 || 0 + +; Face zoom mode +;;; 0:OFF, 1:ON +FaceZoomMode = 0 || 0 +; Face zoom level +FaceZoomLevel = 0,0 || 0 + + +[Capture] +; Output mode +;;; No need to convert +;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED, 14:INTERLEAVED_JPEG_UYVY +OutputMode = 0,13 || 13 +JpegQuality = 0,100 || 95 +MultishotNumber = 1,1 || 1 +SensorEncodedCapture = 1 +; Support HDR +;;; 0: OFF, 1: ON, 2: ON and Original +SupportHDR = 0,-255,-255 || 0 +SupportZSL = 1 + +[Detect] +; Detect mode +;;; 0:OFF, 1:ON +;DetectMode - Not support +;DetectNumber - Not support +;DetectFocusSelect - Not support +;DetectSelectNumber - Not support +;DetectStatus - Not support + diff --git a/mmfw-sysconf-sc7730s/usr/etc/mmfw_fmradio.ini b/mmfw-sysconf-sc7730s/usr/etc/mmfw_fmradio.ini new file mode 100644 index 0000000..9d5cd5e --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/etc/mmfw_fmradio.ini @@ -0,0 +1,25 @@ +[tuning] +enable = n + +[fmradio] + +mmfw_fmradio_rssi_threshold = 110 +mmfw_fmradio_noise_power = 0 +mmfw_fmradio_pilot_power = 0 +mmfw_fmradio_frequency_offset = 0 + +mmfw_fmradio_softmute_enable = 0 + +mmfw_fmradio_snr_threshold = 3 +mmfw_fmradio_cnt_threshold = 0 +mmfw_fmradio_softmute_start_snr = 37 +mmfw_fmradio_softmute_stop_snr = 0 +mmfw_fmradio_softmute_start_rssi = 0 +mmfw_fmradio_softmute_stop_rssi = 0 +mmfw_fmradio_softmute_start_mute = 12 +mmfw_fmradio_softmute_stop_atten = 0 +mmfw_fmradio_softmute_mute_rate = 0 +mmfw_fmradio_softmute_snr40 = 0 + +volume_levels = 16 +volume_table = 127, 55, 47, 42, 39, 37, 35, 33, 32, 31, 30, 29, 28, 27, 26, 20 diff --git a/mmfw-sysconf-sc7730s/usr/etc/mmfw_media_codec.ini b/mmfw-sysconf-sc7730s/usr/etc/mmfw_media_codec.ini new file mode 100644 index 0000000..4aeed20 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/etc/mmfw_media_codec.ini @@ -0,0 +1,89 @@ +[h261] +hw_decoder = , , +hw_encoder = , , +sw_decoder = , , +sw_encoder = , , + +[h263] +hw_decoder = sprddec_h263, video/x-h263, NV12 +hw_encoder = sprdenc_h263, video/x-raw, H263P +sw_decoder = avdec_h263, video/x-h263, I420 +sw_encoder = avenc_h263, video/x-raw, H263P + +[h264] +hw_decoder = sprddec_h264, video/x-h264, NV12 +hw_encoder = sprdenc_h264, video/x-raw, H264_SP +sw_decoder = avdec_h264, video/x-h264, I420 +sw_encoder = avenc_h264, video/x-raw, H264_SP + +[mpeg4] +hw_decoder = sprddec_h264, video/x-h264, NV12 +hw_encoder = sprdenc_h264, video/x-raw, MPEG4_SP +sw_decoder = avdec_h264, video/x-h264, I420 +sw_encoder = avenc_h264, video/x-raw, MPEG4_SP + +[aac_lc] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_aac, audio/mpeg, PCM +sw_encoder = avenc_aac, audio/x-raw, AAC_LC + +[aac_he] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_aac, audio/mpeg, PCM +sw_encoder = , , + +[aac_he_ps] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_aac, audio/mpeg, PCM +sw_encoder = , , + +[mp3] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_mp3, audio/mpeg, PCM +sw_encoder = , , + +[amr_nb] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_amrnb, audio/AMR, PCM +sw_encoder = amrnbenc, audio/x-raw, AMR_NB + +[amr_wb] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_amrwb, audio/AMR-WB, PCM +sw_encoder = , , + +[vorbis] +hw_decoder = , , +hw_encoder = , , +sw_decoder = vorbisdec, audio/x-vorbis, PCM +sw_encoder = , , + +[flac] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_flac, audio/x-flac, PCM +sw_encoder = , , + +[wmav1] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_wmav1, audio/x-wma, PCM +sw_encoder = , , + +[wmav2] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_wmav2, audio/x-wma, PCM +sw_encoder = , , + +[wmapro] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_wmapro, audio/x-wma, PCM +sw_encoder = , , diff --git a/mmfw-sysconf-sc7730s/usr/etc/mmfw_player.ini b/mmfw-sysconf-sc7730s/usr/etc/mmfw_player.ini new file mode 100644 index 0000000..a863767 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/etc/mmfw_player.ini @@ -0,0 +1,60 @@ +[general] + +disable segtrap = yes ; same effect with --gst-disable-segtrap + +; set default videosink element according to video surface type +videosink element x = xvimagesink +videosink element evas = evaspixmapsink +videosink element fake = fakesink + +video converter element = videoconvert + +audiosink element = pulsesink + +; if yes. gstreamer will not update registry +skip rescan = yes + +delay before repeat = 350 ; msec + +; comma separated list of tocken which elemnts has it in it's name will not be used +element exclude keyword = + +; comma separated list of tocken +unsupported codec keyword = divx + +async start = yes + +; parameters for initializing gstreamer +gstparam1 = --gst-debug=2 +gstparam2 = +gstparam3 = +gstparam4 = +gstparam5 = + +; generating dot file representing pipeline state +; export GST_DEBUG_DUMP_DOT_DIR= +generate dot = no + +; parameter is for only video to be determined +; which clock will be used +; if yes, system clock will be used +; apart from this, audiosink is clock provider for audio +use system clock = yes + +; allowed timeout for changing pipeline state +live state change timeout = 50 ; sec +localplayback state change timeout = 10 ; sec + +; delay in msec for sending EOS +eos delay = 150 ; msec + +[http streaming] + +httpsrc element = souphttpsrc + +; if set, use file or not use memory for buffering +http file buffer path = /opt/usr/media +http buffering limit = 99.0 ; percent +http max size bytes = 1048576 ; bytes +http buffering time = 1.2 +http timeout = 20 ; sec diff --git a/mmfw-sysconf-sc7730s/usr/etc/mmfw_player_audio_effect.ini b/mmfw-sysconf-sc7730s/usr/etc/mmfw_player_audio_effect.ini new file mode 100644 index 0000000..1394608 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/etc/mmfw_player_audio_effect.ini @@ -0,0 +1,17 @@ +[audio effect] +; name of audio effect element +audio effect element = audioeq + +; preset audio effect setting +audio effect preset = no + +; custom audio effect setting (EQ/extension) +audio effect custom = yes +audio effect custom list = 0 + +audio effect custom eq band num = 7 ; number of EQ bands +audio effect custom eq band width = 33, 90, 242, 649, 1743, 4676, 12544 ; list of each EQ band width (Hz) +audio effect custom eq band freq = 36, 98, 265, 711, 1907, 5117, 13727 ; list of each EQ band central frequency (Hz) + +audio effect custom min list = -12 ; list of minimum level value (the first element is for EQ, others for extension effect) +audio effect custom max list = 12 ; list of maximum level value (the first element is for EQ, others for extension effect) diff --git a/mmfw-sysconf-sc7730s/usr/etc/mmfw_transcode.ini b/mmfw-sysconf-sc7730s/usr/etc/mmfw_transcode.ini new file mode 100644 index 0000000..24623d1 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/etc/mmfw_transcode.ini @@ -0,0 +1,4 @@ +[general] + +; set default H/W vide convert +video converter element = c2dconvert diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-aux.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-aux.conf new file mode 100644 index 0000000..db78eb4 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-aux.conf @@ -0,0 +1,62 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; For devices where an 'Aux' element exists +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 90 +name = analog-input + +[Element Capture] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +switch = off +volume = off + +[Element Line] +switch = off +volume = off + +[Element Aux] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Video] +switch = off +volume = off + +[Element Mic/Line] +switch = off +volume = off + +[Element TV Tuner] +switch = off +volume = off + +[Element FM] +switch = off +volume = off + +.include analog-input.conf.common diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-fm.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-fm.conf new file mode 100644 index 0000000..baf674a --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-fm.conf @@ -0,0 +1,62 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; For devices where an 'FM' element exists +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 70 +name = analog-input-radio + +[Element Capture] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +switch = off +volume = off + +[Element Line] +switch = off +volume = off + +[Element Aux] +switch = off +volume = off + +[Element Video] +switch = off +volume = off + +[Element Mic/Line] +switch = off +volume = off + +[Element TV Tuner] +switch = off +volume = off + +[Element FM] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +.include analog-input.conf.common diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-linein.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-linein.conf new file mode 100644 index 0000000..4be5722 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-linein.conf @@ -0,0 +1,61 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; For devices where a 'Line' element exists +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 90 + +[Element Capture] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +switch = off +volume = off + +[Element Line] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Aux] +switch = off +volume = off + +[Element Video] +switch = off +volume = off + +[Element Mic/Line] +switch = off +volume = off + +[Element TV Tuner] +switch = off +volume = off + +[Element FM] +switch = off +volume = off + +.include analog-input.conf.common diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic-line.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic-line.conf new file mode 100644 index 0000000..f7f3085 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic-line.conf @@ -0,0 +1,63 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; For devices where a 'Mic/Line' element exists +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 90 +name = analog-input + +[Element Capture] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +switch = off +volume = off + +[Element Line] +switch = off +volume = off + +[Element Aux] +switch = off +volume = off + +[Element Video] +switch = off +volume = off + +[Element Mic/Line] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element TV Tuner] +switch = off +volume = off + +[Element FM] +switch = off +volume = off + +.include analog-input.conf.common +.include analog-input-mic.conf.common diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf new file mode 100644 index 0000000..2a36f2f --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf @@ -0,0 +1,63 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; For devices where a 'Mic' element exists +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 100 +name = analog-input-microphone + +[Element Capture] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Line] +switch = off +volume = off + +[Element Aux] +switch = off +volume = off + +[Element Video] +switch = off +volume = off + +[Element Mic/Line] +switch = off +volume = off + +[Element TV Tuner] +switch = off +volume = off + +[Element FM] +switch = off +volume = off + +.include analog-input.conf.common +.include analog-input-mic.conf.common diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf.common b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf.common new file mode 100644 index 0000000..b35e7af --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf.common @@ -0,0 +1,63 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Common element for all microphone inputs +; +; See analog-output.conf.common for an explanation on the directives + +;;; 'Mic Select' + +[Element Mic Select] +enumeration = select + +[Option Mic Select:Mic1] +name = input-microphone +priority = 20 + +[Option Mic Select:Mic2] +name = input-microphone +priority = 19 + +;;; Various Boosts + +[Element Mic Boost (+20dB)] +switch = select +volume = merge + +[Option Mic Boost (+20dB):on] +name = input-boost-on + +[Option Mic Boost (+20dB):off] +name = input-boost-off + +[Element Mic Boost] +switch = select +volume = merge + +[Option Mic Boost:on] +name = input-boost-on + +[Option Mic Boost:off] +name = input-boost-off + +[Element Front Mic Boost] +switch = select + +[Option Front Mic Boost:on] +name = input-boost-on + +[Option Front Mic Boost:off] +name = input-boost-off diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-tvtuner.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-tvtuner.conf new file mode 100644 index 0000000..8531ec7 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-tvtuner.conf @@ -0,0 +1,62 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; For devices where a 'TV Tuner' element exists +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 70 +name = analog-input-video + +[Element Capture] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +switch = off +volume = off + +[Element Line] +switch = off +volume = off + +[Element Aux] +switch = off +volume = off + +[Element Video] +switch = off +volume = off + +[Element Mic/Line] +switch = off +volume = off + +[Element TV Tuner] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element FM] +switch = off +volume = off + +.include analog-input.conf.common diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-video.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-video.conf new file mode 100644 index 0000000..74c76f0 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input-video.conf @@ -0,0 +1,61 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; For devices where a 'Video' element exists +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 70 + +[Element Capture] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +switch = off +volume = off + +[Element Line] +switch = off +volume = off + +[Element Aux] +switch = off +volume = off + +[Element Video] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic/Line] +switch = off +volume = off + +[Element TV Tuner] +switch = off +volume = off + +[Element FM] +switch = off +volume = off + +.include analog-input.conf.common diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf new file mode 100644 index 0000000..5055f90 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf @@ -0,0 +1,54 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; A fallback for devices that lack seperate Mic/Line/Aux/Video/TV +; Tuner/FM elements +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 100 + +[Element Capture] +required = volume +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Mic] +required-absent = any + +[Element Line] +required-absent = any + +[Element Aux] +required-absent = any + +[Element Video] +required-absent = any + +[Element Mic/Line] +required-absent = any + +[Element TV Tuner] +required-absent = any + +[Element FM] +required-absent = any + +.include analog-input.conf.common +.include analog-input-mic.conf.common diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf.common b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf.common new file mode 100644 index 0000000..951e11f --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf.common @@ -0,0 +1,294 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Mixer path for PulseAudio's ALSA backend, common elements for all +; input paths. If multiple options by the same id are discovered they +; will be suffixed with a number to distuingish them, in the same +; order they appear here. +; +; Source selection should use the following names: +; +; input -- If we don't know the exact kind of input +; input-microphone +; input-microphone-internal +; input-microphone-external +; input-linein +; input-video +; input-radio +; input-docking-microphone +; input-docking-linein +; input-docking +; +; We explicitly don't want to wrap the following sources: +; +; CD +; Synth/MIDI +; Phone +; Mix +; Digital/SPDIF +; Master +; PC Speaker +; +; See analog-output.conf.common for an explanation on the directives + +;;; 'Input Source Select' + +[Element Input Source Select] +enumeration = select + +[Option Input Source Select:Input1] +name = input +priority = 10 + +[Option Input Source Select:Input2] +name = input +priority = 5 + +;;; 'Input Source' + +[Element Input Source] +enumeration = select + +[Option Input Source:Mic] +name = input-microphone +priority = 20 + +[Option Input Source:Microphone] +name = input-microphone +priority = 20 + +[Option Input Source:Front Mic] +name = input-microphone +priority = 19 + +[Option Input Source:Front Microphone] +name = input-microphone +priority = 19 + +[Option Input Source:Internal Mic] +name = input-microphone +priority = 19 + +[Option Input Source:Line] +name = input-linein +priority = 18 + +[Option Input Source:Line-In] +name = input-linein +priority = 18 + +[Option Input Source:Line In] +name = input-linein +priority = 18 + +[Option Input Source:Docking-Station] +name = input-docking +priority = 17 + +[Option Input Source:AUX IN] +name = input +priority = 10 + +;;; 'Capture Source' + +[Element Capture Source] +enumeration = select + +[Option Capture Source:TV Tuner] +name = input-video + +[Option Capture Source:FM] +name = input-radio + +[Option Capture Source:Mic/Line] +name = input + +[Option Capture Source:Line/Mic] +name = input + +[Option Capture Source:Mic] +name = input-microphone + +[Option Capture Source:Microphone] +name = input-microphone + +[Option Capture Source:Int Mic] +name = input-microphone-internal + +[Option Capture Source:Int DMic] +name = input-microphone-internal + +[Option Capture Source:Internal Mic] +name = input-microphone-internal + +[Option Capture Source:iMic] +name = input-microphone-internal + +[Option Capture Source:i-Mic] +name = input-microphone-internal + +[Option Capture Source:Internal Microphone] +name = input-microphone-internal + +[Option Capture Source:Front Mic] +name = input-microphone + +[Option Capture Source:Front Microphone] +name = input-microphone + +[Option Capture Source:Rear Mic] +name = input-microphone + +[Option Capture Source:Mic1] +name = input-microphone + +[Option Capture Source:Mic2] +name = input-microphone + +[Option Capture Source:D-Mic] +name = input-microphone + +[Option Capture Source:IntMic] +name = input-microphone-internal + +[Option Capture Source:ExtMic] +name = input-microphone-external + +[Option Capture Source:Ext Mic] +name = input-microphone-external + +[Option Capture Source:E-Mic] +name = input-microphone-external + +[Option Capture Source:e-Mic] +name = input-microphone-external + +[Option Capture Source:LineIn] +name = input-linein + +[Option Capture Source:Analog] +name = input + +[Option Capture Source:Line] +name = input-linein + +[Option Capture Source:Line-In] +name = input-linein + +[Option Capture Source:Line In] +name = input-linein + +[Option Capture Source:Video] +name = input-video + +[Option Capture Source:Aux] +name = input + +[Option Capture Source:Aux0] +name = input + +[Option Capture Source:Aux1] +name = input + +[Option Capture Source:Aux2] +name = input + +[Option Capture Source:Aux3] +name = input + +[Option Capture Source:AUX IN] +name = input + +[Option Capture Source:Aux In] +name = input + +[Option Capture Source:AOUT] +name = input + +[Option Capture Source:AUX] +name = input + +[Option Capture Source:Cam Mic] +name = input-microphone + +[Option Capture Source:Digital Mic] +name = input-microphone + +[Option Capture Source:Digital Mic 1] +name = input-microphone + +[Option Capture Source:Digital Mic 2] +name = input-microphone + +[Option Capture Source:Analog Inputs] +name = input + +[Option Capture Source:Unknown1] +name = input + +[Option Capture Source:Unknown2] +name = input + +[Option Capture Source:Docking-Station] +name = input-docking + +[Option Capture Source:Dock Mic] +name = input-docking-microphone + +;;; 'Mic Jack Mode' + +[Element Mic Jack Mode] +enumeration = select + +[Option Mic Jack Mode:Mic In] +name = input-microphone + +[Option Mic Jack Mode:Line In] +name = input-linein + +;;; 'Digital Input Source' + +[Element Digital Input Source] +enumeration = select + +[Option Digital Input Source:Analog Inputs] +name = input + +[Option Digital Input Source:Digital Mic 1] +name = input-microphone + +[Option Digital Input Source:Digital Mic 2] +name = input-microphone + +;;; Various Boosts + +[Element Capture Boost] +switch = select + +[Option Capture Boost:on] +name = input-boost-on + +[Option Capture Boost:off] +name = input-boost-off + +[Element Auto Gain Control] +switch = select + +[Option Auto Gain Control:on] +name = input-agc-on + +[Option Auto Gain Control:off] +name = input-agc-off diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones-2.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones-2.conf new file mode 100644 index 0000000..f2fd31c --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones-2.conf @@ -0,0 +1,82 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Path for mixers that have a 'Headphone2' control +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 89 + +[Element Hardware Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master Mono] +switch = off +volume = off + +; This profile path is intended to control the second headphones, not +; the first headphones. But it should not hurt if we leave the +; headphone jack enabled nonetheless. +[Element Headphone] +switch = mute +volume = zero + +[Element Headphone2] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Speaker] +switch = off +volume = off + +[Element Front] +switch = off +volume = off + +[Element Rear] +switch = off +volume = off + +[Element Surround] +switch = off +volume = off + +[Element Side] +switch = off +volume = off + +[Element Center] +switch = off +volume = off + +[Element LFE] +switch = off +volume = off + +.include analog-output.conf.common diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf new file mode 100644 index 0000000..2131cfe --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf @@ -0,0 +1,82 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Path for mixers that have a 'Headphone' control +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 90 + +[Element Hardware Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master Mono] +switch = off +volume = off + +[Element Headphone] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +; This profile path is intended to control the first headphones, not +; the second headphones. But it should not hurt if we leave the second +; headphone jack enabled nonetheless. +[Element Headphone2] +switch = mute +volume = zero + +[Element Speaker] +switch = off +volume = off + +[Element Front] +switch = off +volume = off + +[Element Rear] +switch = off +volume = off + +[Element Surround] +switch = off +volume = off + +[Element Side] +switch = off +volume = off + +[Element Center] +switch = off +volume = off + +[Element LFE] +switch = off +volume = off + +.include analog-output.conf.common diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-lfe-on-mono.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-lfe-on-mono.conf new file mode 100644 index 0000000..0a43e27 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-lfe-on-mono.conf @@ -0,0 +1,85 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Intended for usage in laptops that have a seperate LFE speaker +; connected to the Master mono connector +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 40 + +[Element Hardware Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master] +switch = mute +volume = merge +override-map.1 = all-no-lfe +override-map.2 = all-left,all-right + +[Element Master Mono] +required = any +switch = mute +volume = merge +override-map.1 = lfe +override-map.2 = lfe,lfe + +; This profile path is intended to control the speaker, not the +; headphones. But it should not hurt if we leave the headphone jack +; enabled nonetheless. +[Element Headphone] +switch = mute +volume = zero + +[Element Headphone2] +switch = mute +volume = zero + +[Element Speaker] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Front] +switch = off +volume = off + +[Element Rear] +switch = off +volume = off + +[Element Surround] +switch = off +volume = off + +[Element Side] +switch = off +volume = off + +[Element Center] +switch = off +volume = off + +[Element LFE] +switch = off +volume = off + +.include analog-output.conf.common diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-mono.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-mono.conf new file mode 100644 index 0000000..542edc4 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-mono.conf @@ -0,0 +1,82 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Intended for usage on boards that have a seperate Mono output plug. +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 50 + +[Element Hardware Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master] +switch = off +volume = off + +[Element Master Mono] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +; This profile path is intended to control the speaker, not the +; headphones. But it should not hurt if we leave the headphone jack +; enabled nonetheless. +[Element Headphone] +switch = mute +volume = zero + +[Element Headphone2] +switch = mute +volume = zero + +[Element Speaker] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Front] +switch = off +volume = off + +[Element Rear] +switch = off +volume = off + +[Element Surround] +switch = off +volume = off + +[Element Side] +switch = off +volume = off + +[Element Center] +switch = off +volume = off + +[Element LFE] +switch = off +volume = off + +.include analog-output.conf.common diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf new file mode 100644 index 0000000..aea7853 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf @@ -0,0 +1,94 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Path for mixers that have a 'Speaker' control +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 100 + +[Element Hardware Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master] +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master Mono] +switch = off +volume = off + +; This profile path is intended to control the speaker, not the +; headphones. But it should not hurt if we leave the headphone jack +; enabled nonetheless. +[Element Headphone] +switch = mute +volume = zero + +[Element Headphone2] +switch = mute +volume = zero + +[Element Speaker] +required = any +switch = mute +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Front] +switch = mute +volume = merge +override-map.1 = all-front +override-map.2 = front-left,front-right + +[Element Rear] +switch = mute +volume = merge +override-map.1 = all-rear +override-map.2 = rear-left,rear-right + +[Element Surround] +switch = mute +volume = merge +override-map.1 = all-rear +override-map.2 = rear-left,rear-right + +[Element Side] +switch = mute +volume = merge +override-map.1 = all-side +override-map.2 = side-left,side-right + +[Element Center] +switch = mute +volume = merge +override-map.1 = all-center +override-map.2 = all-center,all-center + +[Element LFE] +switch = mute +volume = merge +override-map.1 = lfe +override-map.2 = lfe,lfe + +.include analog-output.conf.common diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf new file mode 100644 index 0000000..fc30800 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf @@ -0,0 +1,92 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Intended for the 'default' output. Note that a-o-speaker.conf has a +; higher priority than this +; +; See analog-output.conf.common for an explanation on the directives + +[General] +priority = 99 + +[Element Hardware Master] +switch = ignore +volume = merge +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master] +switch = ignore +volume = ignore +override-map.1 = all +override-map.2 = all-left,all-right + +[Element Master Mono] +switch = off +volume = off + +; This profile path is intended to control the default output, not the +; headphones. But it should not hurt if we leave the headphone jack +; enabled nonetheless. +[Element Headphone] +switch = ignore +volume = zero + +[Element Headphone2] +switch = ignore +volume = zero + +[Element Speaker] +switch = ignore +volume = off + +[Element Front] +switch = ignore +volume = merge +override-map.1 = all-front +override-map.2 = front-left,front-right + +[Element Rear] +switch = ignore +volume = merge +override-map.1 = all-rear +override-map.2 = rear-left,rear-right + +[Element Surround] +switch = ignore +volume = merge +override-map.1 = all-rear +override-map.2 = rear-left,rear-right + +[Element Side] +switch = ignore +volume = merge +override-map.1 = all-side +override-map.2 = side-left,side-right + +[Element Center] +switch = ignore +volume = merge +override-map.1 = all-center +override-map.2 = all-center,all-center + +[Element LFE] +switch = ignore +volume = merge +override-map.1 = lfe +override-map.2 = lfe,lfe + +.include analog-output.conf.common diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common new file mode 100644 index 0000000..98591ab --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common @@ -0,0 +1,130 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Common part of all paths + +; So here's generally how mixer paths are used by PA: PA goes through +; a mixer path file from top to bottom and checks if a mixer element +; described therein exists. If so it is added to the list of mixer +; elements PA will control, keeping the order it read them in. If a +; mixer element described here has set the required= or +; required-absent= directives a path might not be accepted as valid +; and is ignored in its entirety (see below). However usually if a +; element listed here is missing this one element is ignored but not +; the entire path. +; +; When a device shall be muted/unmuted *all* elements listed in a path +; file with "switch = mute" will be toggled. +; +; When a device shall change its volume, PA will got through the list +; of all elements with "volume = merge" and set the volume on the +; first element. If that element does not support dB volumes, this is +; where the story ends. If it does support dB volumes, PA divides the +; requested volume by the volume that was set on this element, and +; then go on to the next element with "volume = merge" and then set +; that there, and so on. That way the first volume element in the +; path will be the one that does the 'biggest' part of the overall +; volume adjustment, with the remaining elements usually being set to +; some value next to 0dB. This logic makes sure we get the full range +; over all volume sliders and a very high granularity of volumes +; already in hardware. +; +; All switches and enumerations set to "select" are exposed via the +; "port" functionality of sinks/sources. Basically every possible +; switch setting and every possible enumeration setting will be +; combined and made into a "port". So make sure you don't list too +; many switches/enums for exposing, because the number of ports might +; rise exponentially. +; +; Only one path can be selected at a time. All paths that are valid +; for an audio device will be exposed as "port" for the sink/source. + + +; [General] +; priority = ... # Priority for this path +; description = ... +; +; [Option ...:...] # For each option of an enumeration or switch element +; # that shall be exposed as a sink/source port. Needs to +; # be named after the Element, followed by a colon, followed +; # by the option name, resp. on/off if the element is a switch. +; name = ... # Logical name to use in the path identifier +; priority = ... # Priority if this is made into a device port +; +; [Element ...] # For each element that we shall control +; required = ignore | switch | volume | enumeration | any # If set, require this element to be of this kind and available, +; # otherwise don't consider this path valid for the card +; required-absent = ignore | switch | volume # If set, require this element to not be of this kind and not +; # available, otherwise don't consider this path valid for the card +; +; switch = ignore | mute | off | on | select # What to do with this switch: ignore it, make it follow mute status, +; # always set it to off, always to on, or make it selectable as port. +; # If set to 'select' you need to define an Option section for on +; # and off +; volume = ignore | merge | off | zero # What to do with this volume: ignore it, merge it into the device +; # volume slider, always set it to the lowest value possible, or always +; # set it to 0 dB (for whatever that means) +; enumeration = ignore | select # What to do with this enumeration, ignore it or make it selectable +; # via device ports. If set to 'select' you need to define an Option section +; # for each of the items you want to expose +; direction = playback | capture # Is this relevant only for playback or capture? If not set this will implicitly be +; # set the direction of the PCM device is opened as. Generally this doesn't need to be set +; # unless you have a broken driver that has playback controls marked for capture or vice +; # versa +; direction-try-other = no | yes # If the element does not supported what is requested, try the other direction, too? +; +; override-map.1 = ... # Override the channel mask of the mixer control if the control only exposes a single channel +; override-map.2 = ... # Override the channel masks of the mixer control if the control only exposes two channels +; # Override maps should list for each element channel which high-level channels it controls via a +; # channel mask. A channel mask may either be the name of a single channel, or the words "all-left", +; # "all-right", "all-center", "all-front", "all-rear", and "all" to encode a specific subset of +; # channels in a mask + +[Element PCM] +switch = ignore +;volume = merge +; we don't use hardware volume control +volume = zero +override-map.1 = all +override-map.2 = all-left,all-right + +[Element External Amplifier] +switch = select + +[Option External Amplifier:on] +name = output-amplifier-on +priority = 10 + +[Option External Amplifier:off] +name = output-amplifier-off +priority = 0 + +;;; 'Analog Output' + +[Element Analog Output] +enumeration = select + +[Option Analog Output:Speakers] +name = output-speaker +priority = 10 + +[Option Analog Output:Headphones] +name = output-headphones +priority = 9 + +[Option Analog Output:FP Headphones] +name = output-headphones +priority = 8 diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf new file mode 100644 index 0000000..9838138 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf @@ -0,0 +1,144 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Default profile definitions for the ALSA backend of PulseAudio. This +; is used as fallback for all cards that have no special mapping +; assigned. (and should be good enough for the vast majority of +; cards). Use the udev property PULSE_PROFILE_SET to assign a +; different profile set than this one to a device. So what is this +; about? Simply, what we do here is map ALSA devices to how they are +; exposed in PA. We say which ALSA device string to use to open a +; device, which channel mapping to use then, and which mixer path to +; use. This is encoded in a 'mapping'. Multiple of these mappings can +; be bound together in a 'profile' which is then directly exposed in +; the UI as a card profile. Each mapping assigned to a profile will +; result in one sink/source to be created if the profile is selected +; for the card. + +; [General] +; auto-profiles = no | yes # Instead of defining all profiles manually, autogenerate +; # them by combining every input mapping with every output mapping. +; +; [Mapping id] +; device-strings = ... # ALSA device string. %f will be replaced by the card identifier. +; channel-map = ... # Channel mapping to use for this device +; description = ... +; paths-input = ... # A list of mixer paths to use. Every path in this list will be probed. +; # If multiple are found to be working they will be available as device ports +; paths-output = ... +; element-input = ... # Instead of configuring a full mixer path simply configure a single +; # mixer element for volume/mute handling +; element-output = ... +; priority = ... +; direction = any | input | output # Only useful for? +; +; [Profile id] +; input-mappings = ... # Lists mappings for sources on this profile, those mapping must be +; # defined in this file too +; output-mappings = ... # Lists mappings for sinks on this profile, those mappings must be +; # defined in this file too +; description = ... +; priority = ... # Numeric value to deduce priority for this profile +; skip-probe = no | yes # Skip probing for availability? If this is yes then this profile +; # will be assumed as working without probing. Makes initialization +; # a bit faster but only works if the card is really known well. + +[General] +auto-profiles = yes + +[Mapping analog-mono] +device-strings = hw:0 +channel-map = mono +paths-output = analog-output analog-output-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono analog-output-lfe-on-mono +paths-input = analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line +priority = 1 + +[Mapping analog-stereo] +device-strings = front:%f hw:0 +channel-map = left,right +paths-output = analog-output analog-output-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono analog-output-lfe-on-mono +paths-input = analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line +priority = 10 + +[Mapping analog-surround-40] +device-strings = surround40:%f +channel-map = front-left,front-right,rear-left,rear-right +paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono +priority = 7 +direction = output + +[Mapping analog-surround-41] +device-strings = surround41:%f +channel-map = front-left,front-right,rear-left,rear-right,lfe +paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono +priority = 8 +direction = output + +[Mapping analog-surround-50] +device-strings = surround50:%f +channel-map = front-left,front-right,rear-left,rear-right,front-center +paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono +priority = 7 +direction = output + +[Mapping analog-surround-51] +device-strings = surround51:%f +channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe +paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono +priority = 8 +direction = output + +[Mapping analog-surround-71] +device-strings = surround71:%f +channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right +description = Analog Surround 7.1 +paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono +priority = 7 +direction = output + +[Mapping iec958-stereo] +device-strings = iec958:%f +channel-map = left,right +priority = 5 + +[Mapping iec958-surround-40] +device-strings = iec958:%f +channel-map = front-left,front-right,rear-left,rear-right +priority = 1 + +[Mapping iec958-ac3-surround-40] +device-strings = a52:%f +channel-map = front-left,front-right,rear-left,rear-right +priority = 2 +direction = output + +[Mapping iec958-ac3-surround-51] +device-strings = a52:%f +channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe +priority = 3 +direction = output + +[Mapping hdmi-stereo] +device-strings = hdmi:%f +channel-map = left,right +priority = 4 +direction = output + +; An example for defining multiple-sink profiles +#[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo] +#description = Foobar +#output-mappings = analog-stereo iec958-stereo +#input-mappings = analog-stereo diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio4dj.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio4dj.conf new file mode 100644 index 0000000..2b83530 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio4dj.conf @@ -0,0 +1,91 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Native Instruments Audio 4 DJ +; +; This card has two stereo pairs of input and two stereo pairs of +; output, named channels A and B. Channel B has an additional +; Headphone connector. +; +; We knowingly only define a subset of the theoretically possible +; mapping combinations as profiles here. +; +; See default.conf for an explanation on the directives used here. + +[General] +auto-profiles = no + +[Mapping analog-stereo-a] +description = Analog Stereo Channel A +device-strings = hw:%f,0,0 +channel-map = left,right + +[Mapping analog-stereo-b-output] +description = Analog Stereo Channel B (Headphones) +device-strings = hw:%f,0,1 +channel-map = left,right +direction = output + +[Mapping analog-stereo-b-input] +description = Analog Stereo Channel B +device-strings = hw:%f,0,1 +channel-map = left,right +direction = input + +[Profile output:analog-stereo-all+input:analog-stereo-all] +description = Analog Stereo Duplex Channels A, B (Headphones) +output-mappings = analog-stereo-a analog-stereo-b-output +input-mappings = analog-stereo-a analog-stereo-b-input +priority = 100 +skip-probe = yes + +[Profile output:analog-stereo-a+input:analog-stereo-a] +description = Analog Stereo Duplex Channel A +output-mappings = analog-stereo-a +input-mappings = analog-stereo-a +priority = 40 +skip-probe = yes + +[Profile output:analog-stereo-b+input:analog-stereo-b] +description = Analog Stereo Duplex Channel B (Headphones) +output-mappings = analog-stereo-b-output +input-mappings = analog-stereo-b-input +priority = 50 +skip-probe = yes + +[Profile output:analog-stereo-a] +description = Analog Stereo Output Channel A +output-mappings = analog-stereo-a +priority = 5 +skip-probe = yes + +[Profile output:analog-stereo-b] +description = Analog Stereo Output Channel B (Headphones) +output-mappings = analog-stereo-b-output +priority = 6 +skip-probe = yes + +[Profile input:analog-stereo-a] +description = Analog Stereo Input Channel A +input-mappings = analog-stereo-a +priority = 2 +skip-probe = yes + +[Profile input:analog-stereo-b] +description = Analog Stereo Input Channel B +input-mappings = analog-stereo-b-input +priority = 1 +skip-probe = yes diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio8dj.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio8dj.conf new file mode 100644 index 0000000..3fe3cc5 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/profile-sets/native-instruments-audio8dj.conf @@ -0,0 +1,162 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Native Instruments Audio 8 DJ +; +; This card has four stereo pairs of input and four stereo pairs of +; output, named channels A to D. Channel C has an additional Mic/Line +; connector, channel D an additional Headphone connector. +; +; We knowingly only define a subset of the theoretically possible +; mapping combinations as profiles here. +; +; See default.conf for an explanation on the directives used here. + +[General] +auto-profiles = no + +[Mapping analog-stereo-a] +description = Analog Stereo Channel A +device-strings = hw:%f,0,0 +channel-map = left,right + +[Mapping analog-stereo-b] +description = Analog Stereo Channel B +device-strings = hw:%f,0,1 +channel-map = left,right + +# Since we want to set a different description for channel C's/D's input +# and output we define two seperate mappings for them +[Mapping analog-stereo-c-output] +description = Analog Stereo Channel C +device-strings = hw:%f,0,2 +channel-map = left,right +direction = output + +[Mapping analog-stereo-c-input] +description = Analog Stereo Channel C (Line/Mic) +device-strings = hw:%f,0,2 +channel-map = left,right +direction = input + +[Mapping analog-stereo-d-output] +description = Analog Stereo Channel D (Headphones) +device-strings = hw:%f,0,3 +channel-map = left,right +direction = output + +[Mapping analog-stereo-d-input] +description = Analog Stereo Channel D +device-strings = hw:%f,0,3 +channel-map = left,right +direction = input + +[Profile output:analog-stereo-all+input:analog-stereo-all] +description = Analog Stereo Duplex Channels A, B, C (Line/Mic), D (Headphones) +output-mappings = analog-stereo-a analog-stereo-b analog-stereo-c-output analog-stereo-d-output +input-mappings = analog-stereo-a analog-stereo-b analog-stereo-c-input analog-stereo-d-input +priority = 100 +skip-probe = yes + +[Profile output:analog-stereo-d+input:analog-stereo-c] +description = Analog Stereo Channel D (Headphones) Output, Channel C (Line/Mic) Input +output-mappings = analog-stereo-d-output +input-mappings = analog-stereo-c-input +priority = 90 +skip-probe = yes + +[Profile output:analog-stereo-c-d+input:analog-stereo-c-d] +description = Analog Stereo Duplex Channels C (Line/Mic), D (Line/Mic) +output-mappings = analog-stereo-c-output analog-stereo-d-output +input-mappings = analog-stereo-c-input analog-stereo-d-input +priority = 80 +skip-probe = yes + +[Profile output:analog-stereo-a+input:analog-stereo-a] +description = Analog Stereo Duplex Channel A +output-mappings = analog-stereo-a +input-mappings = analog-stereo-a +priority = 50 +skip-probe = yes + +[Profile output:analog-stereo-b+input:analog-stereo-b] +description = Analog Stereo Duplex Channel B +output-mappings = analog-stereo-b +input-mappings = analog-stereo-b +priority = 40 +skip-probe = yes + +[Profile output:analog-stereo-c+input:analog-stereo-c] +description = Analog Stereo Duplex Channel C (Line/Mic) +output-mappings = analog-stereo-c-output +input-mappings = analog-stereo-c-input +priority = 60 +skip-probe = yes + +[Profile output:analog-stereo-d+input:analog-stereo-d] +description = Analog Stereo Duplex Channel D (Headphones) +output-mappings = analog-stereo-d-output +input-mappings = analog-stereo-d-input +priority = 70 +skip-probe = yes + +[Profile output:analog-stereo-a] +description = Analog Stereo Output Channel A +output-mappings = analog-stereo-a +priority = 6 +skip-probe = yes + +[Profile output:analog-stereo-b] +description = Analog Stereo Output Channel B +output-mappings = analog-stereo-b +priority = 5 +skip-probe = yes + +[Profile output:analog-stereo-c] +description = Analog Stereo Output Channel C +output-mappings = analog-stereo-c-output +priority = 7 +skip-probe = yes + +[Profile output:analog-stereo-d] +description = Analog Stereo Output Channel D (Headphones) +output-mappings = analog-stereo-d-output +priority = 8 +skip-probe = yes + +[Profile input:analog-stereo-a] +description = Analog Stereo Input Channel A +input-mappings = analog-stereo-a +priority = 2 +skip-probe = yes + +[Profile input:analog-stereo-b] +description = Analog Stereo Input Channel B +input-mappings = analog-stereo-b +priority = 1 +skip-probe = yes + +[Profile input:analog-stereo-c] +description = Analog Stereo Input Channel C (Line/Mic) +input-mappings = analog-stereo-c-input +priority = 4 +skip-probe = yes + +[Profile input:analog-stereo-d] +description = Analog Stereo Input Channel D +input-mappings = analog-stereo-d-input +priority = 3 +skip-probe = yes diff --git a/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/profile-sets/tizen_usb.conf b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/profile-sets/tizen_usb.conf new file mode 100644 index 0000000..31bc6a6 --- /dev/null +++ b/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/profile-sets/tizen_usb.conf @@ -0,0 +1,120 @@ +# This file is part of PulseAudio. +# +# PulseAudio is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of the +# License, or (at your option) any later version. +# +# PulseAudio is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with PulseAudio; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +; Default profile definitions for the ALSA backend of PulseAudio. This +; is used as fallback for all cards that have no special mapping +; assigned (and should be good enough for the vast majority of +; cards). If you want to assign a different profile set than this one +; to a device, either set the udev property PULSE_PROFILE_SET for the +; card, or use the "profile_set" module argument when loading +; module-alsa-card. +; +; So what is this about? Simply, what we do here is map ALSA devices +; to how they are exposed in PA. We say which ALSA device string to +; use to open a device, which channel mapping to use then, and which +; mixer path to use. This is encoded in a 'mapping'. Multiple of these +; mappings can be bound together in a 'profile' which is then directly +; exposed in the UI as a card profile. Each mapping assigned to a +; profile will result in one sink/source to be created if the profile +; is selected for the card. +; +; Additionally, the path set configuration files can describe the +; decibel values assigned to the steps of the volume elements. This +; can be used to work around situations when the alsa driver doesn't +; provide any decibel information, or when the information is +; incorrect. + + +; [General] +; auto-profiles = no | yes # Instead of defining all profiles manually, autogenerate +; # them by combining every input mapping with every output mapping. +; +; [Mapping id] +; device-strings = ... # ALSA device string. %f will be replaced by the card identifier. +; channel-map = ... # Channel mapping to use for this device +; description = ... +; paths-input = ... # A list of mixer paths to use. Every path in this list will be probed. +; # If multiple are found to be working they will be available as device ports +; paths-output = ... +; element-input = ... # Instead of configuring a full mixer path simply configure a single +; # mixer element for volume/mute handling +; element-output = ... +; priority = ... +; direction = any | input | output # Only useful for? +; +; [Profile id] +; input-mappings = ... # Lists mappings for sources on this profile, those mapping must be +; # defined in this file too +; output-mappings = ... # Lists mappings for sinks on this profile, those mappings must be +; # defined in this file too +; description = ... +; priority = ... # Numeric value to deduce priority for this profile +; skip-probe = no | yes # Skip probing for availability? If this is yes then this profile +; # will be assumed as working without probing. Makes initialization +; # a bit faster but only works if the card is really known well. +; +; [DecibelFix element] # Decibel fixes can be used to work around missing or incorrect dB +; # information from alsa. A decibel fix is a table that maps volume steps +; # to decibel values for one volume element. The "element" part in the +; # section title is the name of the volume element. +; # +; # NOTE: This feature is meant just as a help for figuring out the correct +; # decibel values. PulseAudio is not the correct place to maintain the +; # decibel mappings! +; # +; # If you need this feature, then you should make sure that when you have +; # the correct values figured out, the alsa driver developers get informed +; # too, so that they can fix the driver. +; +; db-values = ... # The option value consists of pairs of step numbers and decibel values. +; # The pairs are separated with whitespace, and steps are separated from +; # the corresponding decibel values with a colon. The values must be in an +; # increasing order. Here's an example of a valid string: +; # +; # "0:-40.50 1:-38.70 3:-33.00 11:0" +; # +; # The lowest step imposes a lower limit for hardware volume and the +; # highest step correspondingly imposes a higher limit. That means that +; # that the mixer will never be set outside those values - the rest of the +; # volume scale is done using software volume. +; # +; # As can be seen in the example, you don't need to specify a dB value for +; # each step. The dB values for skipped steps will be linearly interpolated +; # using the nearest steps that are given. + +[General] +auto-profiles = yes + +[Mapping usb-analog-stereo] +device-strings = hw:%f +channel-map = left,right +paths-output = analog-output analog-output-speaker analog-output-desktop-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono analog-output-lfe-on-mono +priority = 10 +direction = output + +[Mapping usb-analog-surround-51] +device-strings = hw:%f +;channel-map = front-left,front-right,front-center,lfe,rear-left,rear-right +channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe +paths-output = analog-output analog-output-speaker analog-output-desktop-speaker analog-output-lfe-on-mono +priority = 180 +direction = output + +; An example for defining multiple-sink profiles +#[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo] +#description = Foobar +#output-mappings = analog-stereo iec958-stereo +#input-mappings = analog-stereo diff --git a/mmfw-sysconf-simulator/etc/pulse/client.conf b/mmfw-sysconf-simulator/etc/pulse/client.conf index 8e0de79..2680be0 100644 --- a/mmfw-sysconf-simulator/etc/pulse/client.conf +++ b/mmfw-sysconf-simulator/etc/pulse/client.conf @@ -23,7 +23,7 @@ ; default-source = ; default-server = -; autospawn = yes +autospawn = no ; daemon-binary = /usr/bin/pulseaudio ; extra-arguments = --log-target=syslog diff --git a/mmfw-sysconf-simulator/etc/pulse/daemon.conf b/mmfw-sysconf-simulator/etc/pulse/daemon.conf index 506fe7d..77fd944 100644 --- a/mmfw-sysconf-simulator/etc/pulse/daemon.conf +++ b/mmfw-sysconf-simulator/etc/pulse/daemon.conf @@ -45,7 +45,7 @@ realtime-priority = 5 ; default-script-file = log-target = dlog-color -; log-level = notice +log-level = verbose ; log-meta = no ; log-time = no ; log-backtrace = 0 diff --git a/mmfw-sysconf-simulator/etc/pulse/system.pa b/mmfw-sysconf-simulator/etc/pulse/system.pa index aedede5..b86124f 100644..100755 --- a/mmfw-sysconf-simulator/etc/pulse/system.pa +++ b/mmfw-sysconf-simulator/etc/pulse/system.pa @@ -28,15 +28,15 @@ load-module module-role-ducking global=1 volume=0 ### Currently do not use module-udev-detect, because there is some problem. ### STATIC DEVICE LOAD -#load-module module-alsa-sink sink_name=alsa_output.0.analog-stereo device=hw:0,3 -#load-module module-alsa-source source_name=alsa_input.0.analog-stereo device=hw:0,0 +load-module module-alsa-sink sink_name=alsa_output.0.analog-stereo device=hw:0,0 +load-module module-alsa-source source_name=alsa_input.0.analog-stereo device=hw:0,0 ### AUTOMATIC DEVICE LOAD ### Automatically load driver modules depending on the hardware available #.ifexists module-udev-detect.so #load-module module-udev-detect #.else ### Use the static hardware detection module (for systems that lack udev/hal support) -load-module module-detect +#load-module module-detect #.endif @@ -46,7 +46,7 @@ load-module module-esound-protocol-unix .endif load-module module-native-protocol-unix -load-module module-bluetooth-discover +#load-module module-bluetooth-discover @@ -57,10 +57,10 @@ load-module module-bluetooth-discover ### Automatically restore the default sink/source when changed by the user during runtime load-module module-default-device-restore -.ifexists module-dbus-protocol.so +#.ifexists module-dbus-protocol.so ### If you want to allow TCP connections, set access to "remote" or "local,remote". -load-module module-dbus-protocol access=local -.endif +#load-module module-dbus-protocol access=local +#.endif ### Automatically move streams to the default sink if the sink they are ### connected to dies, similar for sources @@ -81,5 +81,4 @@ set-default-source alsa_input.0.analog-stereo load-module module-null-sink load-module module-null-source -load-module module-remap-sink sink_name=mono_alsa master=alsa_output.0.analog-stereo channels=1 load-sample camera-shutter /usr/share/sounds/mm-camcorder/capture_shutter_02.wav diff --git a/mmfw-sysconf-simulator/usr/etc/mmfw_audio_volume.ini b/mmfw-sysconf-simulator/usr/etc/mmfw_audio_volume.ini index f361b01..09a9a97 100755 --- a/mmfw-sysconf-simulator/usr/etc/mmfw_audio_volume.ini +++ b/mmfw-sysconf-simulator/usr/etc/mmfw_audio_volume.ini @@ -17,4 +17,3 @@ gain_midi = 1.00 gain_booting = 0.40 gain_video = 0.90 gain_tts = 1.00 - diff --git a/mmfw-sysconf-simulator/usr/etc/mmfw_camcorder.ini b/mmfw-sysconf-simulator/usr/etc/mmfw_camcorder.ini index 6fb2e22..097aee5 100644 --- a/mmfw-sysconf-simulator/usr/etc/mmfw_camcorder.ini +++ b/mmfw-sysconf-simulator/usr/etc/mmfw_camcorder.ini @@ -39,8 +39,9 @@ DeviceCount = 2 SupportMediaPacketPreviewCb = 0 [AudioInput] -AudiosrcElement = pulsesrc | 2,0 | do-timestamp,1 | slave-method,3 -AudiomodemsrcElement = audiotestsrc | 2,0 | do-timestamp,1 | is-live,1 +AudioDevice = 0,1 || 0 +AudiosrcElement = pulsesrc | 2,0 | do-timestamp,1 | blocksize,640 +AudiomodemsrcElement = pulsesrc | 2,0 | do-timestamp,1 | blocksize,640 [VideoOutput] ; DisplayDevice @@ -52,19 +53,19 @@ DisplayMode = 0 || 0 ; Videosink ;;; 0: X surface, 1: Evas surface, 2: GL surface, 3: NULL surface Videosink = 0,1,3 || 0 -VideosinkElementX = xvimagesink | 6,0 | draw-borders,0 | force-aspect-ratio,1 | enable-last-buffer,0 | qos,0 | sync,0 | show-preroll-frame,0 -VideosinkElementEvas = evaspixmapsink | 4,0 | enable-last-buffer,0 | qos,0 | sync,0 | show-preroll-frame,0 -VideosinkElementNull = fakesink | 3,0 | qos,0 | sync,0 | enable-last-buffer,0 +VideosinkElementX = xvimagesink | 7,0 | draw-borders,0 | force-aspect-ratio,1 | enable-last-sample,0 | qos,0 | sync,0 | show-preroll-frame,0 | handle-expose,0 +VideosinkElementEvas = evaspixmapsink | 4,0 | enable-last-sample,0 | qos,0 | sync,0 | show-preroll-frame,0 +VideosinkElementNull = fakesink | 3,0 | qos,0 | sync,0 | enable-last-sample,0 UseVideoscale = 0 VideoscaleElement = videoscale | 1,0 | method,1 [VideoEncoder] -H263 = maru_h263penc | 0,0 -MPEG4 = maru_mpeg4enc | 0,0 +H263 = avenc_h263p | 1,0 | compliance, -2 +MPEG4 = avenc_mpeg4 | 1,0 | compliance, -2 [AudioEncoder] AMR = amrnbenc | 0,0 -AAC = maru_aacenc | 0,0 +AAC = avenc_aac | 1,0 | compliance, -2 WAVE = wavenc | 0,0 VORBIS = vorbisenc | 0,0 @@ -76,7 +77,7 @@ PNG = pngenc | 0,0 UseEncodebin = 1 UseCaptureMode = 0 VideoscaleElement = videoscale | 1,0 | method,1 -PlayCaptureSound = 0 +PlayCaptureSound = 1 [Record] UseAudioEncoderQueue = 1 @@ -99,10 +100,10 @@ DropVideoFrame = 0 PassFirstVideoFrame = 0 [Mux] -3GP = ffmux_3gp | 0,0 -AMR = ffmux_amr | 0,0 -MP4 = ffmux_mp4 | 0,0 +3GP = avmux_3gp | 0,0 +AMR = avmux_amr | 0,0 +MP4 = avmux_mp4 | 0,0 OGG = oggmux | 0,0 WAV = wavenc | 0,0 -AAC = ffmux_adts | 0,0 +AAC = avmux_adts | 0,0 diff --git a/mmfw-sysconf-simulator/usr/etc/mmfw_camcorder_dev_video_pri.ini b/mmfw-sysconf-simulator/usr/etc/mmfw_camcorder_dev_video_pri.ini index 5087251..872ea19 100644 --- a/mmfw-sysconf-simulator/usr/etc/mmfw_camcorder_dev_video_pri.ini +++ b/mmfw-sysconf-simulator/usr/etc/mmfw_camcorder_dev_video_pri.ini @@ -26,7 +26,10 @@ DeviceName = virtual driver PreviewResolution = 176,144 | 320,240 | 352,288 | 640,480 || 640,480 CaptureResolution = 176,144 | 320,240 | 352,288 | 640,480 || 640,480 VideoResolution = 176,144 | 320,240 | 352,288 | 640,480 || 640,480 -FPS = 30 || 30 +FPS0 = 30 || 30 +FPS1 = 30 || 30 +FPS2 = 30 || 30 +FPS3 = 30 || 30 ; PictureForamt - MSL value ;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED PictureFormat = 4,7,8 || 4 diff --git a/mmfw-sysconf-simulator/usr/etc/mmfw_camcorder_dev_video_sec.ini b/mmfw-sysconf-simulator/usr/etc/mmfw_camcorder_dev_video_sec.ini index 5fa733e..d1b8e46 100644 --- a/mmfw-sysconf-simulator/usr/etc/mmfw_camcorder_dev_video_sec.ini +++ b/mmfw-sysconf-simulator/usr/etc/mmfw_camcorder_dev_video_sec.ini @@ -26,7 +26,10 @@ DeviceName = virtual driver PreviewResolution = 176,144 | 320,240 | 352,288 | 640,480 || 640,480 CaptureResolution = 176,144 | 320,240 | 352,288 | 640,480 || 640,480 VideoResolution = 176,144 | 320,240 | 352,288 | 640,480 || 640,480 -FPS = 30 || 30 +FPS0 = 30 || 30 +FPS1 = 30 || 30 +FPS2 = 30 || 30 +FPS3 = 30 || 30 ; PictureForamt - MSL value ;;; 0:NV12, 1:NV12T, 2:NV16, 3:NV21, 4:YUYV, 5:UYVY, 6:422P, 7:I420, 8:YV12, 9:RGB565, 10:RGB888, 11:RGBA, 12:ARGB, 13:ENCODED PictureFormat = 4,7,8 || 4 diff --git a/mmfw-sysconf-simulator/usr/etc/mmfw_media_codec.ini b/mmfw-sysconf-simulator/usr/etc/mmfw_media_codec.ini new file mode 100644 index 0000000..873a128 --- /dev/null +++ b/mmfw-sysconf-simulator/usr/etc/mmfw_media_codec.ini @@ -0,0 +1,89 @@ +[h261] +hw_decoder = , , +hw_encoder = , , +sw_decoder = , , +sw_encoder = , , + +[h263] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_h263, video/x-h263, I420 +sw_encoder = avenc_h263, video/x-raw, H263P + +[h264] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_h264, video/x-h264, I420 +sw_encoder = avenc_h264, video/x-raw, H264_SP + +[mpeg4] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_h264, video/x-h264, I420 +sw_encoder = avenc_h264, video/x-raw, MPEG4_SP + +[aac_lc] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_aac, audio/mpeg, PCM +sw_encoder = avenc_aac, audio/x-raw, AAC_LC + +[aac_he] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_aac, audio/mpeg, PCM +sw_encoder = , , + +[aac_he_ps] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_aac, audio/mpeg, PCM +sw_encoder = , , + +[mp3] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_mp3, audio/mpeg, PCM +sw_encoder = , , + +[amr_nb] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_amrnb, audio/AMR, PCM +sw_encoder = amrnbenc, audio/x-raw, AMR_NB + +[amr_wb] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_amrwb, audio/AMR-WB, PCM +sw_encoder = , , + +[vorbis] +hw_decoder = , , +hw_encoder = , , +sw_decoder = vorbisdec, audio/x-vorbis, PCM +sw_encoder = , , + +[flac] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_flac, audio/x-flac, PCM +sw_encoder = , , + +[wmav1] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_wmav1, audio/x-wma, PCM +sw_encoder = , , + +[wmav2] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_wmav2, audio/x-wma, PCM +sw_encoder = , , + +[wmapro] +hw_decoder = , , +hw_encoder = , , +sw_decoder = avdec_wmapro, audio/x-wma, PCM +sw_encoder = , , diff --git a/mmfw-sysconf-simulator/usr/etc/mmfw_player.ini b/mmfw-sysconf-simulator/usr/etc/mmfw_player.ini index 13fdc13..e909ab5 100644..100755 --- a/mmfw-sysconf-simulator/usr/etc/mmfw_player.ini +++ b/mmfw-sysconf-simulator/usr/etc/mmfw_player.ini @@ -1,46 +1,44 @@ [general] -; if disabled typefind element will used directely -use decodebin = no ; async state change problem exist - -use sink handler = yes - disable segtrap = yes ; same effect with --gst-disable-segtrap -; set default videosink element according to video surface type(X, EVAS, NULL) +; set default videosink element according to video surface type videosink element x = xvimagesink videosink element evas = evaspixmapsink videosink element fake = fakesink -video converter element = ffmpegcolorspace +video converter element = videoconvert audiosink element = pulsesink -drmsrc element = filesrc - ; if yes. gstreamer will not update registry skip rescan = yes delay before repeat = 50 ; msec ; comma separated list of tocken which elemnts has it in it's name will not be used -element exclude keyword = omx_ +element exclude keyword = -async start = yes +; comma separated list of tocken +unsupported codec keyword = divx -multiple codec supported = yes +async start = yes ; parameters for initializing gstreamer -gstparam1 = +gstparam1 = --gst-debug=2 gstparam2 = gstparam3 = gstparam4 = gstparam5 = ; generating dot file representing pipeline state +; export GST_DEBUG_DUMP_DOT_DIR= generate dot = no -; parameter for clock provide in audiosink -provide clock = yes +; parameter is for only video to be determined +; which clock will be used +; if yes, system clock will be used +; apart from this, audiosink is clock provider for audio +use system clock = yes ; allowed timeout for changing pipeline state live state change timeout = 30 ; sec @@ -49,48 +47,13 @@ localplayback state change timeout = 10 ; sec ; delay in msec for sending EOS eos delay = 150 ; msec - [http streaming] httpsrc element = souphttpsrc ; if set, use file or not use memory for buffering http file buffer path = /opt/usr/media - http buffering limit = 99.0 ; percent - http max size bytes = 1048576 ; bytes - http buffering time = 1.2 - -http timeout = 30 ; sec - - -[rtsp streaming] - -rtspsrc element = rtspsrc - -rtsp buffering time = 5000; msec - -rtsp rebuffering time = 15000; msec - -rtsp do typefinding = no; if no, caps on rtspsrc:src pad will be used for autoplugging - -rtsp error concealment = yes - - -[hw accelation] -use video hw accel = no - - -[priority] - -use priority setting = no - -demux = 95 - -videosink = 96 - -audiosink = 97 - -ringbuffer = 98 +http timeout = 20 ; sec diff --git a/packaging/mmfw-sysconf.spec b/packaging/mmfw-sysconf.spec index fdb7e72..0554557 100644 --- a/packaging/mmfw-sysconf.spec +++ b/packaging/mmfw-sysconf.spec @@ -1,6 +1,6 @@ Name: mmfw-sysconf Summary: Multimedia Framework system configuration package -Version: 0.1.230 +Version: 0.1.260 Release: 0 VCS: framework/multimedia/mmfw-sysconf#mmfw-sysconf_0.1.110-0-144-g25720f9f7daad9a897662eb6059d71d958cc3f06 Group: System Environment/Multimedia @@ -27,13 +27,29 @@ License: LGPL-2.1+ and Apache-2.0 %description e3250 Multimedia Framework system configuration package for e3250 -%package msm8x26 -Summary: Multimedia Framework system configuration package for msm8x26 +%package hawkp +Summary: Multimedia Framework system configuration package for hawkp Group: System Environment/Multimedia License: LGPL-2.1+ and Apache-2.0 -%description msm8x26 -Multimedia Framework system configuration package for msm8x26 +%description hawkp +Multimedia Framework system configuration package for hawkp + +%package sc7727s +Summary: Multimedia Framework system configuration package for sc7727s +Group: System Environment/Multimedia +License: LGPL-2.1+ and Apache-2.0 + +%description sc7727s +Multimedia Framework system configuration package for sc7727s + +%package sc7730s +Summary: Multimedia Framework system configuration package for sc7730s +Group: System Environment/Multimedia +License: LGPL-2.1+ and Apache-2.0 + +%description sc7730s +Multimedia Framework system configuration package for sc7730s %else %package simulator Summary: Multimedia Framework system configuration package for simulator @@ -56,17 +72,27 @@ mkdir -p %{buildroot}/usr mkdir -p %{buildroot}/usr/share/license %ifarch %{arm} %if "%{?tizen_profile_name}" == "wearable" -%if "%{?tizen_target_name}" == "B3" -cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/%{name}-msm8x26 -cat LICENSE.LGPLv2.1 >> %{buildroot}/usr/share/license/%{name}-msm8x26 -%else cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/%{name}-e3250 cat LICENSE.LGPLv2.1 >> %{buildroot}/usr/share/license/%{name}-e3250 %endif +%if "%{?tizen_profile_name}" == "mobile" +%if "%{?tizen_target_name}" == "Z130H" +cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/%{name}-sc7727s +cat LICENSE.LGPLv2.1 >> %{buildroot}/usr/share/license/%{name}-sc7727s +%else +%if "%{?tizen_target_name}" == "Z300H" +cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/%{name}-sc7730s +cat LICENSE.LGPLv2.1 >> %{buildroot}/usr/share/license/%{name}-sc7730s %else cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/%{name}-cleansdk-e4x12 cat LICENSE.LGPLv2.1 >> %{buildroot}/usr/share/license/%{name}-cleansdk-e4x12 %endif +%endif +%endif +%if "%{?tizen_profile_name}" == "tv" +cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/%{name}-hawkp +cat LICENSE.LGPLv2.1 >> %{buildroot}/usr/share/license/%{name}-hawkp +%endif %else cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/mmfw-sysconf-simulator cat LICENSE.LGPLv2.1 >> %{buildroot}/usr/share/license/mmfw-sysconf-simulator @@ -78,8 +104,12 @@ mkdir -p %{buildroot}/mmfw-sysconf-cleansdk-e4x12 cp -arf mmfw-sysconf-cleansdk-e4x12/* %{buildroot}/mmfw-sysconf-cleansdk-e4x12 mkdir -p %{buildroot}/mmfw-sysconf-e3250 cp -arf mmfw-sysconf-e3250/* %{buildroot}/mmfw-sysconf-e3250 -mkdir -p %{buildroot}/mmfw-sysconf-msm8x26 -cp -arf mmfw-sysconf-msm8x26/* %{buildroot}/mmfw-sysconf-msm8x26 +mkdir -p %{buildroot}/mmfw-sysconf-hawkp +cp -arf mmfw-sysconf-hawkp/* %{buildroot}/mmfw-sysconf-hawkp +mkdir -p %{buildroot}/mmfw-sysconf-sc7727s +cp -arf mmfw-sysconf-sc7727s/* %{buildroot}/mmfw-sysconf-sc7727s +mkdir -p %{buildroot}/mmfw-sysconf-sc7730s +cp -arf mmfw-sysconf-sc7730s/* %{buildroot}/mmfw-sysconf-sc7730s %else mkdir -p %{buildroot}/mmfw-sysconf-simulator cp -arf mmfw-sysconf-simulator/* %{buildroot}/mmfw-sysconf-simulator @@ -92,9 +122,15 @@ rm -rf /mmfw-sysconf-cleansdk-e4x12 %post e3250 cp -arf /mmfw-sysconf-e3250/* / rm -rf /mmfw-sysconf-e3250 -%post msm8x26 -cp -arf /mmfw-sysconf-msm8x26/* / -rm -rf /mmfw-sysconf-msm8x26 +%post hawkp +cp -arf /mmfw-sysconf-hawkp/* / +rm -rf /mmfw-sysconf-hawkp +%post sc7727s +cp -arf /mmfw-sysconf-sc7727s/* / +rm -rf /mmfw-sysconf-sc7727s +%post sc7730s +cp -arf /mmfw-sysconf-sc7730s/* / +rm -rf /mmfw-sysconf-sc7730s %else %post simulator cp -arf /mmfw-sysconf-simulator/* / @@ -129,21 +165,52 @@ rm -rf /mmfw-sysconf-simulator /mmfw-sysconf-e3250/opt/system/* /usr/share/license/* -%files msm8x26 -%manifest mmfw-sysconf-msm8x26.manifest +%files hawkp +%manifest mmfw-sysconf-hawkp.manifest %defattr(-,root,root,-) -/mmfw-sysconf-msm8x26/etc/asound.conf -/mmfw-sysconf-msm8x26/etc/pulse/* -/mmfw-sysconf-msm8x26/etc/profile.d/* -/mmfw-sysconf-msm8x26/usr/etc/*.ini -/mmfw-sysconf-msm8x26/usr/etc/*.txt -/mmfw-sysconf-msm8x26/usr/etc/gst-openmax.conf -/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/*.conf -/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/paths/*.common -/mmfw-sysconf-msm8x26/usr/share/pulseaudio/alsa-mixer/profile-sets/*.conf -/mmfw-sysconf-msm8x26/opt/system/* +/mmfw-sysconf-hawkp/etc/asound.conf +/mmfw-sysconf-hawkp/etc/pulse/* +/mmfw-sysconf-hawkp/usr/etc/*.ini +/mmfw-sysconf-hawkp/usr/etc/gstreamer-registry.sh +/mmfw-sysconf-hawkp/usr/etc/gstreamer-registry-copy.sh +/mmfw-sysconf-hawkp/usr/etc/gst-openmax.conf +/mmfw-sysconf-hawkp/usr/etc/gst-tz-openmax.conf +/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/*.conf +/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/paths/*.common +/mmfw-sysconf-hawkp/usr/share/pulseaudio/alsa-mixer/profile-sets/*.conf /usr/share/license/* +%files sc7727s +%manifest mmfw-sysconf-sc7727s.manifest +%defattr(-,root,root,-) +/mmfw-sysconf-sc7727s/etc/asound.conf +/mmfw-sysconf-sc7727s/etc/pulse/* +/mmfw-sysconf-sc7727s/etc/profile.d/* +/mmfw-sysconf-sc7727s/usr/etc/*.ini +/mmfw-sysconf-sc7727s/usr/etc/miccalib.txt +/mmfw-sysconf-sc7727s/usr/etc/codec_pga.xml +/mmfw-sysconf-sc7727s/usr/etc/audio_hw.xml +/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/*.conf +/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/paths/*.common +/mmfw-sysconf-sc7727s/usr/share/pulseaudio/alsa-mixer/profile-sets/*.conf +/mmfw-sysconf-sc7727s/opt/system/* +/usr/share/license/* + +%files sc7730s +%manifest mmfw-sysconf-sc7730s.manifest +%defattr(-,root,root,-) +/mmfw-sysconf-sc7730s/etc/asound.conf +/mmfw-sysconf-sc7730s/etc/pulse/* +/mmfw-sysconf-sc7730s/etc/profile.d/* +/mmfw-sysconf-sc7730s/usr/etc/*.ini +/mmfw-sysconf-sc7730s/usr/etc/miccalib.txt +/mmfw-sysconf-sc7730s/usr/etc/codec_pga.xml +/mmfw-sysconf-sc7730s/usr/etc/audio_hw.xml +/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/*.conf +/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/paths/*.common +/mmfw-sysconf-sc7730s/usr/share/pulseaudio/alsa-mixer/profile-sets/*.conf +/mmfw-sysconf-sc7730s/opt/system/* +/usr/share/license/* %else %files simulator %manifest mmfw-sysconf-simulator.manifest |