From c8d6dd7e23c5ccb9f6118c47cf02c306b180a592 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Tue, 27 Aug 2013 13:38:41 +0100 Subject: starting preview node feature --- rotord/src/rendercontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rotord/src/rendercontext.cpp') 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 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) ){ -- cgit v1.2.3