summaryrefslogtreecommitdiff
path: root/rotord/src/rendercontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/rendercontext.cpp')
-rw-r--r--rotord/src/rendercontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/src/rendercontext.cpp b/rotord/src/rendercontext.cpp
index cbce728..47ff9c1 100644
--- a/rotord/src/rendercontext.cpp
+++ b/rotord/src/rendercontext.cpp
@@ -353,7 +353,7 @@ bool Render_context::load_audio(const string &filename,vector<Audio_processor*>
int rate = loader.codecContext->sample_rate;
int samples = ((loader.formatContext->duration + 5000)*rate)/AV_TIME_BASE; //why 5000 more?
int channels= loader.codecContext->channels;
- int bits = 16; //??? loader.codecContext->bits_per_raw_sample;
+ int bits = 16; //???why can't we read this loader.codecContext->bits_per_raw_sample;
for (auto p: processors) {
if(!p->init(channels,bits,samples,rate) ){