mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-13 17:05:37 -04:00
parent
63b0093321
commit
909f37f89b
7 changed files with 63 additions and 71 deletions
|
@ -49,9 +49,8 @@ Optional<File::Error> write_metadata_file(const fs::path& path, capture_metadata
|
|||
if (error)
|
||||
return error;
|
||||
|
||||
// TODO: Why does this divide by 8? Leaving as is for back-compat, but it's odd.
|
||||
error = f.write_line(std::string{sample_rate_name} + "=" +
|
||||
to_string_dec_uint(metadata.sample_rate / 8));
|
||||
to_string_dec_uint(metadata.sample_rate));
|
||||
if (error)
|
||||
return error;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue