BCSTM-Player |

This commit is contained in:
2021-07-23 13:58:16 +00:00
parent f51ddecf3d
commit c537fc095a
101 changed files with 39980 additions and 0 deletions

19
sound.hpp Normal file
View File

@ -0,0 +1,19 @@
#pragma once
#include <3ds.h>
#include <string>
class sound {
public:
sound(const std::string& path, int channel = 1, bool toloop = false);
~sound();
void play();
void stop();
private:
u32 dataSize;
ndspWaveBuf waveBuf;
u8* data = NULL;
int chnl;
};