aboutsummaryrefslogtreecommitdiff
path: root/sound/mods/paula.h
diff options
context:
space:
mode:
authorMax Horn2007-06-28 19:47:47 +0000
committerMax Horn2007-06-28 19:47:47 +0000
commit21aa642e7aa255c439c5ce84d57eed70653fd53e (patch)
tree5e6fb717d87915af9ff2041f5d7d978c1f63e0f0 /sound/mods/paula.h
parent6dfa44dbd58e0a8c1a6b4e31c2fe605b75fce6ed (diff)
downloadscummvm-rg350-21aa642e7aa255c439c5ce84d57eed70653fd53e.tar.gz
scummvm-rg350-21aa642e7aa255c439c5ce84d57eed70653fd53e.tar.bz2
scummvm-rg350-21aa642e7aa255c439c5ce84d57eed70653fd53e.zip
Some optimizations to the Paula sound chip emu code (removing common sub expressions and stuff)
svn-id: r27761
Diffstat (limited to 'sound/mods/paula.h')
-rw-r--r--sound/mods/paula.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/mods/paula.h b/sound/mods/paula.h
index 28fed004a7..1e196daf40 100644
--- a/sound/mods/paula.h
+++ b/sound/mods/paula.h
@@ -127,6 +127,9 @@ private:
int _intFreq;
int _curInt;
bool _playing;
+
+ template<bool stereo>
+ int readBufferIntern(int16 *buffer, const int numSamples);
};
} // End of namespace Audio