Hi,

Chris Dobbs schrieb:
> Hi all,
> I am trying to get portaudio working on the N800. I can compile and 
> build everything ok but when I try to run the pa test programs on the 
> N800 I get things this:
>  
>  
> Nokia-N800-44-4:~# ./pa_devs-v19
> Expression 'ioctl( devHandle, SNDCTL_DSP_CHANNELS, &temp )' failed in 
> 'src/hostapi/oss/pa_unix_oss.c', line: 405
> Expression 'ioctl( devHandle, SNDCTL_DSP_CHANNELS, &temp )' failed in 
> 'src/hostapi/oss/pa_unix_oss.c', line: 405
> PortAudio version number = 1899
> PortAudio version text = 'PortAudio V19-devel (built Aug 11 2008)'
> Number of devices = 0
> ----------------------------------------------
>  
> I realised early on that PA used /dev/dsp so I did "ln -s 
> /dev/dsptask/pcm1 /dev/dsp"

Don't do that. There is no OSS. There is alsa in the form of an alsa io plugin 
that talks to the DSP.

> I have tried various others but to no avail, can anyone help I know PA 
> supports OSS and ALSA which are both installed on the N800, although I 
> think esd is the default driver.

Esd is there for compatibillity reasons. Default linux audio (low level) api is 
alsa. For highlevel apis there is esound and gstreamer.

Stefan

>  
> -Chris
>  
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to