gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [bug #45722] Gnash emitted loud screech after playing PCM


From: Nutchanon Wetchasit
Subject: [Gnash-commit] [bug #45722] Gnash emitted loud screech after playing PCM audio object
Date: Tue, 08 Sep 2015 10:38:24 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12

Follow-up Comment #12, bug #45722 (project gnash):

>From result in previous posts, it seems that both Gnash's media codec
handler backend (FFmpeg and GStreamer-based) have a problem on incremental
decoding of _uncompressed PCM audio_. The issue is caused by either:

* PCM decoder does not consume source data in a block size that is rounded to
frame boundary. Or...
* PCM decoder does not keep the remainder byte(s) for decoding in the next
go.
 
This issue _surfaced_ when the decoder is requested to read in a block that
is
not a multiple of frame size
<http://git.savannah.gnu.org/cgit/gnash.git/commit/?id=7a53cb38d4b3f8a8f6160a40e2912133663c1ab3>,
resulting in misalignment, thus nasty screech
are being decoded instead of desired sound in the second decoder call
(and so on).

Fixing the second issue (by keeping the remainder bytes in the decoder for
use
in the next try) would make the incremental decoding works even when
the requested chunk size is as small as 1 byte.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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