Hello,

Thank you Didier for this patch. It will be reviewed very soon.

use
http://dev.openwengo.com/trac/openwengo/trac.cgi/ticket/1292
to follow the integration

Thanks
Jerome

-----Message d'origine-----
De : Didier LINK [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 24 janvier 2007 16:04
À : Jerome WAGNER
Cc : 'Wengophone Devel'
Objet : RE: [Wengophone-devel] Native Alsa support on Linux

Le mercredi 24 janvier 2007 à 02:08 +0100, Jerome WAGNER a écrit :
> Hello,

Hello all,

> 
> Yes I think you are right ; forcing the audio device in your case leads to
a
> bug.
> 
> select_audio_device is supposed override the deviceId when it is forced,
but
> I guess that the "const char *" stops this from working.

The "const" is not the main problem here, the pointer is not the same
after the function call and we need to copy the good string with strcpy.

> 
> Maybe you can try and patch it this way (making sure that when we get out
of
> select_audio_device, the deviceId has been changed)

See attached a little patch to solve this case. It works for me, can you
review it and commit to the svn if it looks good ?

I can begin to go further with the alsa support now ;)

Thanks.

Didier Link



_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to