Skip to content

Commit e52b3e4

Browse files
committed
Fix iteration of OpenAL src.bufQueue
1 parent a41e1d0 commit e52b3e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/libopenal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4056,7 +4056,7 @@ var LibraryOpenAL = {
40564056
40574057
// Find the first non-zero buffer in the queue to determine the proper format
40584058
var templateBuf = AL.buffers[0];
4059-
for (var buf of src.bufQueue.length) {
4059+
for (var buf of src.bufQueue) {
40604060
if (buf.id !== 0) {
40614061
templateBuf = buf;
40624062
break;

0 commit comments

Comments
 (0)