mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
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:
parent
7b5b03d319
commit
7ffe1c887a
1 changed files with 9 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue