Skip to content

Commit

Permalink
audio: Bug fix: Compile error for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed Mar 28, 2021
1 parent f4efdd6 commit bf4c1e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions audio/export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit bf4c1e3

Please sign in to comment.