| I hacked the portaudio build code and managed to create a linkable
library. I am now stuck with
cage:~/Sourceforge/csound5> ./csound -o dac:plughw:0 examples/trapped.csd
Localisation of messages is disabled, using default language.
PortAudio real-time audio module for Csound
PortMIDI real time MIDI plugin for Csound
0dBFS level = 32767.0
.......
Found 4 PortAudio devices:
Device 0: /dev/dsp
Maximum channels in: 16
Maximum channels out: 16
Default sample rate: 44100.000
Device 1: M Audio Delta DiO 2496: ICE1712 multi (hw:0,0)
Maximum channels in: 12
Maximum channels out: 10
Default sample rate: 44100.000
Device 2: analog
Maximum channels in: 128
Maximum channels out: 128
Default sample rate: 44100.000
Device 3: digital
Maximum channels in: 128
Maximum channels out: 128
Default sample rate: 44100.000
Using Portaudio output device plughw:0.
Suggested PortAudio output latency = 0.000000 seconds.
paBlockingWriteOpen: nchnls 2 sr 44100.000000 buffer frames 1024 device -2
Csound tidy up: Segmentation fault
If I play to -o dac it runs but device 0 is noise.
The error is
[Switching to Thread 182908691648 (LWP 6784)]
OpenStream (hostApi=0x69aae0, s=0x6b4c68, inputParameters=0x0,
outputParameters=0x7fbfffedf0, sampleRate=Variable "sampleRate" is not available.
) at pa_linux_alsa.c:1652
1652 stream->playback.numHostChannels = MAX( numOutputChannels, outputDeviceInfo->minOutputChannels );
and
(gdb) print outputDeviceInfo
$2 = (const PaAlsaDeviceInfo *) 0x0
Does this suggest an error in PortAudio or in the way it is called?
==John ffitch
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |