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: Thu, 17 Sep 2015 14:26:20 +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 #26, bug #45722 (project gnash):

Note (for the record): embeded 8-bit PCM `UNCOMPRESSED` and `RAW` event sound
is encoded in an _unsigned_ 8-bit PCM format.

If you run following commands with `pcmplay-8bit.swf` and
`rawpcmplay-8bit.swf`
you will hear the correct siren sound:

swfmill swf2xml pcmplay-8bit.swf | sed -n 's/.*<data>([^<]*)</data>/1/p' |
base64 -d | aplay -t raw -f U8 -r 44100
swfmill swf2xml rawpcmplay-8bit.swf | sed -n 's/.*<data>([^<]*)</data>/1/p' |
base64 -d | aplay -t raw -f U8 -r 44100


But if you changed the `-f U8` part to `-f S8` (signed PCM), you'd hear a
hoarse wailing instead.

    _______________________________________________________

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]