njh / silentjack

SilentJack is a silence/dead air detector for the Jack Audio Connection Kit.
http://www.aelius.com/njh/silentjack/
GNU General Public License v2.0
23 stars 5 forks source link

Change to allow for max. 8 connected channels #4

Open Moonbase59 opened 6 years ago

Moonbase59 commented 6 years ago

I tried to adapt your code to handle more than one channel connected to it (by using more than one "-c" commands).

This is my first PR ever, please excuse if I made any mistakes. I didn’t change any version numbers or such, just modified silentjack.c.

I’d be grateful if you could accept this, since IDJC users could really use watching stereo channels for silence! Thank you.

Moonbase59 commented 6 years ago

I do well understand that not everyone has endless time ;-) but I’d still be glad if this could be reviewed and accepted. I do think it’s of use for others, too.

The modified version has been running in daily use (2 channels) on several IDJC web radio stations for several weeks now, without problems.

Moonbase59 commented 5 years ago

@njh Just read you on https://github.com/erikd/libsndfile/issues/479 :-) Which of course reminds me of silentjack … been in daily use for a year now, accept the PR?