Re: [GnomeMeeting-list] usb webcam audio problem?



dear Alexander,

this afternoon I found a bug in the PWLib routine that detects the audio devices.
That bug prevents some devices to be detected on some configurations. For example,
no devices are detected on my ALSA configuration at home.
I fixed that bug, can you try on your system if it works for you ?
The trick is simple,
edit the pwlib/src/ptlib/unix/oss.cxx file and in function 
static void CollectSoundDevices
replace
static const unsigned deviceNumbers[] = { 14, 116, 145 };
by
static const unsigned deviceNumbers[] = { 14 };

Recompile, and it should work.

Thanks and merry christmas, I'll mail Equivalence to discuss that thing
with them.

> On Fri, 21 Dec 2001, Alexander Tuchacek wrote:
> 
> >
> >
> > hallo,
> >
> > >Well, then I know why it doesn't work!
> > >The device is not automatically detected at startup. If the device is
> > >not detected, then it will not be useable.
> > >There can be several reasons for that :
> > >- the device is occuppied by another process when you startup, and it is
> > >not detected because of that : kill artsd and esd to try.
> >
> > there is no audio server like arts or esd runnning on my machine
> >
> > >- you don't have the right permissions : have you tried as root ?
> >
> > also as root a cant see a device named /dev/dsp1 when i choose the device
> > settings (only /dev/dsp and loopback)
> >
> > >- the module is not loaded when you startup : try lsmod | grep audio, is
> >
> > [root cek alex]# lsmod | grep audio
> > audio                  37840   1
> > usbcore                50752   1  [pwc hid usbmouse usb-uhci audio]
> > soundcore               4208   9  [audio snd]
> >
> >
> > >the audio.o module loaded ?
> >
> > yes
> >
> > also web cam modules are loaded:
> >
> > [root cek alex]# lsmod | grep "^pwc"
> > pwcx-i386              87232   0
> > pwc                    35744   0  [pwcx-i386]
> > [root cek alex]#
> >
> > thanks,
> > alex
> > _______________________________________________
> > Gnomemeeting-list mailing list
> > Gnomemeeting-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
> >
> >
> 
> _______________________________________________
> Gnomemeeting-list mailing list
> Gnomemeeting-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
> 

-- 
 _	Damien Sandras
(o-	GnomeMeeting - H.323 Video-Conferencing application -
//\		web:  http://www.gnomemeeting.org/
v_/_	FOSDEM 2002  - Free Software and Open Source Developers Meeting -
		web:  http://www.fosdem.org/



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