From e44a45b9e2ca3f4e03338f4175023f91b5990ea3 Mon Sep 17 00:00:00 2001 From: mick Date: Thu, 14 Jun 2012 11:16:31 +0100 Subject: Fixed errors with ogg loading that was causing windows project to fail --- maximilian.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'maximilian.cpp') 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() { -- cgit v1.3