|
@@ -49,7 +49,7 @@ class AudioEffectRecordInstance : public AudioEffectInstance {
|
|
|
|
|
|
bool is_recording;
|
|
|
Thread *io_thread;
|
|
|
- bool thread_active = false;
|
|
|
+ bool thread_active;
|
|
|
|
|
|
Vector<AudioFrame> ring_buffer;
|
|
|
Vector<float> recording_data;
|
|
@@ -67,6 +67,9 @@ public:
|
|
|
void init();
|
|
|
virtual void process(const AudioFrame *p_src_frames, AudioFrame *p_dst_frames, int p_frame_count);
|
|
|
virtual bool process_silence();
|
|
|
+
|
|
|
+ AudioEffectRecordInstance() :
|
|
|
+ thread_active(false) {}
|
|
|
};
|
|
|
|
|
|
class AudioEffectRecord : public AudioEffect {
|