removed reliance on Qt multimedia

This commit is contained in:
itsmattkc
2021-10-01 16:12:12 -07:00
parent 12a0c3a977
commit fbc5997d32
13 changed files with 111 additions and 95 deletions
+3 -1
View File
@@ -48,7 +48,9 @@ namespace olive {
#define super TimeBasedWidget
QVector<ViewerWidget*> ViewerWidget::instances_;
const int ViewerWidget::kAudioPlaybackInterval = 2;
// NOTE: Hardcoded interval of size of audio chunk to render and send to the output at a time
const rational ViewerWidget::kAudioPlaybackInterval = rational(1, 8);
const int kMaxPreQueueSize = 8;
+2 -2
View File
@@ -219,7 +219,7 @@ private:
ViewerSizer* sizer_;
QAtomicInt playback_speed_;
int playback_speed_;
rational last_time_;
@@ -261,7 +261,7 @@ private:
PackedProcessor packed_processor_;
TempoProcessor tempo_processor_;
QByteArray prequeued_audio_;
static const int kAudioPlaybackInterval;
static const rational kAudioPlaybackInterval;
static QVector<ViewerWidget*> instances_;