diff options
| author | mick <mickgrierson@gmail.com> | 2012-06-14 11:16:31 +0100 |
|---|---|---|
| committer | mick <mickgrierson@gmail.com> | 2012-06-14 11:16:31 +0100 |
| commit | e44a45b9e2ca3f4e03338f4175023f91b5990ea3 (patch) | |
| tree | bd63bf59e18feb5103dd74026619ed940ec3eff0 /maximilian.cpp | |
| parent | afd1253433731e696c4bc1551961f9652de7af8e (diff) | |
Fixed errors with ogg loading that was causing windows project to fail
Diffstat (limited to 'maximilian.cpp')
| -rw-r--r-- | maximilian.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/maximilian.cpp b/maximilian.cpp index 4407de2..ea8775f 100644 --- a/maximilian.cpp +++ b/maximilian.cpp @@ -37,9 +37,10 @@ /* Maximilian can be configured to load ogg vorbis format files using the * loadOgg() method. -* Uncomment the following to include Sean Barrett's Ogg Vorbis decoder.*/ +* Uncomment the following to include Sean Barrett's Ogg Vorbis decoder. +* If you're on windows, make sure to add the files std_vorbis.c and std_vorbis.h to your project*/ -#define VORBIS +//#define VORBIS #ifdef VORBIS #include "stb_vorbis.h" @@ -395,6 +396,7 @@ bool maxiSample::loadOgg(char *fileName, int channel) { } return result; // this should probably be something more descriptive #endif + return 0; } void maxiSample::trigger() { |
