gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [patch #8747] Patches to fix 8-bit PCM sound wailing/cras


From: Nutchanon Wetchasit
Subject: [Gnash-commit] [patch #8747] Patches to fix 8-bit PCM sound wailing/crashing in FFmpeg media backend
Date: Sun, 20 Sep 2015 06:41:54 +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 #3, patch #8747 (project gnash):

Patch 4 of 5:
See the attached
`0007_use-original-sample-rate-for-ffmpeg-8bit-pcm-decoder.patch`

Originally, FFmpeg backend divided sound sample rate by 2
<http://git.savannah.gnu.org/cgit/gnash.git/tree/libmedia/ffmpeg/AudioDecoderFfmpeg.cpp?id=516a6cae2301c582b54d7f00188c8e22c5d76c1b#n279>
if the source audio
is _8-bit_ `UNCOMPRESSED`/`RAW` PCM, for an unobvious reason.

This patch removes the divisor; allowing the resampler invoker to use
a correct sample rate for resampling factor calculation.

Note: `pcmplay-8bit.swf` from bug #45722 should now be playing properly
with `gnash --media=ffmpeg` once this patch is applied.

Gnash: 0.8.11dev (patched against git 516a6ca 15-Sep-2015)
SDL: libsdl1.2debian 1.2.15-5 (debian)
libAV: libavcodec53 6:0.8.17-1 (debian), libavformat53 6:0.8.17-1 (debian),
libavutil51 6:0.8.17-1 (debian)
CSound: libcsound64-5.2 1:5.17.11~dfsg-3 (debian)
System: Debian GNU/Linux 7.0 Wheezy i386

(file #34933)
    _______________________________________________________

Additional Item Attachment:

File name: 0007_use-original-sample-rate-for-ffmpeg-8bit-pcm-decoder.patch
Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8747>

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




reply via email to

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