[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] /srv/bzr/gnash/trunk r11654: Finally fix testsuite fo
Re: [Gnash-commit] /srv/bzr/gnash/trunk r11654: Finally fix testsuite for ffmpeg by introducing a proper AudioInput interface.
Fri, 27 Nov 2009 19:29:46 +0100
> > Don't expect too much - it only stores the values somewhere and pretends
> > to be an input device,
> That's exactly what I expected :)
> The way I see it is that microphone should be closer to sound_handler
> that to MediaHandler. That is, a module that deals with devices, not
> media. The MediaHandler should be in charge of encoding/decoding
> > There is also some need to work out where to store the input devices,
> > because Camera and Microphone are the last two classes to derive from
> > as_object when they shouldn't do.
> For the current design it seems they should be in MediaHandler
> (altough as mentioned I'd put them in a couple of new handlers, or
> mics in sound_handler and camera in a new one).
There is currently a space for them in MediaHandler (at least, the
interface there takes an 'index' argument).
Both the camera and the microphone effectively provide input data
streams (presumably on request from the core), just like NetStream does.
They can also be attached to MovieClips (or Videos?) like NetStream can.
By the way, see the definition of NetStream here:
for some interesting insights into how the pp implements it. It's much
more entangled with NetConnection than we have it.
> Uhm, are hot-pluggable microphone devices available on the market ??
It is known as "USB" and works for both microphones and cameras...
However, at least for the standalone player on Linux this doesn't change
the available devices in Flash (though it does for real Linux
applications). I wouldn't be at all surprised if the behaviour were
different on Windows. The docs also describe devices being queried when
the get() method is called, I think.
Free Flash, use Gnash
Benjamin Wolsey, Software Developer - http://benjaminwolsey.de
Description: Dies ist ein digital signierter Nachrichtenteil