mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-19 03:38:05 -04:00
Re-enabled closecall even if it's still not working well
RDS PSN works again but update issue (UI ?) Moved CTCSS stuff to dedicated file
This commit is contained in:
parent
1db138c27a
commit
28ea2179f4
24 changed files with 258 additions and 229 deletions
|
@ -74,8 +74,7 @@ uint32_t WAVFileReader::ms_duration() {
|
|||
}
|
||||
|
||||
int WAVFileReader::seek_mss(const uint16_t minutes, const uint8_t seconds, const uint32_t samples) {
|
||||
|
||||
auto result = file.seek(data_start + ((((minutes * 60) + seconds) * sample_rate_) + samples) * bytes_per_sample);
|
||||
const auto result = file.seek(data_start + ((((minutes * 60) + seconds) * sample_rate_) + samples) * bytes_per_sample);
|
||||
|
||||
if (result.is_error())
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue