[pulseaudio-discuss] pulseaudio-discuss Digest, Vol 32, Issue 10

Tom Bullock tbullock3 at cox.net
Tue Dec 3 14:10:57 PST 2013


Andrew:
RE: Sound not working

    I think there is a error in your advice. The correct command you want
is
        groups username

Without the user name, at least on my distribution, the groups command 
gives the
groups for the current process.



On 12/03/2013 03:00 PM, pulseaudio-discuss-request at lists.freedesktop.org 
wrote:
> Send pulseaudio-discuss mailing list submissions to
> 	pulseaudio-discuss at lists.freedesktop.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
> or, via email, send a message with subject or body 'help' to
> 	pulseaudio-discuss-request at lists.freedesktop.org
>
> You can reach the person managing the list at
> 	pulseaudio-discuss-owner at lists.freedesktop.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of pulseaudio-discuss digest..."
>
>
> Today's Topics:
>
>     1. Routing audio from one sound card to another (Dolevo Jay)
>     2. Re: Routing audio from one sound card to	another (Daniel)
>     3. Re: Sound not working (James Board)
>     4. Re: Sound not working (Andrew Eikum)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 3 Dec 2013 12:10:01 +0000
> From: Dolevo Jay <cmst at live.com>
> To: "pulseaudio-discuss at lists.freedesktop.org"
> 	<pulseaudio-discuss at lists.freedesktop.org>
> Subject: [pulseaudio-discuss] Routing audio from one sound card to
> 	another
> Message-ID: <DUB122-W4A12680BDB5454ADFED4CAAD50 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi all,
>
> I am very new to pulseaudio and also to in this mailing list.
> I have a pc where I have two sound cards. I have a software application which receives audio signals from network and plays it using alsa. However, I have two sound cards in the system and I need to have the same audio from the other sound card as well. I tried to do this in alsa but couldn't manage it. Therefore, I ended up here in pulseaudio. However, I have no idea where to start and how to implement it. Is it just a matter of configuration file? My purpose is to copy the audio which is being played in the other sound card.
>
> Thanks a lot for your guidance.
>
>
>   		 	   		
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20131203/43c9e24e/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 3 Dec 2013 16:01:10 +0100
> From: Daniel <windseeker at gmx.de>
> To: General PulseAudio Discussion
> 	<pulseaudio-discuss at lists.freedesktop.org>
> Subject: Re: [pulseaudio-discuss] Routing audio from one sound card to
> 	another
> Message-ID:
> 	<CAJd=37m1VcULGgDym+na9u7SPOhWuU9yZnQburFwshYnETwWCg at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello Jay,
>
> yes, this is possible with pulseaudio. You can do this with manual commands
> on the terminal. If you are satisfied you also can put this into your
> configuration files so it's always activated at login.
>
> First you need a list of sinks (pulseaudio outputs).
>
> For me it looks this way (for you it may suffer from line breaks in emails):
>
> # pactl list sinks short
> 0       alsa_output.pci-0000_00_1b.0.analog-stereo      module-alsa-card.c
>       s16le 2ch 44100Hz       RUNNING
> 1       alsa_output.pci-0000_01_00.1.hdmi-stereo        module-alsa-card.c
>       s16le 2ch 44100Hz       IDLE
>
> it's listing all alsa sinks and so it shows my analog output and the HDMI
> one. Assuming I want to have simultaneous output on both, I will load a
> pulseaudio module named "module-combine-sink" using these options:
>
> pactl load-module module-combine-sink
> slaves=alsa_output.pci-0000_00_1b.0.analog-stereo,alsa_output.pci-0000_01_00.1.hdmi-stereo
>
> (all one line, in case it breaks for you)
>
> Now I can start playing in any application, and then I open pavucontrol.
> There under "Playback" you can choose for any stream to which sink it is
> routed. Here you can choose the new simultaneous sink you just created. And
> immediately the audio will be sent to both alsa outputs.
>
>
> 2013/12/3 Dolevo Jay <cmst at live.com>
>
>> Hi all,
>>
>> I am very new to pulseaudio and also to in this mailing list.
>> I have a pc where I have two sound cards. I have a software application
>> which receives audio signals from network and plays it using alsa. However,
>> I have two sound cards in the system and I need to have the same audio from
>> the other sound card as well. I tried to do this in alsa but couldn't
>> manage it. Therefore, I ended up here in pulseaudio. However, I have no
>> idea where to start and how to implement it. Is it just a matter of
>> configuration file? My purpose is to copy the audio which is being played
>> in the other sound card.
>>
>> Thanks a lot for your guidance.
>>
>>
>>
>> _______________________________________________
>> pulseaudio-discuss mailing list
>> pulseaudio-discuss at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>>
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20131203/51a3e422/attachment-0001.html>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 3 Dec 2013 08:35:40 -0800 (PST)
> From: James Board <jpboard2 at yahoo.com>
> To: General PulseAudio Discussion
> 	<pulseaudio-discuss at lists.freedesktop.org>
> Subject: Re: [pulseaudio-discuss] Sound not working
> Message-ID:
> 	<1386088540.12425.YahooMailNeo at web164703.mail.gq1.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>> Your problem is not pulseaudio, it's your audio system below that. And by attacking pulseaudio developers >or me (I am a pulseaudio user and linux system administrator, no developer) you will not change that.
> I didn't attack pulseaudio developers.? I only suggested that they create a trouble-shooting page for people to solve simple problems like playing music files.
>
>> Remember the blocked street and the car manufacturer.
> Her's a better analogy.? You purchase a brand new car from Ford.? And the engine won't work because the camshaft was completely worn down.? When you take it to the Ford dealer, they say "Sorry, the problem is with the quality of steel used in the engine design.? This problem is below Ford.? We don't make steel.? Go talk to the steel manufacturer."? This is exactly what you told me to do.
>
> Thanks for trying to help.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20131203/6cbcac75/attachment-0001.html>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 3 Dec 2013 10:48:10 -0600
> From: Andrew Eikum <aeikum at codeweavers.com>
> To: James Board <jpboard2 at yahoo.com>
> Cc: General PulseAudio Discussion
> 	<pulseaudio-discuss at lists.freedesktop.org>
> Subject: Re: [pulseaudio-discuss] Sound not working
> Message-ID: <20131203164810.GP21527 at foghorn.codeweavers.com>
> Content-Type: text/plain; charset=utf-8
>
> On Tue, Dec 03, 2013 at 08:35:40AM -0800, James Board wrote:
>>> Your problem is not pulseaudio, it's your audio system below that. And by attacking pulseaudio developers >or me (I am a pulseaudio user and linux system administrator, no developer) you will not change that.
>> I didn't attack pulseaudio developers.? I only suggested that they create a trouble-shooting page for people to solve simple problems like playing music files.
>>
> Skipping the silly analogies for a moment, let's find out why you
> don't have permission to access the sound devices.
>
> On my system (results truncated):
>
>    $ ls -l /dev/snd
>    crw-rw----+ 1 root audio 116,  7 Dec  3 06:59 controlC0
>
> The device is owned by root and in group 'audio' and has owner:rw and
> group:rw permissions.
>
>    $ groups
>    network video audio optical storage power users
>
> This shows my user is in the 'audio' group, so I have permission to
> read/write the control device. As a result, PulseAudio is able to open
> the device and play audio for me.
>
> What's different on your system?
>
> Andrew
>
>
> ------------------------------
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
>
> End of pulseaudio-discuss Digest, Vol 32, Issue 10
> **************************************************
>



More information about the pulseaudio-discuss mailing list