removed reliance on Qt multimedia
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user