Skip to content

Commit 25fec36

Browse files
committed
x/mobile/exp/audio/al: fix signature of UnqueueBuffers
1 parent 973feb4 commit 25fec36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exp/audio/al/al.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,8 @@ func (s Source) QueueBuffers(buffer ...Buffer) {
334334
alSourceQueueBuffers(s, buffer)
335335
}
336336

337-
// UnqueueBuffers removes the specified buffers from the buffer queue.
338-
func (s Source) UnqueueBuffers(buffer ...Buffer) {
337+
// UnqueueBuffers removes completed buffers from the buffer queue.
338+
func (s Source) UnqueueBuffers(buffer []Buffer) {
339339
alSourceUnqueueBuffers(s, buffer)
340340
}
341341

0 commit comments

Comments
 (0)