implemented base audio playback and scrubbing
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#ifndef VIEWER_WIDGET_H
|
||||
#define VIEWER_WIDGET_H
|
||||
|
||||
#include <QFile>
|
||||
#include <QLabel>
|
||||
#include <QPushButton>
|
||||
#include <QScrollBar>
|
||||
@@ -106,6 +107,8 @@ private:
|
||||
|
||||
void PlayInternal(int speed);
|
||||
|
||||
void PushScrubbedAudio();
|
||||
|
||||
ViewerSizer* sizer_;
|
||||
|
||||
ViewerGLWidget* gl_widget_;
|
||||
@@ -129,6 +132,10 @@ private:
|
||||
|
||||
int playback_speed_;
|
||||
|
||||
// FIXME: Test code
|
||||
QFile test_file_;
|
||||
// End test code
|
||||
|
||||
private slots:
|
||||
void RulerTimeChange(int64_t);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user