diff options
Diffstat (limited to 'rotord/src')
| -rw-r--r-- | rotord/src/rendercontext.cpp | 2 | ||||
| -rwxr-xr-x | rotord/src/rotor.h | 1 |
2 files changed, 1 insertions, 2 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) ){ diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index b47dcc0..616fb5d 100755 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -236,7 +236,6 @@ namespace Rotor { return output(frame); } virtual const Image *output(const Frame_spec &frame)=0; - Image *get_preview(const Frame_spec &frame); Image image; private: float image_time; //? could be used to detect image reuse? |
