| I tried to do -o dac:plughw:0 and got
OpenStream (hostApi=0x83fa630, s=0x83fa954, inputParameters=0x0,
outputParameters=0xbffff720, sampleRate=44100, framesPerBuffer=1024,
streamFlags=0, callback=0x80515ec ,
userData=0x83fa950) at pa_linux_alsa/pa_linux_alsa.c:1643
1643 stream->playback.numHostChannels = MAX( numOutputChannels, outputDeviceInfo->minOutputChannels );
(gdb) print numOutputChannels
$1 = 2
(gdb) print outputDeviceInfo
$2 = (PaAlsaDeviceInfo *) 0x0
So it is reading a null pointer
(gdb) where
#0 OpenStream (hostApi=0x83fa630, s=0x83fa954, inputParameters=0x0,
outputParameters=0xbffff720, sampleRate=44100, framesPerBuffer=1024,
streamFlags=0, callback=0x80515ec ,
userData=0x83fa950) at pa_linux_alsa/pa_linux_alsa.c:1643
#1 0x401b4743 in Pa_OpenStream (stream=0x83fa954, inputParameters=0x0,
outputParameters=0x83fa958, sampleRate=44100, framesPerBuffer=1024,
streamFlags=0, streamCallback=0x80515ec ,
userData=0x83fa950) at pa_common/pa_front.c:1339
#2 0x08051588 in paBlockingWriteOpen (csound=0x8123700, pabs_=0x810b634,
paParameters=0xbffff7f0) at InOut/pa_blocking.c:95
#3 0x080511e6 in playopen_ (nchnls_=2, dsize_=2, sr_=44100, scale_=2)
at InOut/rtpa.c:193
#4 0x0806f7d0 in sfopenout () at InOut/libsnd.c:472
Have not understood from whence this parameter is supposed to come.
Just a preliminary report!
==John ffitch
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |