Re: [pulseaudio-discuss] Help in setting up PA

2008-01-20 Thread Richard Geddes
Thanks for the response.

Currently, I'd like to use PA as a replacement for esound... to
basically send audio from different programs and from my audio capture
card to my audio playback card (capture and playback are on the same
card), taking advantage of mixing and syncing features of PA.   Sending
sound packets out to the network is interesting and I'd like to try that
later.

Here's the uncommented part of my /etc/pulse/default.pa file:


#!/usr/bin/pulseaudio -nF

.ifexists /usr/lib/pulse-0.9/modules/module-hal-detect.so
load-module module-hal-detect
.else
load-module module-detect
.endif

add-autoload-sink output module-alsa-sink device=hw:0 sink_name=output
add-autoload-source input module-alsa-source device=hw:0 source_name=input

.ifexists /usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif

load-module module-volume-restore

load-module module-rescue-streams

.nofail

### Load something to the sample cache
load-sample x11-bell /usr/share/sounds/gtk-events/activate.wav

### Load X11 bell module
load-module module-x11-bell sample=x11-bell

### Publish connection data in the X11 root window
load-module module-x11-publish

load-module module-gconf




Tanu Kaskinen wrote:
> On Sun, Jan 20, 2008 at 03:07:44AM -0500, Richard Geddes wrote:
>   
>> Hi,
>>
>> Just installed the PA packages on Ubuntu 7.10, with alsa drivers. 
>> Followed (I think) the steps for set up from the PA "Perfect setup" web
>> page... when I try to run audio through PA (aplay -Dpulse music.mp3) no
>> sound  goes to the speakers,  however,  I can see quite a few udp
>> packets being pushed through eth0... How can I get PA to send those
>> audio packets back to my audio card?
>> 
>
> You don't mention what kind of setup you want. RTP stuff
> doesn't get loaded automatically, so I assume you do want to
> broadcast all your audio to the LAN. If that is correct,
> then the fix is probably quite simple. You probably have
> this line in your default.pa, if you followed the FAQ:
>
> load-module module-null-sink sink_name=rtp
>
> Instead of a null sink, you want to use an actual alsa sink.
> So do not load the null sink, but replace the 'source'
> argument of module-rtp-send with the name of the alsa sink's
> monitor source.
>
> If you need further assistance, please explain what kind of
> setup you want, and attach your /etc/pulse/default.pa.
>
>   
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Help in setting up PA

2008-01-20 Thread Tanu Kaskinen
On Sun, Jan 20, 2008 at 03:07:44AM -0500, Richard Geddes wrote:
> Hi,
> 
> Just installed the PA packages on Ubuntu 7.10, with alsa drivers. 
> Followed (I think) the steps for set up from the PA "Perfect setup" web
> page... when I try to run audio through PA (aplay -Dpulse music.mp3) no
> sound  goes to the speakers,  however,  I can see quite a few udp
> packets being pushed through eth0... How can I get PA to send those
> audio packets back to my audio card?

You don't mention what kind of setup you want. RTP stuff
doesn't get loaded automatically, so I assume you do want to
broadcast all your audio to the LAN. If that is correct,
then the fix is probably quite simple. You probably have
this line in your default.pa, if you followed the FAQ:

load-module module-null-sink sink_name=rtp

Instead of a null sink, you want to use an actual alsa sink.
So do not load the null sink, but replace the 'source'
argument of module-rtp-send with the name of the alsa sink's
monitor source.

If you need further assistance, please explain what kind of
setup you want, and attach your /etc/pulse/default.pa.

-- 
Tanu Kaskinen
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


[pulseaudio-discuss] Help in setting up PA

2008-01-20 Thread Richard Geddes
Hi,

Just installed the PA packages on Ubuntu 7.10, with alsa drivers. 
Followed (I think) the steps for set up from the PA "Perfect setup" web
page... when I try to run audio through PA (aplay -Dpulse music.mp3) no
sound  goes to the speakers,  however,  I can see quite a few udp
packets being pushed through eth0... How can I get PA to send those
audio packets back to my audio card?

$0> sudo tshark
...
1200815959.616270 192.168.0.150 -> 224.0.0.56   RTP PT=16-bit
uncompressed audio, stereo, SSRC=0x97735F9C, Seq=56261, Time=4193600
...

$0> sudo netstat -entup
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address   Foreign Address
State   User   Inode  PID/Program name  
udp0  0 192.168.0.150:32776 224.0.0.56:46900   
ESTABLISHED1000   38910  8009/pulseaudio
udp0  0 192.168.0.150:32777 224.0.0.56:9875
ESTABLISHED1000   38911  8009/pulseaudio

Some info about my audio hardware:

$0> sudo lspci -v
00:0e.0 Multimedia audio controller: VIA Technologies Inc. ICE1712
[Envy24] PCI Multi-Channel I/O Controller (rev 02)
Subsystem: VIA Technologies Inc. M-Audio Delta 66
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at 10a0 [size=32]
I/O ports at 1080 [size=16]
I/O ports at 1010 [size=16]
I/O ports at 1040 [size=64]
Capabilities: [80] Power Management version 1

Thanks
Richard
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss