Files
2026-09-02 01:00:09 +03:00

18 lines
344 B
Go

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"`
}