kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
Fixed recorder bug
rodzic
06210ae825
commit
ae149b256b
|
@ -12,6 +12,7 @@ namespace dsp::audio {
|
|||
|
||||
void init(stream<stereo_t>* in, double volume, bool muted) {
|
||||
_volume = powf(volume, 2);
|
||||
_muted = muted;
|
||||
level = { -150.0f, -150.0f };
|
||||
base_type::init(in);
|
||||
}
|
||||
|
|
|
@ -21,8 +21,8 @@ namespace dsp::routing {
|
|||
|
||||
// Add to the list
|
||||
base_type::tempStop();
|
||||
streams.push_back(stream);
|
||||
base_type::registerOutput(stream);
|
||||
streams.push_back(stream);
|
||||
base_type::tempStart();
|
||||
}
|
||||
|
||||
|
@ -38,8 +38,8 @@ namespace dsp::routing {
|
|||
|
||||
// Add to the list
|
||||
base_type::tempStop();
|
||||
base_type::unregisterOutput(stream);
|
||||
streams.erase(sit);
|
||||
base_type::unregisterOutput(stream);
|
||||
base_type::tempStart();
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue