[gst-devel] gstreamer in a game
Leif Johnson
leif at ambient.2y.net
Mon Sep 29 14:49:11 CEST 2003
On Mon, 29 Sep 2003, in7y118 at public.uni-hamburg.de wrote:
> Quoting laurent belmonte <laurent.belmonte at aliacom.fr>:
>
> > multiplefilesrc | queue |__
> > \
> > multiplefilesrc | queue |__ \_
> > \__
> > multiplefilesrc | queue |_____ mixer --> oss
> > __
> > multiplefilesrc | queue |__/ _
> > /
> > multiplefilesrc | queue |__/
> Your idea is pretty much like I'd use it, too:
> - Have some pipeline parts on the left that provide sounds (or even
> music) as needed or "no sound" else.
> - Have one big mixer/adder element, that mixes all those sounds
> together and connect that to an output.
With a minimal API surrounding the pipeline, this starts to look a lot
like a sound server to me.
> I'd probably preload samples into some buffer via a pipeline and then
> use a source element that reads from memory instead of decoding the
> stuff every time. Though all of that would need to be written.
Shameless self-promotion : Check out the playondemand element. Might not
be exactly what you want, but it's there ...
leif
--
Leif Morgan Johnson : http://ambient.2y.net/leif/
More information about the gstreamer-devel
mailing list