Skip to content

Commit

Permalink
Update package paths to /v2
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkKremer committed Nov 3, 2024
1 parent d2a4abf commit b57783e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Microphone [![GoDoc](https://godoc.org/github.com/MarkKremer/microphone?status.svg)](https://godoc.org/github.com/MarkKremer/microphone) [![Go Report Card](https://goreportcard.com/badge/github.com/MarkKremer/microphone)](https://goreportcard.com/report/github.com/MarkKremer/microphone)
# Microphone [![GoDoc](https://godoc.org/github.com/MarkKremer/microphone/v2?status.svg)](https://godoc.org/github.com/MarkKremer/microphone/v2) [![Go Report Card](https://goreportcard.com/badge/github.com/MarkKremer/microphone/v2)](https://goreportcard.com/report/github.com/MarkKremer/microphone/v2)

Microphone is a small library that takes [this Go PortAudio library](https://github.com/gordonklaus/portaudio)
and wraps its microphone stream in a beep.StreamCloser
so that it can be used with everything else in the [Beep library](https://github.com/gopxl/beep).

```bash
go get -u github.com/MarkKremer/microphone
go get -u github.com/MarkKremer/microphone/v2
```

## Installation
Expand Down
3 changes: 2 additions & 1 deletion examples/record/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import (
"os/signal"
"strings"

"github.com/MarkKremer/microphone"
"github.com/MarkKremer/microphone/v2"

"github.com/gopxl/beep/v2/wav"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/MarkKremer/microphone
module github.com/MarkKremer/microphone/v2

go 1.21

Expand Down

0 comments on commit b57783e

Please sign in to comment.