Skip to content

Commit

Permalink
refactor(voice-demo): use NewDefaultInputStream
Browse files Browse the repository at this point in the history
  • Loading branch information
nullswan committed Nov 9, 2024
1 parent 57c7c16 commit 9fedc40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/voice-demo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func main() {
defer vad.Stop()

// Create input stream
inputStream, err := audio.NewInputStream(
inputStream, err := audio.NewDefaultInputStream(
logger,
audioOpts,
func(buffer []float32) {
Expand Down

0 comments on commit 9fedc40

Please sign in to comment.