[Swfdec] [Bug 13772] Sound freezes animation with oss backend

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 3 23:30:29 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=13772





--- Comment #12 from Benjamin Otte <otte at gnome.org>  2008-07-03 23:30:28 PST ---
Swfdec has not used GStreamer because of 4 reasons:
1) Swfdec didn't depend on GStreamer when the audio backends were written. That
point is moot by now, but the biggest reason for why this wasn't even an
option.
2) We open multiple sound streams and I wasn't sure if all audio outputs are
able to handle this. This should be possible by now, so this point is moot,
too.
3) I want to be able to couple sound streams. If a browser shows 3 Flash files
and each emits 3 different sound streams, you don't want 9 volume controls or
1, but 3.
4) I want to be able to minimize dropouts, even when Swfdec (or X) clogs the
CPU. The method to do this is to render 2 seconds of audio in advance.
Unfortunately this causes prolems if you change the volume or pan inside the
Flash file, because you don't want to wait for this to take 2 seconds to take
effect. The solution to this is to rewind the sound stream. I'm not sure how to
achieve this with GStreamer.

So, the reason why GStreamer wasn't used before is 1) and 2) and the reason why
GStreamer (nor ALSA nor OSS) but Pulseaudio is the future is reasons 3) and 4).


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Swfdec mailing list