| Thanks Steven, that was the problem alright, my card doesn't like nchnls
set to 1. I never would have thought of that. Cheers,
Rory.
> Hi Rory,
>
> Were you trying to do a nchnls=1 output on a stereo device? That
> caused problems for me in the past and I eventually just used nchnls=2
> for everything. Otherwise, what is the hardware for your 0,0 device?
> And have you tried -odac:default or just -odac ?
>
> steven
>
> On Dec 17, 2007 8:59 AM, Rory Walsh wrote:
>> I've built Csound and set the options so that it will build with
>> portaudio
>> and alsa support but when trying to run it with the following options:
>>
>> -+rtaudio=alsa -odac:hw:0,0
>>
>> I get an error saying:
>>
>> *** Unable to set number of channels on soundcard
>> Failed to initialise real time audio output
>>
>> If I try only -odac:hw:0,0 I get the following:
>>
>> rtaudio: PortAudio module enabled ... using blocking interface
>> orch compiler:
>> 9 lines read
>> instr 1
>> Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.000s
>> sorting score ...
>> ... done
>> Elapsed time at end of score sort: real: 0.002s, CPU: 0.000s
>> Csound version 5.07 beta (float samples) Dec 16 2007
>> graphics not supported on this terminal, ascii substituted
>> 0dBFS level = 32768.0
>> orch now loaded
>> audio buffered in 256 sample-frame blocks
>> PortAudio V19-devel
>> PortAudio: using ALSA device 'hw:0,0'
>> Expression 'snd_pcm_hw_params_set_channels( pcm, hwParams,
>> self->numHostChannels )' failed in 'src/hostapi/alsa/pa_linux_alsa.c',
>> line: 1117
>> Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback,
>> outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1662
>> Expression 'PaAlsaStream_Configure( stream, inputParameters,
>> outputParameters, sampleRate, framesPerBuffer, &inputLatency,
>> &outputLatency, &hostBufferSizeMode )' failed in
>> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1783
>> *** PortAudio: error: -9998: Invalid number of channels
>> Failed to initialise real time audio output
>>
>> Sorry about all these questions, I have had to reinstall linux after
>> windows corrupted my last one so I have to go through all these steps
>> once
>> more time...
>>
>>
>> -------------------------------------------------------------------------
>> SF.Net email is sponsored by:
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services
>> for just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |