History

removed freeFromPool function and stored a pointer to the correct mempool in objects so free() functions will now automatically use the correct mempool

Matthew Wang committed 6 years ago

Commit 1bf02961 parent 1c3d6be29 files · +811 −1393Browse files

Showing the changes to TestPlugin/Source/MyTest.cpp (1 of 29 files). Show all

Unified · Split

TestPlugin/Source/MyTest.cpp+2−3
@@ -58,7 +58,6 @@ void LEAFTest_init (float sampleRate, int blockSize) · 57 unmodified lines
58 tMinBLEPTable_init(&minblep, zeroCrossings, overSamplingRatio);58 tMinBLEPTable_init(&minblep, zeroCrossings, overSamplingRatio);
59 59
60 tMBSaw_init(&saw, &minblep);60 tMBSaw_init(&saw, &minblep);
61 tMBSaw_free(&saw);
62 61
63 tMBPulse_init(&pulse, &minblep);62 tMBPulse_init(&pulse, &minblep);
64 63
@@ -95,9 +94,9 @@ float LEAFTest_tick (float input) · 30 unmodified lines
95// if (phasor->phaseDidReset) tMBPulse_sync(&pulse, 0.0f);94// if (phasor->phaseDidReset) tMBPulse_sync(&pulse, 0.0f);
96// if (phasor->phaseDidReset) tMBTriangle_sync(&tri, 0.0f);95// if (phasor->phaseDidReset) tMBTriangle_sync(&tri, 0.0f);
97 96
98// return tMBSaw_tick(&saw);97 return tMBSaw_tick(&saw);
99// return tMBPulse_tick(&pulse);98// return tMBPulse_tick(&pulse);
100 return tMBTriangle_tick(&tri);99// return tMBTriangle_tick(&tri);
101}100}
102 101
103int firstFrame = 1;102int firstFrame = 1;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t