linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] No Sound


From: Simon Morlat
Subject: Re: [Linphone-developers] No Sound
Date: Wed, 14 Nov 2007 17:48:03 +0100
User-agent: KMail/1.9.7

Hi,

Many users complained that linphone was changing the sound settings at 
startup, that's why I commented out this part of code.
For the desktop there are plenty of mixer application that do better job and I 
agree with them.
For the embedded, that's different...

Simon

Le Friday 09 November 2007 20:14:23 Jason Hennigar, vous avez écrit :
> Hi All,
>
> I have been having trouble getting the input audio to work with a
> console build of both Linphone 1.99 and 1.7.1 on a Blackfin 537 Stamp
> board running uClinux 2007R1.1-RC3 (2.6.19.3 kernel). The output audio
> works perfectly, and I see the input RTP packets being sent but with no
> audio data in the payload. The RTP Payload was somthing like
> F3F3F3F3F3F3F3F3F3F3F3F3F2F2F2F2F3F3F3F2F2F2F2F2...
>
> The problem seems to be that ms_snd_card_set_capture() is not being
> called to specify whether the input should be from mic or line.
>
> To fix this either uncomment the lines in sound_config_read() which
> checks and sets the audio levels and the input source or call
> ms_snd_card_set_capture() directly. Really uncommenting the input source
> check should be sufficient. A diff showing the lines to uncomment follows.
>
> This might also be the problem with the input audio in the video call.
>
> I also encountered a different situation using the unmodified 1.99
> version where by changing the .linphonerc caused the output audio to
> switch from DAC1 (lime) to DAC2 (black). Removing the changes causes the
> audio to switch back to DAC1. The modification was to add the rec_lev,
> play_lev, ring_lev and source under [sound] in the same place as they
> are in the 1.6.0 version. Anyone know why this would happen?
>
> Cheers!
> Jason
>
> ===================================================================
> --- linphonecore.c
> +++ linphonecore.c      (working copy)
> @@ -305,7 +305,7 @@
>
>  void sound_config_read(LinphoneCore *lc)
>  {
> -       /*int tmp;*/
> +       int tmp;
>         const char *tmpbuf;
>         const char *devid;
>         const MSList *elem;
> @@ -330,7 +330,7 @@
>
> devid=lp_config_get_string(lc->config,"sound","capture_dev_id",NULL);
>         linphone_core_set_capture_device(lc,devid);
>
> -/*
> +
>         tmp=lp_config_get_int(lc->config,"sound","play_lev",80);
>         linphone_core_set_play_level(lc,tmp);
>         tmp=lp_config_get_int(lc->config,"sound","ring_lev",80);
> @@ -339,7 +339,7 @@
>         linphone_core_set_rec_level(lc,tmp);
>         tmpbuf=lp_config_get_string(lc->config,"sound","source","m");
>         linphone_core_set_sound_source(lc,tmpbuf[0]);
> -*/
> +
>
>         tmpbuf=PACKAGE_SOUND_DIR "/" LOCAL_RING;
>        
> tmpbuf=lp_config_get_string(lc->config,"sound","local_ring",tmpbuf);
>
>
>
> _______________________________________________
> 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]