remote-mic/audio/encoding.go

14 lines
164 B
Go

package audio
type Encoding struct {
Codec string
Bitrate int
Channels int
}
var defaultEncoding = Encoding{
Codec: "s16le",
Bitrate: 44100,
Channels: 2,
}