refactor: remove unused parts

This commit is contained in:
2023-08-14 12:27:19 +04:00
parent c6c2956ac0
commit 73aae9a490
2 changed files with 9 additions and 66 deletions

View File

@@ -1,7 +1,6 @@
#pragma once
#include "Note.h"
#include "Renderer.h"
#include "RingBuffer.h"
#include "Synth.h"
#include "SynthGuiState.h"
#include "raylib.h"
@@ -10,10 +9,8 @@ class Application {
private:
Synth m_synth;
SynthGuiState m_synth_gui_state;
RingBuffer<float>* m_ring_buffer;
AudioStream m_synth_stream;
int m_sound_played_count;
float* m_temp_buffer;
Note* m_current_note;
Renderer m_renderer;
bool detect_note_pressed(Note* note);
@@ -21,7 +18,6 @@ class Application {
void init_audio();
void update_on_note_input();
void play_buffered_audio();
void fill_audio_buffer();
public:
Application(/* args */);