mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-03-21 23:59:52 +01:00
Fixed missing samplerate update in new recorder
This commit is contained in:
parent
55db98d1df
commit
1ae1cc0e77
@ -130,6 +130,7 @@ namespace wav {
|
|||||||
|
|
||||||
// Validate samplerate
|
// Validate samplerate
|
||||||
if (!samplerate) { throw std::runtime_error("Samplerate must be non-zero"); }
|
if (!samplerate) { throw std::runtime_error("Samplerate must be non-zero"); }
|
||||||
|
_samplerate = samplerate;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Writer::setFormat(Format format) {
|
void Writer::setFormat(Format format) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user