audio: bug fix: test failures

This commit is contained in:
Hajime Hoshi 2022-07-01 02:31:29 +09:00
parent a516a5b092
commit 7232b1a8a9

View File

@ -104,6 +104,10 @@ func (p *dummyPlayer) Err() error {
func (p *dummyPlayer) SetBufferSize(bufferSize int) {
}
func (p *dummyPlayer) Seek(offset int64, whence int) (int64, error) {
return 0, nil
}
func (p *dummyPlayer) Close() error {
p.m.Lock()
defer p.m.Unlock()