[pulseaudio-discuss] Pulseaudio/Csound/Solaris

Sergio Serge.Coche at free.fr
Mon Dec 8 12:57:12 PST 2008


Hi Lennart,


Working on Solaris/Sparc, i intend to use PA as realtime renderer for 
Csound, which as you know can either produce .wav output files or, what 
is here more interesting, a direct output to PA. The problem is that i 
get really a communication between both softs, but the flux stops 
immediately after the beginn.


Here is my PA output after i just lauched it :

bash-3.00# /usr/local/bin/64/pulseaudio/pulseaudio --log-level=debug
W: This program is not intended to be run as root (unless --system is 
specified).
I: device opened in O_RDWR mode.
I: created 0 "solaris_input" with sample spec "s16be 2ch 44100Hz"
I: created 0 "solaris_output" with sample spec "s16be 2ch 44100Hz"
I: created 1 "solaris_output.monitor" with sample spec "s16be 2ch 44100Hz"
I: Loaded "module-solaris" (index: #0; argument: "device=/dev/audio").
I: loaded 1 modules.
I: Loaded "module-detect" (index: #1; argument: "").
I: Loaded "module-esound-protocol-unix" (index: #2; argument: "").
I: loading cookie from disk.
I: Loaded "module-native-protocol-unix" (index: #3; argument: "").
I: starting with empty ruleset.
I: Loaded "module-volume-restore" (index: #4; argument: "").
I: Loaded "module-rescue-streams" (index: #5; argument: "").
I: Loaded "module-gconf" (index: #6; argument: "").
I: Daemon startup complete.
I: Unloading "module-detect" (index: #1).
I: Unloaded "module-detect" (index: #1).


Now the Pulseaudio server is initialized, i launch on my Csound console :

bash-3.00# ./csound -+rtaudio=pulse -o dac examples/xanadu.csd


Here the Pulseaudio output :

I: created 0 "Native client (UNIX socket client)"
I: client 0 changed name from "Native client (UNIX socket client)" to 
"csound"
I: created 0 "csound-out" on solaris_output with sample spec float32le 
2ch 44100Hz
D: Memory block too large for pool: 1048576 > 16368
D: memblockq requested: maxlength=264600, tlength=176400, base=8, 
prebuf=174636, minreq=1764
D: memblockq sanitized: maxlength=264600, tlength=176400, base=8, 
prebuf=174640, minreq=1760
I: Creating new entry for <pulsecore/protocol-native.c$csound>


At this point both stops.


I made several tries :

1) Paplay works fine fore any .wav file, including produced by Csound ;
2) I can run successfully Paplay at any time, including simultaneously 
with here my client 0 locked up ;
3) This lock up isn't a crash for both softs, i can without problem stop 
my Csound request and relaunch it as i want.


I learned the problem currently in november with Colin, which thinks 
maybe you can have more lights about. I tried also to change several 
things in the three /etc/pulse, that gave nothing, but maybe however 
here can be the interessant way ?



Cheers,

Sergio



More information about the pulseaudio-discuss mailing list