History

Spectacle vc2010

Spencer Salazar committed 12 years ago

Commit 5907a6a1 parent bc690b66 files · +38 −7Browse files

Showing the changes to Spectacle/Spectacle.cpp (1 of 6 files). Show all

Unified · Split

Spectacle/Spectacle.cpp+11−0
@@ -27,6 +27,15 @@ · 26 unmodified lines
2727 #include <stdio.h>
2828 #include <limits.h>
2929
30+#ifdef WIN32
31+#include <stdlib.h>
32+#define random() rand()
33+#endif
34+#ifndef M_PI
35+#define M_PI 3.14159265358979323846
36+#endif
37+
38+
3039 // declaration of chugin constructor
3140 CK_DLL_CTOR(spectacle_ctor);
3241 // declaration of chugin desctructor
@@ -257,6 +266,7 @@ public: · 224 unmodified lines
257266 spectdelay->set_delay_freqrange(minfreq, maxfreq);
258267 spectdelay->set_freqrange(minfreq, maxfreq);
259268 }
269+ return minfreq;
260270 }
261271
262272 float getMinFreq () { return minfreq; }
@@ -272,6 +282,7 @@ public: · 9 unmodified lines
272282 spectdelay->set_delay_freqrange(minfreq, maxfreq);
273283 spectdelay->set_freqrange(minfreq, maxfreq);
274284 }
285+ return maxfreq;
275286 }
276287
277288 float getMaxFreq () { return maxfreq; }

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