mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
audio: Remove confusing comments
This commit is contained in:
parent
e4ca01db31
commit
a329f7939d
@ -45,7 +45,6 @@ func newHeader(waveOut C.HWAVEOUT, bufferSize int) (*header, error) {
|
||||
dwBufferLength: C.DWORD(bufferSize),
|
||||
},
|
||||
}
|
||||
// TODO: Need to unprepare to avoid memory leak?
|
||||
if err := C.waveOutPrepareHeader(waveOut, &h.waveHdr, C.sizeOfWavehdr); err != C.MMSYSERR_NOERROR {
|
||||
return nil, fmt.Errorf("driver: waveOutPrepareHeader error: %d", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user