mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-20 03:47:45 +00:00
Added "artist" and "title" (=frequency) info chunks to WAV files
This commit is contained in:
@@ -145,7 +145,11 @@ void RecordView::start() {
|
||||
case FileType::WAV:
|
||||
{
|
||||
auto p = std::make_unique<WAVFileWriter>();
|
||||
auto create_error = p->create(base_path.replace_extension(u".WAV"), sampling_rate);
|
||||
auto create_error = p->create(
|
||||
base_path.replace_extension(u".WAV"),
|
||||
sampling_rate,
|
||||
to_string_dec_uint(receiver_model.tuning_frequency()) + "Hz"
|
||||
);
|
||||
if( create_error.is_valid() ) {
|
||||
handle_error(create_error.value());
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user