More input access, like Video and Sound

Hi there,
I’ve been looking for a small thread about accessing webcam graphics
within an SDL project, if any of you have the references of libraries
discussed then or if you know any other, could you post it here?

Also, another interesting output is sound. Many online games now
make large use of mics. You must have heard of ventrilo for example.
I’ve been able to write an easy sound input program on linux, by opening
the /dev/dsp device directly and fetching the sound wave directly from
the card. Neat stuff, however, the same kind of neatness is unavailable
on windows and I’m not sure about mac. Again, if you know any libraries
that could help in accessing the sound device’s input, please tell us here.

Thanks again,
Simon

Hello !

the card. Neat stuff, however, the same kind of neatness is unavailable on
windows and I’m not sure about mac. Again, if you know any libraries that
could help in accessing the sound device’s input, please tell us here.

I would look into the Audacity Source http://audacity.sourceforge.net/
They do sound recording on Windows, Linux and Mac.

CU

I would look into the Audacity Source http://audacity.sourceforge.net/
They do sound recording on Windows, Linux and Mac.

Great stuff!
Quoting from the site: “Mix tracks with different sample rates or
formats, and Audacity will convert them automatically in realtime.”

That’s the kind of integration that I like! :wink:

Thanks a lot!
Simon

I’ve been looking for a small thread about accessing webcam graphics
within an SDL project, if any of you have the references of libraries
discussed then or if you know any other, could you post it here?

This is probably what you’re looking for:
http://www.iua.upf.es/mtg/reacTable/?portvideo

This is probably what you’re looking for:
http://www.iua.upf.es/mtg/reacTable/?portvideo

Yes, that’s the one, thanks!
Bookmarked!

Simon