[Freeswitch-users] portaudio error

Brian West brian at freeswitch.org
Wed Jan 28 09:43:51 PST 2009


Maybe the Mic can't be opened at 48000?  Can you verify what rate  
you're trying to use?

/b

On Jan 28, 2009, at 11:40 AM, e schmidbauer wrote:

> hey guys im getting an error when trying to use a USB mic with  
> portaudio. wondering if anyone could help me solve this problem.
> im using ubuntu intrepid studio. portaudio is loaded correctly and  
> sees the all the devices. when i do a "pa call" using the built in  
> sound card, i am able to connect to the call. but when i set the "pa  
> indev #7" (#7 is the USB mic) and then do a "pa call" i get the  
> following error
>
> >pa call 4800
> 2009-01-28 12:33:09 [NOTICE] switch_channel.c:566  
> switch_channel_set_name() New Channel portaudio/4800 [bae25c96- 
> ed61-11dd-a1c3-d19a8f52ba15]
> 2009-01-28 12:33:09 [ERR] mod_portaudio.c:1350 engage_device() Error  
> opening audio device retrying
> 2009-01-28 12:33:11 [ERR] mod_portaudio.c:1359 engage_device() Can't  
> open audio device
> 2009-01-28 12:33:11 [NOTICE] mod_portaudio.c:1739 place_call() Close  
> Channel portaudio/4800 [CS_NEW]
> API CALL [pa(call 4800)] output:
> FAIL:Device Error!
>
> here is the output from "pa devlist"
>
> > pa devlist
> API CALL [pa(devlist)] output:
> 0;/dev/dsp;16;16;r,o
> 1;/dev/dsp1;16;0;
> 2;Intel ICH6: Intel ICH6 (hw:0,0);2;2;
> 3;Intel ICH6: Intel ICH6 - MIC ADC (hw:0,1);2;0;
> 4;Intel ICH6: Intel ICH6 - MIC2 ADC (hw:0,2);2;0;
> 5;Intel ICH6: Intel ICH6 - ADC2 (hw:0,3);2;0;
> 6;Intel ICH6: Intel ICH6 - IEC958 (hw:0,4);0;2;
> 7;Samson C01U              : USB Audio (hw:1,0);2;0;i
> 8;front;0;2;
> 9;default;128;128;
> 10;dmix;0;2;
>
> any input would be much appreciated. thanks again for developing  
> such a fine piece of software!





More information about the FreeSWITCH-users mailing list