mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-31 11:59:03 +00:00
Fixed freeze in TouchTunes scan
Made adsb_map.py compatible with Python 3
This commit is contained in:
@@ -204,10 +204,10 @@ SoundBoardView::SoundBoardView(
|
||||
sounds[c].size = reader->data_size();
|
||||
sounds[c].sample_duration = reader->data_size(); // / (reader->bits_per_sample() / 8);
|
||||
sounds[c].sample_rate = reader->sample_rate();
|
||||
/*if (reader->bits_per_sample() > 8)
|
||||
sounds[c].sixteenbit = true;
|
||||
else
|
||||
sounds[c].sixteenbit = false;*/
|
||||
//if (reader->bits_per_sample() > 8)
|
||||
// sounds[c].sixteenbit = true;
|
||||
//else
|
||||
// sounds[c].sixteenbit = false;
|
||||
sounds[c].ms_duration = reader->ms_duration();
|
||||
sounds[c].path = u"WAV/" + path.native();
|
||||
title = reader->title().substr(0, 20);
|
||||
|
||||
Reference in New Issue
Block a user