sdl/audio: Fix compile error caused by AudioStream.Clear()
@@ -617,10 +617,8 @@ func (stream *AudioStream) Flush() (err error) {
// Clear clears any pending data in the stream without converting it
// TODO: (https://wiki.libsdl.org/SDL_AudioStreamClear)
-func (stream *AudioStream) Clear() (err error) {
- ret := int(C.SDL_AudioStreamClear(stream.cptr()))
- err = errorFromInt(ret)
- return
+func (stream *AudioStream) Clear() {
+ C.SDL_AudioStreamClear(stream.cptr())
}
// Free frees the audio stream
