This commit is contained in:
Nishi 2026-05-28 14:07:42 +09:00
commit a84dfac0d7
7 changed files with 48 additions and 8 deletions

View file

@ -6,6 +6,7 @@
#include <fstream>
#include <cstdio>
#include <cmath>
#include <fishbone/config.h>

View file

@ -25,6 +25,7 @@ namespace fishbone {
static const int rate = 44100;
std::vector<fishbone::SoundLoader*> loaders;
std::vector<fishbone::Sound*> sounds;
float position[3];
};
}; // namespace fishbone

View file

@ -87,8 +87,11 @@ namespace fishbone {
void setLoop(bool v);
bool isLoop();
int rate;
int channels;
int rate;
int channels;
float volume;
bool is3d;
float position[3];
};
#define LOADER(X) FB_SOUND_DEF(X);