mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-12 22:17:26 +01:00
parent
7f8248cb44
commit
3fb469d5a5
@ -276,6 +276,7 @@ func (p *playerImpl) playImpl() {
|
|||||||
nBlockAlign: uint16(numBlockAlign),
|
nBlockAlign: uint16(numBlockAlign),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TOOD: What about using an event instead of a callback? PortAudio and other libraries do that.
|
||||||
w, err := waveOutOpen(f, waveOutOpenCallback)
|
w, err := waveOutOpen(f, waveOutOpenCallback)
|
||||||
const elementNotFound = 1168
|
const elementNotFound = 1168
|
||||||
if e, ok := err.(*winmmError); ok && e.errno == elementNotFound {
|
if e, ok := err.(*winmmError); ok && e.errno == elementNotFound {
|
||||||
|
Loading…
Reference in New Issue
Block a user