audio: Bug fix: Compile error for tests

This commit is contained in:
Hajime Hoshi 2021-03-28 22:57:50 +09:00
parent f4efdd6355
commit bf4c1e3d74

View File

@ -116,6 +116,10 @@ func (p *dummyReaderPlayer) UnplayedBufferSize() int64 {
return 0
}
func (p *dummyReaderPlayer) Err() error {
return nil
}
func (p *dummyReaderPlayer) Close() error {
p.m.Lock()
defer p.m.Unlock()