1
2
3
4
5
6
7
8
9
10
11
12
13
14
| //go:build !darwin
|
| package audio
|
| type microphoneAuthorization struct {
| granted bool
| state string
| }
|
| var ensureMicrophoneAuthorization = defaultEnsureMicrophoneAuthorization
|
| func defaultEnsureMicrophoneAuthorization() microphoneAuthorization {
| return microphoneAuthorization{granted: true, state: "granted"}
| }
|
|