mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-04 15:04:28 +01:00
audio/interal/readerdriver: Misspelling
This commit is contained in:
parent
d9972822e2
commit
015475ad2c
@ -517,7 +517,7 @@ func (p *playerImpl) closeForReuse() error {
|
|||||||
|
|
||||||
func (p *playerImpl) closeImpl(reuseLater bool) error {
|
func (p *playerImpl) closeImpl(reuseLater bool) error {
|
||||||
if p.audioQueue != nil {
|
if p.audioQueue != nil {
|
||||||
// Even if reuseLater is true, AudioQueuePause is not efficent for reusing.
|
// Even if reuseLater is true, AudioQueuePause is not efficient for reusing.
|
||||||
// AudioQueueStart takes long if the AudioQueueStop is not called.
|
// AudioQueueStart takes long if the AudioQueueStop is not called.
|
||||||
if osstatus := C.AudioQueueStop(p.audioQueue, C.true); osstatus != C.noErr && p.err != nil {
|
if osstatus := C.AudioQueueStop(p.audioQueue, C.true); osstatus != C.noErr && p.err != nil {
|
||||||
// setErrorImpl calls closeImpl. Do not call this.
|
// setErrorImpl calls closeImpl. Do not call this.
|
||||||
|
Loading…
Reference in New Issue
Block a user