linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Mediastreamer could not attach mixer to card


From: jehan monnier
Subject: Re: [Linphone-developers] Mediastreamer could not attach mixer to card
Date: Wed, 17 Feb 2010 15:57:16 +0100

Hi Denny,

Linphone make use of  MSVolume filters to control both capture and playback volume.

Hereunder  typical Linphone filter graphs

02-17 13:54:02.797 I/mediastreamer(13041): ms_filter_link: MSAndSoundRead:0xaf488,0-->MSVolume:0x1fc0d0,0
02-17 13:54:02.797 I/mediastreamer(13041): ms_filter_link: MSVolume:0x1fc0d0,0-->MSGsmEnc:0xaf780,0
02-17 13:54:02.797 I/mediastreamer(13041): ms_filter_link: MSGsmEnc:0xaf780,0-->MSRtpSend:0x204878,0
02-17 13:54:02.797 I/mediastreamer(13041): ms_filter_link: MSRtpRecv:0x1f1e58,0-->MSGsmDec:0x1fc080,0
02-17 13:54:02.797 I/mediastreamer(13041): ms_filter_link: MSGsmDec:0x1fc080,0-->MSDtmfGen:0x1fbb30,0
02-17 13:54:02.797 I/mediastreamer(13041): ms_filter_link: MSDtmfGen:0x1fbb30,0-->MSEqualizer:0x1fce70,0
02-17 13:54:02.797 I/mediastreamer(13041): ms_filter_link: MSEqualizer:0x1fce70,0-->MSVolume:0x1fc1b0,0
02-17 13:54:02.797 I/mediastreamer(13041): ms_filter_link: MSVolume:0x1fc1b0,0-->MSAndSoundWrite:0xaf710,0

Cheers

Jehan

2010/2/12 Denny Wright <address@hidden>
Hi Simon,
Thanks for the input. That may explain my issue. I'm using mediastreamer2 directly (with no linphone) and ms_snd_card_set_level() does not adjust the volume.


How then does linphone adjust the playback and capture volume? Do I have to use ALSA directly?

Thanks
Denny


On 2/11/2010 2:17 PM, Simon Morlat wrote:
I have also these errors with my notebook, and it's not preventing
linphone to work at all.

  
ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 0
ALSA lib control.c:902:(snd_ctl_open_noupdate) Invalid CTL default:0
ortp-warning-Could not attach mixer to card: Invalid argument
    
The first two are errors printed by libasound, and probably only it
knows what it means. They appeared after an upgrade of libasound (about
one year ago), without any change in linphone.
Alsa configuration is something very obscure to me. 

The warning indicates that the volume control mediastreamer2 can do on
the sound card won't work, however it is not used in linphone.

Simon

Le mercredi 10 février 2010 à 11:20 -0700, Denny Wright a écrit :
  
Hi all,

I get the following when ms_init() runs. I found a reference to this
error in the archive and it was resolved by editing alsa.conf (or
perhaps /etc/asound.conf?)

http://lists.gnu.org/archive/html/linphone-developers/2009-07/msg00064.html

Unfortunately, I haven't figured out what the edits should be. Does
anyone have any suggestions?

Thanks
Denny

=============================================================
ortp-message-Registering all filters...
ortp-message-Registering all soundcard handlers
ortp-message-Card ALSA: default added
ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 0
ALSA lib control.c:902:(snd_ctl_open_noupdate) Invalid CTL default:0
ortp-warning-Could not attach mixer to card: Invalid argument
ortp-message-Card ALSA: omap3530lv_som added
ortp-message-Card OSS: /dev/dsp added
ortp-message-Registering all webcam handlers
ortp-message-Webcam StaticImage: Static picture added
ortp-message-Loading plugins
ortp-message-Cannot open directory /usr/lib/mediastreamer/plugins: No
such file
or directory
ortp-message-ms_init() done
=============================================================

I have an OMAP ARM board with a TI TPS65950 (i.e. TWL4030) and we're
only using a portion of the audio channels. Here's some of my ALSA
config (the mixer works fine with ALSA). What other information can I
provide?

==========================================
# cat /proc/asound/cards
 0 [omap3530lvsom  ]: twl4030 - omap3530lv_som
                      omap3530lv_som (twl4030)
# aplay -L
default:CARD=omap3530lvsom
    omap3530lv_som,
    Default Audio Device
null
    Discard all samples (playback) or generate zero samples (capture)
# amixer controls
numid=4,iface=MIXER,name='Master Playback Switch'
numid=6,iface=MIXER,name='Analog Capture Volume'
numid=3,iface=MIXER,name='DAC2 Analog Playback Volume'
numid=2,iface=MIXER,name='DAC2 Digital Coarse Playback Volume'
numid=1,iface=MIXER,name='DAC2 Digital Fine Playback Volume'
numid=5,iface=MIXER,name='TX2 Digital Capture Volume'
==========================================

    
_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers
    
  

_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers



reply via email to

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