El día Saturday, May 21, 2011 a las 03:25:34PM +0200, Eugen Dedu escribió:
> >Thanks! This fixed the problem. And after fixing a bug in PTlib > >concerning the detection of /dev/video0 in FreeBSD, which I've posted > >already in 2008 :-( the video is detected fine. Also the call to the > >echo service of ekiga works nicely. Concerning the detection of the > >audio device, there is another bug: it only sees and uses /dev/dsp0 but > >not /dev/dsp1 (even not when one sets this hardcoded with gconf-editor); > >I will investigate this later and provide a patch; the patch for the > >/dev/video0 in FreeBSD is attached; > > > >Maybe someone could commit this to not have to look for it again in two > >years :-) > > Do not worry, I will look into your patches tomorrow. Attached is as well the fix for having more then one audio device, /dev/dsp0, /dev/dsp1, ... in FreeBSD; HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <g...@unixarea.de> - w http://www.unixarea.de/
*** plugins/sound_oss/sound_oss.cxx.OLD 2009-12-04 23:41:11.209164000 +0100 --- plugins/sound_oss/sound_oss.cxx 2011-05-22 10:29:12.000000000 +0200 *************** *** 179,185 **** // like /dev/dsp0.0 /dev/dsp0.1 ... // everything else would conflict with other KDE apps using the // audio ! devname = devdir + "dsp0"; PTRACE(1, "OSS\tCollectSoundDevices FreeBSD devname set to devfs(5) name:" << devname ); #endif /* defined (P_FREEBSD) */ dsp.SetAt(cardnum+1, devname); --- 179,194 ---- // like /dev/dsp0.0 /dev/dsp0.1 ... // everything else would conflict with other KDE apps using the // audio ! // devname = devdir + "dsp0"; ! // May, 2011: The above comment and code (using only hardcoded ! // /dev/dsp0) is wrong; we might have different sound channels ! // created by sound(4) in devfs(5), like /dev/dsp0, /dev/dsp1, ... ! // see also 'cat /dev/sndstat', ! // and the end user should make its choise between the sound ! // devices, for example having a built-in micro in a webcam ! // and a headset micro; ! // Matthias, g...@unixarea.de ! devname = devdir + "dsp" + numbers; PTRACE(1, "OSS\tCollectSoundDevices FreeBSD devname set to devfs(5) name:" << devname ); #endif /* defined (P_FREEBSD) */ dsp.SetAt(cardnum+1, devname);
_______________________________________________ ekiga-devel-list mailing list ekiga-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/ekiga-devel-list