linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] ALSA error messages when using files rather than s


From: Steve Strobel
Subject: [Linphone-developers] ALSA error messages when using files rather than soundcard
Date: Mon, 29 Aug 2011 15:54:40 -0600

I have two applications that link against portions of Linphone, which I just 
upgraded 
from V3.0.0 to V3.4.3.  One of them uses liblinphone while the other accesses 
mediastreamer directly (it does RTP but not SIP).  Both of them send/receive 
audio 
via files (actually fifos) rather than communicating directly with the 
soundcard;  
neither of them need to access any ALSA routines at all.  Since the upgrade, 
both 
of them are printing ALSA error messages at startup.  I haven't yet dug into 
the 
source code;  I was hoping that someone would tell me that I was missing an 
initialization step or that the problem had already been fixed.

The first application prints the messages when it calls linphone_core_new(), 
which 
it has to do before it can call linphone_core_use_files().  It prints the 
messages:

ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_hw.c:1429:(_snd_pcm_hw_open) 
Invalid value for card
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_hw.c:1429:(_snd_pcm_hw_open) 
Invalid value for card
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3952:(snd_config_expand) Unknown 
parameters 0
ALSA lib 
../../../alsa-lib-1.0.18/src/control/control.c:909:(snd_ctl_open_noupdate) 
Invalid CTL default:0

It appears that someone ran into something similar back in 2009:
<<http://lists.gnu.org/archive/html/linphone-developers/2009-04/msg00004.html>http://lists.gnu.org/archive/html/linphone-developers/2009-04/msg00004.html>

The second application prints the messages when it calls ms_init().  Otherwise 
it seems work as expected:

ALSA lib ../../../alsa-lib-1.0.18/src/control/control.c:877:(snd_ctl_open_conf) 
symbol _snd_ctl_hw_open is not defined inside (null)
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:674:(snd_determine_driver) could 
not open control for card 0
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:2714:(snd_config_hooks_call) 
functionsnd_config_hook_load_for_all_cards returned error: No such device or 
address
ALSA lib 
../../../alsa-lib-1.0.18/src/control/control.c:877:(snd_ctl_open_conf)symbol 
_snd_ctl_hw_open is not defined inside (null)
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:674:(snd_determine_driver) could 
not open control for card 0
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function 
snd_func_card_driver returned error: No such device or address
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:392:(snd_func_concat) error 
evaluating strings
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function 
snd_func_concat returned error: No such device or address
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:1251:(snd_func_refer) error 
evaluating name
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function 
snd_func_refer returned error: No such device or address
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3985:(snd_config_expand) Evaluate 
error: No such device or address
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) 
Unknown PCM cards.pcm.default
ALSA lib 
../../../alsa-lib-1.0.18/src/control/control.c:877:(snd_ctl_open_conf)symbol 
_snd_ctl_hw_open is not defined inside (null)
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:674:(snd_determine_driver) could 
not open control for card 0
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function 
snd_func_card_driver returned error: No such device or address
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:392:(snd_func_concat) error 
evaluating strings
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function 
snd_func_concat returned error: No such device or address
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:1251:(snd_func_refer) error 
evaluating name
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function 
snd_func_refer returned error: No such device or address
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3985:(snd_config_expand) Evaluate 
error: No such device or address
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) 
Unknown PCM default
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2166:(snd_pcm_open_conf) 
symbol_snd_pcm_plug_open is not defined inside [builtin]
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2166:(snd_pcm_open_conf) 
symbol_snd_pcm_plug_open is not defined inside [builtin]
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3952:(snd_config_expand) Unknown 
parameters 0
ALSA lib 
../../../alsa-lib-1.0.18/src/control/control.c:909:(snd_ctl_open_noupdate) 
Invalid CTL default:0
ALSA lib 
../../../alsa-lib-1.0.18/src/control/control.c:877:(snd_ctl_open_conf)symbol 
_snd_ctl_hw_open is not defined inside (null)
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:674:(snd_determine_driver) could 
not open control for card 0
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function 
snd_func_card_driver returned error: No such device or address
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:392:(snd_func_concat) error 
evaluating strings
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function 
snd_func_concat returned error: No such device or address
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:1251:(snd_func_refer) error 
evaluating name
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function 
snd_func_refer returned error: No such device or address
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3985:(snd_config_expand) Evaluate 
error: No such device or address
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) 
Unknown PCM default:0
ALSA lib 
../../../alsa-lib-1.0.18/src/control/control.c:877:(snd_ctl_open_conf)symbol 
_snd_ctl_hw_open is not defined inside (null)
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:674:(snd_determine_driver) could 
not open control for card 0
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function 
snd_func_card_driver returned error: No such device or address
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:392:(snd_func_concat) error 
evaluating strings
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function 
snd_func_concat returned error: No such device or address
ALSA lib ../../alsa-lib-1.0.18/src/confmisc.c:1251:(snd_func_refer) error 
evaluating name
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3513:(_snd_config_evaluate) function 
snd_func_refer returned error: No such device or address
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3985:(snd_config_expand) Evaluate 
error: No such device or address
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) 
Unknown PCM default:0
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2166:(snd_pcm_open_conf) 
symbol_snd_pcm_plug_open is not defined inside [builtin]
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2166:(snd_pcm_open_conf) 
symbol_snd_pcm_plug_open is not defined inside [builtin]

Thanks for any suggestions,

Steve




---
Steve Strobel
Link Communications, Inc.
1035 Cerise Rd
Billings, MT 59101-7378
(406) 245-5002 ext 102
(406) 245-4889 (fax)
WWW: http://www.link-comm.com
MailTo:address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]