Hello,

> > 
> > Minh and Julien have integrated your patches in REV 9451.
> 
> Thanks for this,
> 

After investigation on my software configuration and some headaches I've
found that the code is not completely correct. The CAPTURE part is
parsed correctly but not PLAYBACK part, that's why I don't hear any
sound.

I've attached my correction for the code.

With the default parameters (PH_FORCE_AUDIO_DEVICE="alsa:in=hw:0,0
out=hw:0,0") the test session (333) is ok but with an annoying echo.

This echo seems to be the same as with the OSS driver.

So, after all it's a good news to have some echo :)

Another good news is that I can confirm the absence of segfault in the
resample part with the Alsa native driver activated :)

Now I can go to more tests :)

Thanks for your attention.

Didier Link

Index: wengophone-2.1/wifo/phapi/phmedia-alsa.c
===================================================================
--- wengophone-2.1/wifo/phapi/phmedia-alsa.c	(révision 9509)
+++ wengophone-2.1/wifo/phapi/phmedia-alsa.c	(copie de travail)
@@ -113,11 +124,13 @@
       {
         *nmend = 0;
       }
+
+      name += 3;
     }
   }
   else if ((s = strstr(name, "out=")) != NULL)
   {
-    nmend = strchr(name+4, ' ');
+    nmend = strchr(s+4, ' ');
     if (nmend)
     {
       *nmend = 0;
_______________________________________________
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to