Soundboard: Arbitrary samplerate support for wave files

Screenshots
This commit is contained in:
furrtek
2016-08-26 09:54:17 +02:00
parent f7e0f36bd9
commit 808f99647e
21 changed files with 36 additions and 28 deletions
+8 -8
View File
@@ -52,14 +52,14 @@ private:
tx_modes tx_mode = NORMAL;
struct sound {
std::string filename;
std::string shortname;
bool stereo;
bool sixteenbit;
uint32_t sample_rate;
uint32_t size;
uint32_t sample_duration;
uint32_t ms_duration;
std::string filename = "";
std::string shortname = "";
bool stereo = false;
bool sixteenbit = false;
uint32_t sample_rate = 0;
uint32_t size = 0;
uint32_t sample_duration = 0;
uint32_t ms_duration = 0;
};
uint32_t cnt;