[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
Thu Oct 9 05:57:13 PDT 2014


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

--- Comment #31 from Raymond <superquad.vortex2 at gmail.com> ---
(In reply to Alessandro Ferri from comment #18)
> Created attachment 107467 [details]
> Same issue playing a wav file. Pulseaudio verbose log
> 
> If it can be useful, I have the exact same problem simply playing a song in
> wav format with paplay. The command is: 
> 
> sudo -u pi paplay --volume=50000 /home/pi/Desperado.wav
> 
> If I play the song with pulseaudio running as a daemon, the CPU used by
> pulseaudio squirts to 87%, and there is no sound, but if I run it with: 
> 
> LANG=C pulseaudio -vvvv --log-time=1 > ~/pulseverbose.log 2>&1
> 
> the song feels latencies, sobs and accelerated. 
> I enclose the pulseaudio verbose log, hoping it will be useful.


seem still using 44100Hz to set buffer size after rate chjanged to 48000Hz


476|   0.000) I: [pulseaudio] sink-input.c: Rate changed to 48000 Hz
(   9.476|   0.000) D: [pulseaudio] module-stream-restore.c: Not restoring
volume for sink input sink-input-by-application-name:paplay, because already
set.
(   9.476|   0.000) D: [pulseaudio] sink.c: Suspend cause of sink
alsa_output.platform-snd-hifiberry-amp.0.analog-stereo is 0x0000, resuming
(   9.481|   0.004) D: [pulseaudio] reserve-wrap.c: Successfully acquired
reservation lock on device 'Audio0'
(   9.482|   0.000) I: [alsa-sink] alsa-sink.c: Trying resume...
(   9.487|   0.004) I: [alsa-sink] alsa-util.c: cannot disable ALSA period
wakeups
(   9.488|   0.000) D: [alsa-sink] alsa-util.c: Maximum hw buffer size is 2730
ms
(   9.489|   0.001) I: [alsa-sink] (alsa-lib)pcm_hw.c:
SNDRV_PCM_IOCTL_HW_PARAMS failed (-22)
(   9.491|   0.001) D: [alsa-sink] alsa-util.c: Set buffer size first (to 88200
samples), period size second (to 44100 samples).

-- 
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/1ef5d59d/attachment-0001.html>


More information about the pulseaudio-bugs mailing list