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-2221-gc0e274d
Date: Wed, 23 Sep 2015 13:48:22 +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  c0e274dbcea978e5a6dc41e3faf3e0196f8660b1 (commit)
      from  98f45235e1a89b9834de5095ae9eb630019e7b8d (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=c0e274dbcea978e5a6dc41e3faf3e0196f8660b1


commit c0e274dbcea978e5a6dc41e3faf3e0196f8660b1
Author: Nutchanon Wetchasit <address@hidden>
Date:   Wed Sep 23 15:48:13 2015 +0200

    Correct code comment about 8-bit PCM audio format in AudioDecoderSimple.

diff --git a/libmedia/AudioDecoderSimple.cpp b/libmedia/AudioDecoderSimple.cpp
index e7c9339..d410ca7 100644
--- a/libmedia/AudioDecoderSimple.cpp
+++ b/libmedia/AudioDecoderSimple.cpp
@@ -387,7 +387,7 @@ AudioDecoderSimple::decode(const std::uint8_t* input, 
std::uint32_t inputSize,
                        memcpy(decodedData, input, inputSize);
                        outsize = inputSize;
                } else {
-                       // Convert 8-bit signed to 16-bit range
+                       // Convert 8-bit unsigned to 16-bit signed range
                        // Allocate as many shorts as there are samples
                        u8_expand(decodedData, input, inputSize);
                        outsize = inputSize * 2;
@@ -398,7 +398,7 @@ AudioDecoderSimple::decode(const std::uint8_t* input, 
std::uint32_t inputSize,
                // Convert to 16-bit host-endian.
                if (!_is16bit)
                {
-                       // Convert 8-bit signed to 16-bit range
+                       // Convert 8-bit unsigned to 16-bit signed range
                        // Allocate as many shorts as there are 8-bit samples
                        u8_expand(decodedData, input, inputSize);
                        outsize = inputSize * 2;

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

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


hooks/post-receive
-- 
Gnash



reply via email to

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