From: Jörn Nettingsmeier Date: Fri, 15 Feb 2019 23:51:11 +0000 (+0000) Subject: Remove unused headers. will come back once we implement command line parsi... X-Git-Tag: 3.3RC0~52^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55797c83877c0209f8a0ea666d6f755805d7cd64;p=thirdparty%2Fshairport-sync.git Remove unused headers. will come back once we implement command line parsing, the others may well be gone for good. --- diff --git a/audio_jack.c b/audio_jack.c index 95759536..8d176759 100644 --- a/audio_jack.c +++ b/audio_jack.c @@ -20,17 +20,11 @@ #include "audio.h" #include "common.h" #include -#include #include -#include #include -#include -#include #include -#include #include -#include #include // Two-channel, 16bit audio: @@ -215,6 +209,9 @@ void jack_deinit() { void jack_start(__attribute__((unused)) int i_sample_rate, __attribute__((unused)) int i_sample_format) { // nothing to do, JACK client has already been set up at jack_init() + // also, we have no say over the sample rate or sample format of JACK + // we convert the 16bit samples to float, and die if the sample rate is != 44k1. + // FIXME: later, resampling would be nice. Fold into soxr if possible } void jack_flush() {