:: Re: [DNG] apulse in experimental
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: ael
Ημερομηνία:  
Προς: dng
Αντικείμενο: Re: [DNG] apulse in experimental
On Sat, Apr 22, 2017 at 09:10:31PM +0100, KatolaZ wrote:
> On Sat, Apr 22, 2017 at 08:51:30PM +0100, ael wrote:
>
> [cut]
>
> >
> > However, if I use
> > cmake -DAPULSEPATH=/usr/local/lib/apulse -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
> >
> > then the apulse libraries are properly "hidden" in /usr/local/lib/apulse.
> >
> > I didn't seem anything like this in the rules for the Devuan package.
> > Did I miss where this is specified?
> >
>
> it is in debian/rules.


I thought that I looked there: in the apulse_0.1.9-2.git from the
devuan pool. I didn't see the usual source files there, but maybe I am
out of date.

>
> > My problems with mpv and mplayer would be explained if this is an
> > oversight in the apulse build. Although it is possible to explicitly
> > specify the audio-device as alsa for these programs, the README.md
> > file suggests that they should not have tried to use the apulse
> > libraries.
>
> I still have not understood what is your problem with the apulse
> package (which you said you have not installed). Apulse is not used
> unless you call mpv or mplayer with:


OK. Sorry. As I said earlier, I am still on debian testing. I don't
recall precisely, but I am sure that I just installed the debian apulse
package after someone (you?) posted a note about apulse on this list.
It worked find with firefox, but a day or two later I found the problem
with mpv and mplayer.

> $ apulse mpv


As I said, I did *not* use $ apulse mpv, just $ mpv.

> If your programs experiences problems with pulseaudio, and you have
> not sued the syntax above, the problem is either in your program or in
> pulseadio.


It was the apulse libraries being dynamically linked by default.

> > Where does the devuan apulse package install
> > libpulsecommon-5.0.so,libpulse-simple.so,libpulse-simple.so.0,libpulse.sio
> > and libpulse.so.0?
>
> well, you can find out yourself:
>
> katolaz@akela:~$ dpkg -L apulse


If I had that package installed :-)

> /usr/lib/x86_64-linux-gnu/apulse
> /usr/lib/x86_64-linux-gnu/apulse/libpulse-simple.so.0
> /usr/lib/x86_64-linux-gnu/apulse/libpulse.so.0
> /usr/lib/x86_64-linux-gnu/apulse/libpulsecommon-5.0.so
> /usr/lib/x86_64-linux-gnu/apulse/libpulse-simple.so
> /usr/lib/x86_64-linux-gnu/apulse/libpulse.so


That looks right. I have done further testing here and mpv does not pick
up the apulse libraries by default in a situation like that.
Maybe the original debian package that I tried was misconfigured. Anyway
Devuan clearly has it right, as usual.

Sorry for the noise.

ael