<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Issue of CPU usage with HiFiBerry driver snd_soc_hifiberry_amp with Debian Wheezy kernel 3.12.28"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84585#c31">Comment # 31</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Issue of CPU usage with HiFiBerry driver snd_soc_hifiberry_amp with Debian Wheezy kernel 3.12.28"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84585">bug 84585</a>
from <span class="vcard"><a class="email" href="mailto:superquad.vortex2@gmail.com" title="Raymond <superquad.vortex2@gmail.com>"> <span class="fn">Raymond</span></a>
</span></b>
<pre>(In reply to Alessandro Ferri from <a href="show_bug.cgi?id=84585#c18">comment #18</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=107467" name="attach_107467" title="Same issue playing a wav file. Pulseaudio verbose log">attachment 107467</a> <a href="attachment.cgi?id=107467&action=edit" title="Same issue playing a wav file. Pulseaudio verbose log">[details]</a></span>
> 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.</span >
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).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>