13
0

name RF64 files with .wav suffix

In livetrax, where RF64 is one of two file formats, people frequently end up
with files named .rf64 that are actually .wav due to the libsndfile
header file downgrade. We want to avoid this, and this seems like
a more common case than people generating actual RF64 files that
(now) will be named .wav
This commit is contained in:
Paul Davis 2024-07-29 10:04:26 -06:00
parent 4de0189dc4
commit f3e35cc145

View File

@ -647,7 +647,13 @@ ARDOUR::native_header_format_extension (HeaderFormat hf, const DataType& type)
case RF64: case RF64:
case RF64_WAV: case RF64_WAV:
case MBWF: case MBWF:
return ".rf64"; /* our goal when using RF64 is to be able to fall back to a
regular RIFF/WAV if the data size is small enough. Rather than
confuse people in the common case where this happens by having
files named "foo.rf64", deal with the common case as ".wav" and
leave potential confusion for the actual RF64 files.
*/
return ".wav";
} }
fatal << string_compose (_("programming error: unknown native header format: %1"), hf); fatal << string_compose (_("programming error: unknown native header format: %1"), hf);