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

add bufferFrames and periodFrames options for arecord #34

Open vb-linetco opened 5 years ago

vb-linetco commented 5 years ago

I decided to use bufferFrames and periodFrames because bufferSize is a pretty much burned word. Changing periodFrames can reduce the output delay caused by the default buffer and period size of arecord drastically when you are streaming the output e.g. directly via multicast to a speaker.

Duxy1996 commented 4 years ago

Nice feature. I Hope will be merged soon! I implemented the same one.