[Top][All Lists]

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

[Gnash-dev] Problem with the new gst-soundhandler

From: Tomas Groth
Subject: [Gnash-dev] Problem with the new gst-soundhandler
Date: Fri, 8 Feb 2008 21:23:24 +0100 (CET)


I just tried the new gst-soundhandler, took a quick look at the code, and I
think I noticed a problem with the new design. I hope mentioning on the list
will gather more suggestions and thoughts on this.
The problem is that the new design doesn't allow the same sound to be played
multiple times, simultaneously. The new design uses 1 object with 1
gstreamer-pipeline to control the playback of every sound registered in the
soundhandler. This works fine for soundstreams, which can't be play multiple
times, simultaneously, but soundblocks can.
The old design uses/used one gstreamer-pipeline for every active sound, meaning
that a new gstreamer-pipeline was created every time a sound was being played.
The problem with that approach is that setting up the pipeline for each sound
at playtime introduces a bit of a lag.
I suggest re-using the old approach, or something similar to solve this



      Find din nye laptop på Se de gode tilbud her -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]