nyquist->portaudio->alsa problem

View: New views
2 Messages — Rating Filter:   Alert me  

nyquist->portaudio->alsa problem

by Peter Rayner-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am trying to compile the nyquist synthesis command-line version
using the snapshot tarball of portaudio.  This is under Linux using
alsa-1.0.16
I have configured portaudio with
--with-alsa=yes --with-oss=no
When I try to play the first sound I get:
Expression 'parameters->channelCount <= maxChans' failed in 'portaudio/hostapi/alsa/pa_linux_alsa.c', line: 924
Expression 'ValidateParameters( outputParameters, hostApi, StreamDirection_Out )' failed in 'portaudio/hostapi/alsa/pa_linux_alsa.c', line: 1968
warning: could not open audio, error -9998, Invalid number of channels.

I'm happy to look at this further but would appreciate some guidance
e.g. is it likely to be interaction between portaudio and my alsa
configuration or something wrong with the nyquist interface to
ortaudio.

It's the first time I've tried to compile a portaudio application so
apologies if I'm missing something trivial
thanks in advance
Peter

 

--
Peter Rayner: LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
address: Bat. 701 LSCE - CEA de Saclay
Orme des Merisiers, 91191 Gif/Yvette
work: +33  (1) 69 08 88 11; mobile: +33 (6) 75 46 56 52; fax: +33 (1) 69 08 77 16
mail-to: peter.rayner@...
web: http://www-lsce.cea.fr/Pisp/52/peter.rayner.html
_______________________________________________
Portaudio mailing list
Portaudio@...
http://techweb.rfa.org/mailman/listinfo/portaudio

Re: nyquist->portaudio->alsa problem

by Arve Knudsen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Looks to me like nyquist is trying to open more than the maximum number of  
channels for the device.

Arve

On Sun, 06 Jul 2008 15:53:08 +0200, Peter Rayner  
<peter.rayner@...> wrote:

> I am trying to compile the nyquist synthesis command-line version
> using the snapshot tarball of portaudio.  This is under Linux using
> alsa-1.0.16
> I have configured portaudio with
> --with-alsa=yes --with-oss=no
> When I try to play the first sound I get:
> Expression 'parameters->channelCount <= maxChans' failed in  
> 'portaudio/hostapi/alsa/pa_linux_alsa.c', line: 924
> Expression 'ValidateParameters( outputParameters, hostApi,  
> StreamDirection_Out )' failed in  
> 'portaudio/hostapi/alsa/pa_linux_alsa.c', line: 1968
> warning: could not open audio, error -9998, Invalid number of channels.
>
> I'm happy to look at this further but would appreciate some guidance
> e.g. is it likely to be interaction between portaudio and my alsa
> configuration or something wrong with the nyquist interface to
> ortaudio.
>
> It's the first time I've tried to compile a portaudio application so
> apologies if I'm missing something trivial
> thanks in advance
> Peter
>
>


_______________________________________________
Portaudio mailing list
Portaudio@...
http://techweb.rfa.org/mailman/listinfo/portaudio