Re: [GnomeMeeting-list] serial port access from gnomemeeting



Le mar 06/08/2002 à 17:43, Paul V a écrit :
> Hi all,
> 
> I'm wondering, is it possible to write something to the serial port each 
> time an audio connection in Gnomemeeting is established? All I want to do is 

Yes :)

> write something to the serial port (ie. /dev/ttyS0) when a voice link in 
> Gnomemeeting is established or disconnected. If it is possible, any 
> suggestions on which files/functions I should look at modifying?

Simply write your function that outputs data to the serial port, add it
in src/misc.cpp. Then in src/endpoint.cpp, function OpenAudioChannel,
add a call to your function. You can test the value of isEncoding to
know if the opened audio channel is for audio transmission or audio
reception.

Just curious, why do you need that?
> 
> Many Thanks,
> 
> Paul
> 
> 
> 
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
> 
> _______________________________________________
> Gnomemeeting-list mailing list
> Gnomemeeting-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
-- 
 _	Damien Sandras
(o-	GnomeMeeting - H.323 Videoconferencing Application -
//\		web:  http://www.gnomemeeting.org/
v_/_	H.323 phone:  callto://ils.seconix.com/dsandras seconix com





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