diff options
author | Seungbae Shin <seungbae.shin@samsung.com> | 2021-11-29 16:34:45 +0900 |
---|---|---|
committer | Seungbae Shin <seungbae.shin@samsung.com> | 2021-11-29 16:42:48 +0900 |
commit | 978c9f58e9d990ed267dca5bd269058ca5700c46 (patch) | |
tree | 7b881dcd9ef86b1e1b6e9109d8646aa1cbf27d0b /media-config-target-c4 | |
parent | 5d95777e57bb64878d554934e8c14eb6fbcfac6b (diff) | |
download | media-config-978c9f58e9d990ed267dca5bd269058ca5700c46.tar.gz media-config-978c9f58e9d990ed267dca5bd269058ca5700c46.tar.bz2 media-config-978c9f58e9d990ed267dca5bd269058ca5700c46.zip |
[all][audio] load camera sample caches with lazy option for saving idle memorysubmit/tizen/20211130.085503accepted/tizen/unified/20211130.220334
Each unloaded sample will be loaded once it is time to be played,
automatically unloaded after 1 min after last use.
This change saves about 448 kB idle memory for given preloading samples.
[Version] 0.3.31
[Issue Type] Update
Change-Id: Ib9361263a48586246d7084b94d48793136e6dcb0
Diffstat (limited to 'media-config-target-c4')
-rw-r--r-- | media-config-target-c4/hal/etc/pulse/system.pa | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/media-config-target-c4/hal/etc/pulse/system.pa b/media-config-target-c4/hal/etc/pulse/system.pa index 1cbca96..780d446 100644 --- a/media-config-target-c4/hal/etc/pulse/system.pa +++ b/media-config-target-c4/hal/etc/pulse/system.pa @@ -68,7 +68,7 @@ load-module module-always-sink ### Automatically suspend sinks/sources that become idle for too long load-module module-suspend-on-idle timeout=1 -load-sample camera-shutter-01 /usr/share/sounds/mm-camcorder/capture_shutter_01.ogg -load-sample camera-shutter-02 /usr/share/sounds/mm-camcorder/capture_shutter_02.ogg -load-sample recording-start /usr/share/sounds/mm-camcorder/recording_start_01.ogg -load-sample recording-stop /usr/share/sounds/mm-camcorder/recording_stop_01.ogg +load-sample-lazy camera-shutter-01 /usr/share/sounds/mm-camcorder/capture_shutter_01.ogg +load-sample-lazy camera-shutter-02 /usr/share/sounds/mm-camcorder/capture_shutter_02.ogg +load-sample-lazy recording-start /usr/share/sounds/mm-camcorder/recording_start_01.ogg +load-sample-lazy recording-stop /usr/share/sounds/mm-camcorder/recording_stop_01.ogg |