This commit is contained in:
2026-09-02 01:00:09 +03:00
parent 166744fe88
commit eaa46e7494
17 changed files with 1351 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package mic
import (
"errors"
)
var (
ErrDeviceNotFound = errors.New("microphone not found")
ErrAlreadyRecording = errors.New("already recording")
ErrNotRecording = errors.New("not recording")
ErrNoAudio = errors.New("no audio available")
)
type Device struct {
Index int `json:"index"`
Name string `json:"name"`
}