[pulseaudio-tickets] [Bug 84585] Issue of CPU usage with HiFiBerry driver snd_soc_hifiberry_amp with Debian Wheezy kernel 3.12.28

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 8 18:49:46 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84585

--- Comment #29 from Raymond <superquad.vortex2 at gmail.com> ---

pulseaudio need to provide debug info about the number of frames written when
it call snd_pcm_start

since work_done must be at least the size of fifo buffer or twice the dma brust
size 


/*             pa_log_debug("work_done = %i", work_done); */

            if (work_done) {

                if (u->first) {
-                    pa_log_info("Starting playback.");
+                    pa_log_info("Starting playback %d ", work_done);
                    snd_pcm_start(u->pcm_handle);

                    pa_smoother_resume(u->smoother, pa_rtclock_now(), true);

                    u->first = false;
                }

                update_smoother(u);
            }

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20141009/a8ec9ed6/attachment.html>


More information about the pulseaudio-bugs mailing list