1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 14:04:46 -04:00

Add signed 16-bit PCM 2 channel .wav file support to File Input and File Record plugins

This commit is contained in:
Jon Beniston
2021-05-21 10:06:10 +01:00
parent cd3434c871
commit 80fe6cb096
15 changed files with 611 additions and 48 deletions
+5
View File
@@ -61,6 +61,11 @@ FileRecordInterface::RecordType FileRecordInterface::guessTypeFromFileName(const
fileBase = dotBreakout.join(QLatin1Char('.'));
return RecordTypeSigMF;
}
else if (extension == "wav")
{
fileBase = dotBreakout.join(QLatin1Char('.'));
return RecordTypeWav;
}
else
{
fileBase = fileName;