Fix audio.microphone
This commit is contained in:
		| @@ -37,7 +37,7 @@ func NewMicrophone() (*microphone, error) { | ||||
| func (m *microphone) Start() error { | ||||
| 	m.command = exec.Command("ffmpeg", "-re", | ||||
| 		"-f", m.Format, | ||||
| 		"-i", m.Device, | ||||
| 		"-i", fmt.Sprintf(":%s", m.Device), | ||||
| 		"-f", m.Encoding.Codec, | ||||
| 		"-ar", fmt.Sprintf("%d", m.Encoding.Bitrate), | ||||
| 		"-ac", fmt.Sprintf("%d", m.Encoding.Channels), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user