many stuffs
This commit is contained in:
parent
ce81cbd9d8
commit
a88fce53e2
27 changed files with 4343 additions and 16 deletions
|
|
@ -7,12 +7,22 @@ namespace fishbone {
|
|||
|
||||
#include <fishbone/machdep.h>
|
||||
#include <fishbone/sound.h>
|
||||
#include <fishbone/thread.h>
|
||||
|
||||
namespace fishbone {
|
||||
class Mixer {
|
||||
public:
|
||||
fishbone::Mutex mutex;
|
||||
|
||||
public:
|
||||
Mixer();
|
||||
~Mixer();
|
||||
|
||||
void read(short* buffer, size_t frames);
|
||||
fishbone::Sound* open(const char* path);
|
||||
|
||||
static const int rate = 44100;
|
||||
std::vector<fishbone::SoundLoader*> loaders;
|
||||
std::vector<fishbone::Sound*> sounds;
|
||||
std::vector<fishbone::Sound*> sounds;
|
||||
};
|
||||
}; // namespace fishbone
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue