gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [bug #25456] [regression] gnash not able to play sound fr


From: Benjamin Wolsey
Subject: [Gnash-commit] [bug #25456] [regression] gnash not able to play sound from presentation
Date: Sat, 09 Jul 2011 08:40:35 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.30 (KHTML, like Gecko) Ubuntu/11.04 Chromium/12.0.742.112 Chrome/12.0.742.112 Safari/534.30

Follow-up Comment #11, bug #25456 (project gnash):

This SWF contains a very large DefineSound tag. Gnash's EmbedSoundInst already
supports incremental decoding (currently threaded), so there seems no reason
not to parse it chunk by chunk. If the chunk is too small, the worst that can
happen is that the sound gets choppy while waiting for data to decode, but a
value of e.g. 2 << 14 seems a reasonable balance. Most event sounds are
smaller than this anyway, so wouldn't require more than one pass.

One effect is that the decoders frequently get incomplete frames, but we hope
that they will then signal that they did not consume all the data, and get it
again on the next chunk.

Anyway, decoding in chunks makes it play immediately for me, so if I find no
adverse side-effects I'll commit it.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25456>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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