[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-40-g64a2847 |
Date: |
Fri, 11 Feb 2011 10:54:17 +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 64a2847bf05df1f0173bfef0c3aeddf33ce83935 (commit)
from b5f9e2456d0e42f116df502cb5a46aadf6cff9a2 (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=64a2847bf05df1f0173bfef0c3aeddf33ce83935
commit 64a2847bf05df1f0173bfef0c3aeddf33ce83935
Author: Benjamin Wolsey <address@hidden>
Date: Fri Feb 11 11:56:21 2011 +0100
Fix volume adjustment for less than 100%.
diff --git a/libcore/asobj/NetStream_as.cpp b/libcore/asobj/NetStream_as.cpp
index 3e439b0..2a3d261 100644
--- a/libcore/asobj/NetStream_as.cpp
+++ b/libcore/asobj/NetStream_as.cpp
@@ -1903,7 +1903,7 @@ void
adjustVolume(boost::int16_t* data, size_t size, int volume)
{
std::transform(data, data + size, data,
- boost::bind(std::multiplies<int>(), volume / 100.0, _1));
+ boost::bind(std::multiplies<double>(), volume / 100.0, _1));
}
} // anonymous namespace
-----------------------------------------------------------------------
Summary of changes:
libcore/asobj/NetStream_as.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-40-g64a2847,
Benjamin Wolsey <=