<HTML><HEAD><TITLE>Samsung Enterprise Portal mySingle</TITLE>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<STYLE id=mysingle_style type=text/css>P {
        MARGIN-TOP: 5px; FONT-FAMILY: Arial, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
TD {
        MARGIN-TOP: 5px; FONT-FAMILY: Arial, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
LI {
        MARGIN-TOP: 5px; FONT-FAMILY: Arial, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
BODY {
        LINE-HEIGHT: 1.4; MARGIN: 10px; FONT-FAMILY: Arial, arial; FONT-SIZE: 9pt
}
</STYLE>

<META name=GENERATOR content=ActiveSquare></HEAD>
<BODY>
<P><SPAN style="FONT-FAMILY: Verdana">Hi,</SPAN></P>
<P><SPAN style="FONT-FAMILY: Verdana">I have disabled timer scheduling for a2dp playback with this patch to reduce power consumption.</SPAN></P>
<P><SPAN style="FONT-FAMILY: Verdana">Could you please review this change and let me know if it can cause any side effect.</SPAN></P>
<P><SPAN style="FONT-FAMILY: Verdana">If its worth giving an option to disable timer scheduling similar to alsa-sink ( tsched param ), I would like to do the same.</SPAN></P>
<P><SPAN style="FONT-FAMILY: Verdana">Thank You.</SPAN></P>
<P><SPAN style="FONT-FAMILY: Verdana">Sajeesh</SPAN></P>
<P> </P>
<P>------- <B>Original Message</B> -------</P>
<P><B>Sender</B> : Sajeesh Sidharthan<sajeesh.s@samsung.com> Chief Engineer/SRI-Bangalore-MM & Applications/Samsung Electronics</P>
<P><B>Date</B> : Aug 05, 2014 14:35 (GMT+09:00)</P>
<P><B>Title</B> : [pulseaudio-discuss] [PATCH] modules: Disable timer scheduling for a2dp playback to reduce power consumption.</P>
<P> </P>---<BR>src/modules/bluetooth/module-bluez5-device.c |    8 ++++----<BR>1 file changed, 4 insertions(+), 4 deletions(-)<BR><BR>diff --git a/src/modules/bluetooth/module-bluez5-device.c b/src/modules/bluetooth/module-bluez5-device.c<BR>index 57b2791..eda7a9d 100644<BR>--- a/src/modules/bluetooth/module-bluez5-device.c<BR>+++ b/src/modules/bluetooth/module-bluez5-device.c<BR>@@ -1170,10 +1170,10 @@ static void thread_func(void *userdata) {<BR>                                     a2dp_reduce_bitpool(u);<BR>                             }<BR>                         }<BR>-<BR>-                        do_write = 1;<BR>-                        pending_read_bytes = 0;<BR>                     }<BR>+<BR>+                    do_write = 1;<BR>+                    pending_read_bytes = 0;<BR>                 }<BR><BR>                 if (writable && do_write > 0) {<BR>@@ -1208,7 +1208,7 @@ static void thread_func(void *userdata) {<BR>                         sleep_for = PA_USEC_PER_MSEC * 500;<BR><BR>                     pa_rtpoll_set_timer_relative(u->rtpoll, sleep_for);<BR>-                    disable_timer = false;<BR>+                    /* disable_timer = false; *//* Disable timer to reduce power consumption */<BR>                 }<BR>             }<BR>         }<BR>-- <BR>1.7.9.5<BR><BR>_______________________________________________<BR>pulseaudio-discuss mailing list<BR>pulseaudio-discuss@lists.freedesktop.org<BR>http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss<BR>
<P> </P><!--SP:sajeesh.s--><!--sajeesh.s:EP-->
<P> </P>
<TABLE id=confidentialsignimg>
<TBODY>
<TR>
<TD NAMO_LOCK>
<P><IMG border=0 src="cid:BEI0XT4NZ5JE@namo.co.kr"></P></TD></TR></TBODY></TABLE></BODY></HTML><img src='http://ext.samsung.net/mailcheck/SeenTimeChecker?do=e66be0163134f9c85ddc1e6e90941af4b07cb6452f69f6a9c6a6257640cc7b1ed2a1a161028e0a27d0b31492ff2d5895f255f74e40bd48632fd4ff3ea410d012fea75954dce1604da728c55b39cc59eacf878f9a26ce15a0' border=0 width=0 height=0 style='display:none'>