mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-23 01:17:25 +00:00
Remove experimental support for Replaying C32 files (#1294)
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
namespace fs = std::filesystem;
|
||||
static const fs::path c8_ext{u".C8"};
|
||||
static const fs::path c16_ext{u".C16"};
|
||||
static const fs::path c32_ext{u".C32"};
|
||||
|
||||
Optional<File::Error> File::open_fatfs(const std::filesystem::path& filename, BYTE mode) {
|
||||
auto result = f_open(&f, reinterpret_cast<const TCHAR*>(filename.c_str()), mode);
|
||||
@@ -515,7 +514,7 @@ bool path_iequal(
|
||||
|
||||
bool is_cxx_capture_file(const path& filename) {
|
||||
auto ext = filename.extension();
|
||||
return path_iequal(c8_ext, ext) || path_iequal(c16_ext, ext) || path_iequal(c32_ext, ext);
|
||||
return path_iequal(c8_ext, ext) || path_iequal(c16_ext, ext);
|
||||
}
|
||||
|
||||
uint8_t capture_file_sample_size(const path& filename) {
|
||||
@@ -523,8 +522,6 @@ uint8_t capture_file_sample_size(const path& filename) {
|
||||
return sizeof(complex8_t);
|
||||
if (path_iequal(filename.extension(), c16_ext))
|
||||
return sizeof(complex16_t);
|
||||
if (path_iequal(filename.extension(), c32_ext))
|
||||
return sizeof(complex32_t);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user