gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-2212-ge4c2ac8
Date: Mon, 14 Sep 2015 08:42:35 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  e4c2ac8c39f3c2745651c622075c3ca1a23890f1 (commit)
       via  c16e78cd22f2fb2c656c378399aba0d3956e5254 (commit)
       via  76b8fa551a4c4849c72318e6fb7bcafb070485db (commit)
      from  f5016cc9399c9ffd3c5d32c67bb28fac285559c6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=e4c2ac8c39f3c2745651c622075c3ca1a23890f1


commit e4c2ac8c39f3c2745651c622075c3ca1a23890f1
Author: Sandro Santilli <address@hidden>
Date:   Mon Sep 14 10:42:23 2015 +0200

    Add item about PCM loud screech fix

diff --git a/NEWS b/NEWS
index 1ee06f7..76221a0 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,7 @@ Caveats:
 
 Improvements since 0.8.10 release are:
 
+ * Fix loud screech after playing PCM audio (#45722)
  * Fix corrupted WAV file on --audio-dump (#45887)
  * Fix callback registration issue in ExternalInterface (#37223)
  * Fix possible out-of-bound read in parser (#43865)

http://git.savannah.gnu.org/cgit//commit/?id=c16e78cd22f2fb2c656c378399aba0d3956e5254


commit c16e78cd22f2fb2c656c378399aba0d3956e5254
Author: Nutchanon Wetchasit <address@hidden>
Date:   Mon Sep 14 10:40:32 2015 +0200

    Use a correct audio data size after 8 to 16-bit embeded RAW PCM sound 
conversion.
    
    See bug #45722

diff --git a/libmedia/AudioDecoderSimple.cpp b/libmedia/AudioDecoderSimple.cpp
index fdcc63b..e7c9339 100644
--- a/libmedia/AudioDecoderSimple.cpp
+++ b/libmedia/AudioDecoderSimple.cpp
@@ -390,7 +390,7 @@ AudioDecoderSimple::decode(const std::uint8_t* input, 
std::uint32_t inputSize,
                        // Convert 8-bit signed to 16-bit range
                        // Allocate as many shorts as there are samples
                        u8_expand(decodedData, input, inputSize);
-                       outsize = inputSize * (_stereo ? 4 : 2);
+                       outsize = inputSize * 2;
                }
                break;
        case AUDIO_CODEC_UNCOMPRESSED:

http://git.savannah.gnu.org/cgit//commit/?id=76b8fa551a4c4849c72318e6fb7bcafb070485db


commit 76b8fa551a4c4849c72318e6fb7bcafb070485db
Author: Nutchanon Wetchasit <address@hidden>
Date:   Mon Sep 14 10:40:18 2015 +0200

    Use a correct audio data size after 8 to 16-bit embeded PCM sound 
conversion.
    
    See bug #45722

diff --git a/libmedia/AudioDecoderSimple.cpp b/libmedia/AudioDecoderSimple.cpp
index e4d71eb..fdcc63b 100644
--- a/libmedia/AudioDecoderSimple.cpp
+++ b/libmedia/AudioDecoderSimple.cpp
@@ -401,7 +401,7 @@ AudioDecoderSimple::decode(const std::uint8_t* input, 
std::uint32_t inputSize,
                        // Convert 8-bit signed to 16-bit range
                        // Allocate as many shorts as there are 8-bit samples
                        u8_expand(decodedData, input, inputSize);
-                       outsize = inputSize * (_stereo ? 4 : 2);
+                       outsize = inputSize * 2;
 
                } else {
                        // Allocate a destination buffer

-----------------------------------------------------------------------

Summary of changes:
 NEWS                            |    1 +
 libmedia/AudioDecoderSimple.cpp |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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