]> git.sesse.net Git - nageru/blobdiff - mixer.h
Some small restructuring in the audio code.
[nageru] / mixer.h
diff --git a/mixer.h b/mixer.h
index d7f50cf61baf891c13c9cab3c201f40fed57694c..33f3a982cbb0519241224bbe67aa605d3b373f56 100644 (file)
--- a/mixer.h
+++ b/mixer.h
@@ -161,11 +161,10 @@ private:
                QSurface *surface;
                QOpenGLContext *context;
 
-               bool new_data_ready = false;  // Whether new_frame and new_frame_audio contains anything.
+               bool new_data_ready = false;  // Whether new_frame contains anything.
                bool should_quit = false;
                RefCountedFrame new_frame;
                GLsync new_data_ready_fence;  // Whether new_frame is ready for rendering.
-               std::vector<float> new_frame_audio;
                std::condition_variable new_data_ready_changed;  // Set whenever new_data_ready is changed.
                unsigned dropped_frames = 0;  // Before new_frame.