linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Patch for Linphone missing ALSA card


From: Simon Morlat
Subject: Re: [Linphone-developers] Patch for Linphone missing ALSA card
Date: Wed, 3 Jan 2007 19:50:54 +0100
User-agent: KMail/1.9.5

Hi,

No problem , it is merged and will be on cvs tonight.

Simon

Le vendredi 29 décembre 2006 20:13, Thomas Reitmayr a écrit :
> Hi Simon,
> My system consists of an embedded device + a few USB sound adapters, one of
> which is my handset. To distinguish between them I have fixed ALSA card
> numbers assigned to each of them. This however means that unplugging one of
> the cards may create a "hole" in the card number sequence.
>
> Linphone 1.5.1 interprets this hole as the end of all available cards thus
> making it impossible for it to use card#1 while card#0 is unplugged.
>
> The following patch removes this limitation. If it does not break things
> somewhere else, feel free to apply it to your sources.
>
> --- linphone-1.5.1/mediastreamer2/src/alsa.c    2006-11-09
> 11:45:26.000000000 +0100 +++ linphone-1.5.1-yea/mediastreamer2/src/alsa.c  
>      2006-12-29 19:05:18.000000000 +0100 @@ -448,8 +448,6 @@ static void
> alsa_card_detect(MSSndCardMa
>                 MSSndCard *card=alsa_card_new(i);
>                 if (card!=NULL)
>                         ms_snd_card_manager_add_card(m,card);
> -               else
> -                       return;
>         }
>  }
>
> Regards,
> -Thomas
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz
> gegen Massenmails. http://mail.yahoo.com
>
>
> _______________________________________________
> 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]