b-fitzpatrick / cpiped

Captures an audio stream and outputs to a pipe with buffering and silence detection
GNU General Public License v3.0
71 stars 13 forks source link

Support for single channel #13

Open abelmatser opened 3 years ago

abelmatser commented 3 years ago

I tried to get single channel input to work in my fork, but I could not get it to work.

abelmatser/cpiped

The mono audio input still sounds jittery. I heard this same jittery sound when capturing mono audio as stereo (arecord without -c 1 option) and forwarding this to snapcast.

What works: sudo arecord -r 44100 -f S16_LE -D hw:1,0 > /tmp/snapfifo What does not work: sudo ./cpiped -c 1 -d hw:1,0 /tmp/snapfifo