Hi all,
three years ago I tried to configure WaveInput for Linux and failed
miserably. Having not felt any need to spend more time on this issue,
today I thought I might give it another try.
What I'm trying to do is to copy all sound (not just from a specific
application) to the Squeezebox. I'm running the latest nightlies of the
7.8 branch on a Debian unstable GNU/Linux box. I'm using pulseaudio.
The group setup on the box looks like this:
Code:
--------------------
$ grep pulse /etc/group
audio:x:29:pulse,squeezeboxserver,timidity,sbellon
pulse:x:130:
pulse-access:x:131:sbellon,squeezeboxserver
--------------------
The LMS is running as user "squeezeboxserver" and my ordinary user that
plays audio is user "sbellon".
Now, when using pulseaudio in a "per user" configuration, I can play
back some sound and record it using arecord (with device "pulse" or
"default") just fine, but the WaveInput plugin (running as user
"squeezeboxserver") does not have permission to connect to the
pulseaudio instance of user "sbellon". I'm somehow missing a pulse
configuration "allow other local users to connect".
Then, on to the "system" configuration of pulseaudio. Using that, the
WaveInput plugin indeed "plays" when using wavin:pulse (or
wavin:default) as "URL", but there is no sound (but playback does not
stop, it just continues silently). The quite puzzling thing is, in
"system" configuration of pulseaudio not even user "sbellon" can record
what he himself is being playing using arecord.
I have the feeling that I am not too far away from getting it working.
I then did another attempt with pulseaudio "system" configuration and
played some sound as user "sbellon" and successfully recorded that sound
(as user "sbellon") using
Code:
--------------------
$ parec -d alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
--file-format=wav out.wav
--------------------
(note: it does not work with "arecord -D pulse").
And indeed, when recording as user "squeezeboxserver" with parec and
device alsa_output.pci-0000_00_1b.0.analog-stereo.monitor, it works,
too. However until now I was unable to set up a custom-convert.conf with
the relevant parec settings.
So, in the end I think it boils down to pulseaudio permission issues so
that user "squeezeboxserver" (or even "sbellon") may record the sound
played by user "sbellon".
Is here any pulseaudio expert that can shed some more light onto this?
Especially, how do others run this setup? How's it working for them?
Greetings,
Stefan
------------------------------------------------------------------------
sbellon's Profile: http://forums.slimdevices.com/member.php?userid=22873
View this thread: http://forums.slimdevices.com/showthread.php?t=49584
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins