[JaySynth]

- fixed assertions
- JucePlugin_ProducesMidiOutput 1


git-svn-id: http://moon:8086/svn/software/trunk/projects/JaySynth@353 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2016-12-10 13:51:22 +00:00
parent fa4cd44101
commit c1fef5ca83
3 changed files with 62 additions and 34 deletions
+3 -4
View File
@@ -32,13 +32,12 @@ public:
AudioSampleBuffer& getBuffer(void);
void run(void);
private:
AudioSampleBuffer *m_buffer;
ScopedPointer<AudioSampleBuffer> m_buffer;
voice_t *m_pVoices;
int m_num_voices;
int m_voice_offset, m_voice_step;
int m_sample_len;
ScopedPointer<WaitableEvent> m_pEventRun;
ScopedPointer<WaitableEvent> m_pEventRdy;
WaitableEvent *m_pEventRdy;
};
@@ -245,7 +244,7 @@ private:
midi_note_info_t last_midi_note_info;
voice_t *m_pVoices;
JaySynthThread **m_ppAudioThread;
ScopedPointer <WaitableEvent> m_pEventAudioThreadRdy;
WaitableEvent **m_ppEventAudioThreadRdy;
JaySynthMonophonicMGR m_monoMGR;
uint32_t m_clockdiv;
double m_lastTime_ms;