diff options
author | Jordi Vilalta Prat | 2008-12-22 11:22:15 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2008-12-22 11:22:15 +0000 |
commit | b1999a2a16b83aa031df2ce1cb266b7fea8847da (patch) | |
tree | a042bbc975ead7e8b38243d0d25822d70e72fe69 /graphics/video | |
parent | 2ec51ef3585d9450ddf21cff9212c0bc7f0b6a3f (diff) | |
download | scummvm-rg350-b1999a2a16b83aa031df2ce1cb266b7fea8847da.tar.gz scummvm-rg350-b1999a2a16b83aa031df2ce1cb266b7fea8847da.tar.bz2 scummvm-rg350-b1999a2a16b83aa031df2ce1cb266b7fea8847da.zip |
Fixed indentation and removed whitespaces at the end of line
svn-id: r35481
Diffstat (limited to 'graphics/video')
-rw-r--r-- | graphics/video/smk_player.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/graphics/video/smk_player.cpp b/graphics/video/smk_player.cpp index 458a8c0d12..b0e79792d8 100644 --- a/graphics/video/smk_player.cpp +++ b/graphics/video/smk_player.cpp @@ -39,10 +39,10 @@ namespace Graphics { enum SmkBlockTypes { - SMK_BLOCK_MONO = 0, - SMK_BLOCK_FULL = 1, - SMK_BLOCK_SKIP = 2, - SMK_BLOCK_FILL = 3 + SMK_BLOCK_MONO = 0, + SMK_BLOCK_FULL = 1, + SMK_BLOCK_SKIP = 2, + SMK_BLOCK_FILL = 3 }; /* @@ -446,7 +446,7 @@ bool SMKPlayer::loadFile(const char *fileName) { // * bit 28 - 1 = stereo audio; 0 = mono audio // * bits 27-26 - if both set to zero - use v2 sound decompression // * bits 25-24 - unused - // * bits 23-0 - audio sample rate + // * bits 23-0 - audio sample rate audioInfo = _fileStream->readUint32LE(); _header.audioInfo[i].isCompressed = audioInfo & 0x80000000; _header.audioInfo[i].hasAudio = audioInfo & 0x40000000; @@ -570,7 +570,7 @@ bool SMKPlayer::decodeNextFrame() { if (_header.audioInfo[i].hasAudio && chunkSize > 0 && i == 0) { // If it's track 0, play the audio data byte *soundBuffer = new byte[chunkSize]; - + _fileStream->read(soundBuffer, chunkSize); if (_header.audioInfo[i].isCompressed) { |