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
+25
View File
@@ -0,0 +1,25 @@
//go:build !windows
package mic
import "errors"
func List() ([]Device, error) {
return nil, errors.New("microphone is only available on Windows")
}
func Chunk(int) ([]byte, error) {
return nil, errors.New("microphone is only available on Windows")
}
func StartRecord(int) (string, error) {
return "", errors.New("microphone is only available on Windows")
}
func StopRecord() (string, int64, error) {
return "", 0, errors.New("microphone is only available on Windows")
}
func Recording() bool { return false }
func Stop() {}