ashishbajaj99 / mic

A simple stream wrapper for arecord (Linux (including Raspbian)) and sox (Mac, Windows). Returns a Passthrough stream object so that stream control like pause(), resume(), pipe(), etc. are all available.
MIT License
103 stars 61 forks source link

'plughw:1,0' is a bad default for the 'device' option #29

Open LukeGT opened 6 years ago

LukeGT commented 6 years ago

The chosen default device is platform-specific. I for example do not have a 'plughw:1,0' device on my laptop, my default mic is at 'plughw:0,0' instead.

This caused errors when I tried running the example code.

The underlying commands have some smarts to select a default device for you. I think the library should, by default, not specify a device on the command line, allowing the underlying tools to do their magic.