aboutsummaryrefslogtreecommitdiffstats
path: root/src/VLCInput.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-01-10 16:48:31 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-01-10 16:48:31 +0100
commitc36c65f341429d8b6412be23205f6f9d1b0c864c (patch)
tree9253b209f7c079669f0c60e28bececa0830c30db /src/VLCInput.cpp
parentda68fb19584e7c5d075c7d2d91e3cf1308674f2e (diff)
downloadODR-AudioEnc-c36c65f341429d8b6412be23205f6f9d1b0c864c.tar.gz
ODR-AudioEnc-c36c65f341429d8b6412be23205f6f9d1b0c864c.tar.bz2
ODR-AudioEnc-c36c65f341429d8b6412be23205f6f9d1b0c864c.zip
Create VLCInputDirect class
Diffstat (limited to 'src/VLCInput.cpp')
-rw-r--r--src/VLCInput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VLCInput.cpp b/src/VLCInput.cpp
index 492d4e6..7f6aae8 100644
--- a/src/VLCInput.cpp
+++ b/src/VLCInput.cpp
@@ -309,7 +309,7 @@ ssize_t VLCInput::m_read(uint8_t* buf, size_t length)
return err;
}
-ssize_t VLCInput::read(uint8_t* buf, size_t length)
+ssize_t VLCInputDirect::read(uint8_t* buf, size_t length)
{
int bytes_per_frame = m_channels * BYTES_PER_SAMPLE;
assert(length % bytes_per_frame == 0);