veandco / go-sdl2

SDL2 binding for Go
https://godoc.org/github.com/veandco/go-sdl2
BSD 3-Clause "New" or "Revised" License
2.2k stars 218 forks source link

AudioStream.Clear calls SDL_AudioStreamFlush #377

Closed gonutz closed 5 years ago

gonutz commented 5 years ago

The implementation of AudioStream.Clear calls SDL_AudioStreamFlush. It should probably be calling SDL_AudioStreamClear right?

gonutz commented 5 years ago

By the way, why are there so many TODO:s in the doc comments of API calls?

veeableful commented 5 years ago

You're right @gonutz. Thanks for informing me!

The TODOs are to mark page URLs that don't exist yet. When SDL2 devs publish the pages, they should be removed.

gonutz commented 5 years ago

I see you did the change so I am closing this now.