aboutsummaryrefslogtreecommitdiffstats
path: root/src/VLCInput.h
diff options
context:
space:
mode:
authorMatthias Braendli <matthias.braendli@u-blox.com>2015-03-23 13:26:59 +0100
committerMatthias Braendli <matthias.braendli@u-blox.com>2015-03-23 13:26:59 +0100
commitcfd3e90270e7a54da32665374c7b8cddce826efa (patch)
tree9fa4df05b4bc3d4ef06ac0cea7f66a62d5aee724 /src/VLCInput.h
parent3ca763faf015958b8aed212efabbfac128adccee (diff)
downloadODR-AudioEnc-cfd3e90270e7a54da32665374c7b8cddce826efa.tar.gz
ODR-AudioEnc-cfd3e90270e7a54da32665374c7b8cddce826efa.tar.bz2
ODR-AudioEnc-cfd3e90270e7a54da32665374c7b8cddce826efa.zip
The -c option should also work for libvlc input
Diffstat (limited to 'src/VLCInput.h')
-rw-r--r--src/VLCInput.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/VLCInput.h b/src/VLCInput.h
index e387044..f9cf783 100644
--- a/src/VLCInput.h
+++ b/src/VLCInput.h
@@ -41,10 +41,11 @@ class VLCInput
public:
VLCInput(const std::string& uri,
int rate,
+ unsigned channels,
unsigned verbosity) :
m_uri(uri),
m_verbosity(verbosity),
- m_channels(2),
+ m_channels(channels),
m_rate(rate),
m_vlc(NULL) { }