aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]) {