<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Pulse audio NOT USED multithreading"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90210#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Pulse audio NOT USED multithreading"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90210">bug 90210</a>
              from <span class="vcard"><a class="email" href="mailto:alessandro.ferri@icloud.com" title="Alessandro Ferri <alessandro.ferri@icloud.com>"> <span class="fn">Alessandro Ferri</span></a>
</span></b>
        <pre><span class="quote">> Step 1: Install the speex development headers (on Raspbian they're in
> package libspeex-dev)

> Step 2: Run the configure script again, and build as usual.

> By the way, the parameters that you currently give to configure look
> strange: what purpose do "--disable-rpath" and
> "--with-module-dir=/usr/lib/pulse/modules" serve?</span >


Thanks for the info,
the next few days I will try to configure Pulseuadio with speex.
About the two configuration parameters, I did not place a lot of problems, I
repeated what I found in the post of raspberry Pi forum with some of my
personal adjustment, I'll carry the link, at the bottom there is the guide to
install pulseaudio 5.0:

<a href="https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=87138">https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=87138</a>

At this point, you know what are those two parameters, since I do not know?

<span class="quote">> ffmpeg is different from speex, it's not possible to disable ffmpeg.

> In what way is the audio distorted? "Totally distorted" should never be the
> end result, no matter what resamplers are enabled, unless "totally
> distorted" means that the audio is pausing/skipping (which can be a result
> of buffer underruns, which can happen if the CPU load is too high).

> By the way, can you explain in more detail what you mean by "music streaming
> via Bluetooth"? Do you play files on the RP to a Bluetooth headset, or do
> you play music from e.g. a mobile phone to speakers connected to the RP? I
> guess the latter, since HifiBerry AMP is involved...</span >

I have connected the speakers to the raspberry, using HiFiBerry AMP. I play
music from my iPad to raspberry Pi2, via Bluetooth and also via WiFi. In this
latest case I use shairport connected to pulseaudio.
When I play music, with resample-method = ffmpeg, via wifi (with shairport +
pulseaudio) from my iPad to raspberry, I not have issues and I listen music
really well, when instead I play music, with resample-method = ffmpeg, via
Bluetooth from my iPad to raspberry, I do not hear any music and some times
from the speakers comes a sound like "grrrrr" or "pzzzz". So it seems that with
the Bluetooth the resample method = ffmpeg is not working. I attacked both my
daemon.conf that system.pa</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>