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
27#include <stdio.h>27#include <stdio.h>
28#include <limits.h>28#include <limits.h>
29 29
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
30// declaration of chugin constructor39// declaration of chugin constructor
31CK_DLL_CTOR(spectacle_ctor);40CK_DLL_CTOR(spectacle_ctor);
32// declaration of chugin desctructor41// declaration of chugin desctructor
@@ -257,6 +266,7 @@ public: · 224 unmodified lines
257 spectdelay->set_delay_freqrange(minfreq, maxfreq);266 spectdelay->set_delay_freqrange(minfreq, maxfreq);
258 spectdelay->set_freqrange(minfreq, maxfreq);267 spectdelay->set_freqrange(minfreq, maxfreq);
259 }268 }
269 return minfreq;
260 }270 }
261 271
262 float getMinFreq () { return minfreq; }272 float getMinFreq () { return minfreq; }
@@ -272,6 +282,7 @@ public: · 9 unmodified lines
272 spectdelay->set_delay_freqrange(minfreq, maxfreq);282 spectdelay->set_delay_freqrange(minfreq, maxfreq);
273 spectdelay->set_freqrange(minfreq, maxfreq);283 spectdelay->set_freqrange(minfreq, maxfreq);
274 }284 }
285 return maxfreq;
275 }286 }
276 287
277 float getMaxFreq () { return maxfreq; }288 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