aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2013-03-14 18:52:51 -0400
committerAlon Zakai <alonzakai@gmail.com>2013-03-15 11:53:16 -0700
commit837404f6fe65b058aad7ec618adf0deda5159216 (patch)
tree9bb819981f4e8c0fd94c3d96692b4adcf9156b58 /src
parent001c03c0f3a32b65cd6d7b9e521db556ebe1fcd4 (diff)
Use the correct function name
Diffstat (limited to 'src')
-rw-r--r--src/library_openal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library_openal.js b/src/library_openal.js
index c57f9cad..ef88ce3f 100644
--- a/src/library_openal.js
+++ b/src/library_openal.js
@@ -280,11 +280,11 @@ var LibraryOpenAL = {
alSourceStop: function(source) {
if (!AL.currentContext) {
- console.error("alSourcePlay called without a valid context");
+ console.error("alSourceStop called without a valid context");
return;
}
if (source > AL.currentContext.src.length) {
- console.error("alSourcePlay called with an invalid source");
+ console.error("alSourceStop called with an invalid source");
return;
}
if ("src" in AL.currentContext.src[source - 1]) {