mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-10-09 07:19:53 +02:00
Fixed missing samplerate update in new recorder
This commit is contained in:
@@ -130,6 +130,7 @@ namespace wav {
|
||||
|
||||
// Validate samplerate
|
||||
if (!samplerate) { throw std::runtime_error("Samplerate must be non-zero"); }
|
||||
_samplerate = samplerate;
|
||||
}
|
||||
|
||||
void Writer::setFormat(Format format) {
|
||||
|
Reference in New Issue
Block a user