Small jfaud_sounds.cpp update from JonoF

git-svn-id: https://svn.eduke32.com/eduke32@41 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2006-04-17 16:46:43 +00:00
parent 7b5b03d319
commit 7ffe1c887a

View file

@ -21,12 +21,6 @@
* Prepared for public release: 03/21/2003 - Charlie Wiederhold, 3D Realms
*/
#ifdef __APPLE__
# include <jfaud/jfaud.hpp>
#else
# include "jfaud.hpp"
#endif
#include "types.h"
#include "duke3d.h"
extern "C" {
@ -37,6 +31,13 @@ extern "C" {
long numenvsnds;
}
typedef uint64 uint64_t;
#ifdef __APPLE__
# include <jfaud/jfaud.hpp>
#else
# include "jfaud.hpp"
#endif
#define SOUNDM_LOOP 1
#define SOUNDM_MSFX 2
#define SOUNDM_DUKE 4
@ -196,6 +197,8 @@ void SoundStartup(void)
return;
}
jfaud->SetCacheSize(1048576,1048576/2);
chans = new SoundChannel[NumVoices];
if (!chans) {
delete jfaud;