Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] portaudio error


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
e.schmidbauer at gmail...
Guest





PostPosted: Wed Jan 28, 2009 12:41 pm    Post subject: [Freeswitch-users] portaudio error Reply with quote

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

Quote:
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"

Quote:
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!
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Jan 28, 2009 12:44 pm    Post subject: [Freeswitch-users] portaudio error Reply with quote

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:

Quote:
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

Quote:
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"

Quote:
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!


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
e.schmidbauer at gmail...
Guest





PostPosted: Wed Jan 28, 2009 1:11 pm    Post subject: [Freeswitch-users] portaudio error Reply with quote

portaudio.conf.xml is set to 48000, and 10i
On Wed, Jan 28, 2009 at 12:43 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
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:

Quote:
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

Quote:
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"

Quote:
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!




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Jan 28, 2009 1:28 pm    Post subject: [Freeswitch-users] portaudio error Reply with quote

Output of "pa dump" ?

/b

On Jan 28, 2009, at 12:07 PM, e schmidbauer wrote:

Quote:
portaudio.conf.xml is set to 48000, and 10i


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services