decoder/renderer: use memory cache and single decoder to optimize frames for

cycles
This commit is contained in:
itsmattkc
2020-02-20 15:32:12 +11:00
parent 71048f40a8
commit 2145efa2a0
19 changed files with 150 additions and 135 deletions
+3
View File
@@ -21,6 +21,7 @@
#ifndef DECODER_H
#define DECODER_H
#include <QMutex>
#include <QObject>
#include <stdint.h>
@@ -265,6 +266,8 @@ protected:
bool open_;
QMutex mutex_;
private:
void ConformInternal(SwrContext *resampler, WaveOutput *output, const char *in_data, int in_sample_count);