Skip to content

Commit

Permalink
x/mobile/exp/audio/al: fix signature of UnqueueBuffers
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLubar committed Oct 26, 2020
1 parent 973feb4 commit a4eeaa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exp/audio/al/al.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,9 @@ func (s Source) QueueBuffers(buffer ...Buffer) {
alSourceQueueBuffers(s, buffer)
}

// UnqueueBuffers removes the specified buffers from the buffer queue.
func (s Source) UnqueueBuffers(buffer ...Buffer) {
alSourceUnqueueBuffers(s, buffer)
// UnqueueBuffers removes completed buffers from the buffer queue.
func (s Source) UnqueueBuffers(buffer []Buffer) {
alSourceUnqueueBuffers(s, buffers)
}

// ListenerGain returns the total gain applied to the final mix.
Expand Down

0 comments on commit a4eeaa4

Please sign in to comment.