From cfd3e90270e7a54da32665374c7b8cddce826efa Mon Sep 17 00:00:00 2001 From: Matthias Braendli Date: Mon, 23 Mar 2015 13:26:59 +0100 Subject: The -c option should also work for libvlc input --- src/VLCInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/VLCInput.cpp') diff --git a/src/VLCInput.cpp b/src/VLCInput.cpp index 99f86f1..1c84a50 100644 --- a/src/VLCInput.cpp +++ b/src/VLCInput.cpp @@ -56,7 +56,7 @@ void handleStream( { VLCInput* in = (VLCInput*)p_audio_data; - assert(channels == 2); + assert(channels == m_channels); assert(rate == in->getRate()); assert(bits_per_sample == 8*BYTES_PER_SAMPLE); -- cgit v1.2.3