audio: Bug fix: Compile error and noise on Windows

This commit is contained in:
Hajime Hoshi 2016-04-15 01:58:27 +09:00
parent 715b5df7e1
commit 98be54fe60

View File

@ -80,7 +80,7 @@ type Player struct {
headers []*header
}
const bufferSize = 1024
const bufferSize = 4096
func NewPlayer(sampleRate, channelNum, bytesPerSample int) (*Player, error) {
numBlockAlign := channelNum * bytesPerSample
@ -135,6 +135,7 @@ func (p *Player) Proceed(data []byte) error {
return nil
}
func (p *Player) Close() {
func (p *Player) Close() error {
// TODO: Implement this
return nil
}