audio/internal/readerdriver: Bug fix: Compile error

This commit is contained in:
Hajime Hoshi 2021-04-29 18:37:10 +09:00
parent 760072e3a9
commit 1acf5bc260

View File

@ -25,6 +25,6 @@ func IsAvailable() bool {
return false return false
} }
func NewContext(sampleRate int, channelNum int, bitDepthInBytes int, onReady func()) (Context, error) { func NewContext(sampleRate int, channelNum int, bitDepthInBytes int) (Context, chan struct{}, error) {
panic(fmt.Sprintf("readerdriver: NewContext is not available on this environment: GOOS=%s", runtime.GOOS)) panic(fmt.Sprintf("readerdriver: NewContext is not available on this environment: GOOS=%s", runtime.GOOS))
} }