[Scummvm-cvs-logs] SF.net SVN: scummvm:[53091] scummvm/trunk
sylvaintv at users.sourceforge.net
sylvaintv at users.sourceforge.net
Sat Oct 9 02:17:55 CEST 2010
Revision: 53091
http://scummvm.svn.sourceforge.net/scummvm/?rev=53091&view=rev
Author: sylvaintv
Date: 2010-10-09 00:17:55 +0000 (Sat, 09 Oct 2010)
Log Message:
-----------
VIDEO: Remove useless references in handleAudioTrack function
Modified Paths:
--------------
scummvm/trunk/engines/toon/movie.cpp
scummvm/trunk/engines/toon/movie.h
scummvm/trunk/graphics/video/smk_decoder.cpp
scummvm/trunk/graphics/video/smk_decoder.h
Modified: scummvm/trunk/engines/toon/movie.cpp
===================================================================
--- scummvm/trunk/engines/toon/movie.cpp 2010-10-08 22:54:40 UTC (rev 53090)
+++ scummvm/trunk/engines/toon/movie.cpp 2010-10-09 00:17:55 UTC (rev 53091)
@@ -27,7 +27,7 @@
namespace Toon {
-void ToonstruckSmackerDecoder::handleAudioTrack(const byte &track, const uint32 &chunkSize, const uint32 &unpackedSize) {
+void ToonstruckSmackerDecoder::handleAudioTrack(byte track, uint32 chunkSize, uint32 unpackedSize) {
debugC(6, kDebugMovie, "handleAudioTrack(%d, %d, %d)", track, chunkSize, unpackedSize);
if (track == 1 && chunkSize == 4) {
Modified: scummvm/trunk/engines/toon/movie.h
===================================================================
--- scummvm/trunk/engines/toon/movie.h 2010-10-08 22:54:40 UTC (rev 53090)
+++ scummvm/trunk/engines/toon/movie.h 2010-10-09 00:17:55 UTC (rev 53091)
@@ -34,7 +34,7 @@
class ToonstruckSmackerDecoder : public Graphics::SmackerDecoder {
public:
ToonstruckSmackerDecoder(Audio::Mixer *mixer, Audio::Mixer::SoundType soundType = Audio::Mixer::kSFXSoundType);
- void handleAudioTrack(const byte &track, const uint32 &chunkSize, const uint32 &unpackedSize);
+ void handleAudioTrack(byte track, uint32 chunkSize, uint32 unpackedSize);
bool loadFile(const Common::String &filename, int forcedflags) ;
};
Modified: scummvm/trunk/graphics/video/smk_decoder.cpp
===================================================================
--- scummvm/trunk/graphics/video/smk_decoder.cpp 2010-10-08 22:54:40 UTC (rev 53090)
+++ scummvm/trunk/graphics/video/smk_decoder.cpp 2010-10-09 00:17:55 UTC (rev 53091)
@@ -712,7 +712,7 @@
return _surface;
}
-void SmackerDecoder::handleAudioTrack(const byte &track, const uint32 &chunkSize, const uint32 &unpackedSize) {
+void SmackerDecoder::handleAudioTrack(byte track, uint32 chunkSize, uint32 unpackedSize) {
if (_header.audioInfo[track].hasAudio && chunkSize > 0 && track == 0) {
// If it's track 0, play the audio data
byte *soundBuffer = (byte *)malloc(chunkSize);
Modified: scummvm/trunk/graphics/video/smk_decoder.h
===================================================================
--- scummvm/trunk/graphics/video/smk_decoder.h 2010-10-08 22:54:40 UTC (rev 53090)
+++ scummvm/trunk/graphics/video/smk_decoder.h 2010-10-09 00:17:55 UTC (rev 53091)
@@ -69,7 +69,7 @@
PixelFormat getPixelFormat() const { return PixelFormat::createFormatCLUT8(); }
byte *getPalette() { _dirtyPalette = false; return _palette; }
bool hasDirtyPalette() const { return _dirtyPalette; }
- virtual void handleAudioTrack(const byte &track, const uint32 &chunkSize, const uint32 &unpackedSize);
+ virtual void handleAudioTrack(byte track, uint32 chunkSize, uint32 unpackedSize);
protected:
Common::Rational getFrameRate() const { return _frameRate; }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list