ccimx6sbc: pulseaudio: change module-suspend-on-idle timeout to 0
In pulseaudio, module-suspend-on-idle controls how much time a sink spends in the 'idle' state before going to 'suspended'. This means the ALSA device associated with the sink stays busy for a few seconds after loading or using the sink. This commit adds the timeout=0 parameter when loading module-suspend-on-idle. Now the sink will go to the 'suspended' state right after being loaded or used. https://jira.digi.com/browse/DEL-2218 Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
25a5e7c7d3
commit
5d34a217ab
|
|
@ -17,6 +17,8 @@ do_install_append_ccimx6sbc() {
|
|||
install -m 0644 ${WORKDIR}/dey-audio-hdmi.conf ${D}${datadir}/pulseaudio/alsa-mixer/profile-sets
|
||||
install -m 0644 ${WORKDIR}/dey-audio-sgtl5000.conf ${D}${datadir}/pulseaudio/alsa-mixer/profile-sets
|
||||
|
||||
sed -i -e '/load-module module-suspend-on-idle/{s,$, timeout=0,g}' ${D}${sysconfdir}/pulse/default.pa
|
||||
|
||||
cat >> ${D}${base_libdir}/udev/rules.d/90-pulseaudio.rules <<-_EOL_
|
||||
|
||||
# Digi ConnectCore 6 SBC HDMI
|
||||
|
|
|
|||
Loading…
Reference in New Issue