refactor(sointu): change the name of AudioSink into AudioOutput

The interface is never used as anything else as Output so trying to generalize as something more vague like Sink made no sense.
This commit is contained in:
vsariola
2021-08-30 23:11:33 +03:00
parent eda48491e2
commit 1a5251dbf6
2 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ type OtoOutput struct {
tmpBuffer []byte
}
func (c *OtoContext) Output() sointu.AudioSink {
func (c *OtoContext) Output() sointu.AudioOutput {
return &OtoOutput{player: (*oto.Context)(c).NewPlayer(), tmpBuffer: make([]byte, 0)}
}