Skip to content

Commit a4eeaa4

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exp/audio/al/al.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,9 @@ 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) {
339-
alSourceUnqueueBuffers(s, buffer)
337+
// UnqueueBuffers removes completed buffers from the buffer queue.
338+
func (s Source) UnqueueBuffers(buffer []Buffer) {
339+
alSourceUnqueueBuffers(s, buffers)
340340
}
341341

342342
// ListenerGain returns the total gain applied to the final mix.

0 commit comments

Comments
 (0)