mirror of
https://github.com/AlexandreRouma/SDRPlusPlus
synced 2026-08-13 17:37:08 -04:00
Bugfix in sdr++ server source
This commit is contained in:
parent
3ab669ecda
commit
3c19081561
1 changed files with 3 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ namespace server {
|
|||
|
||||
// Initialize DSP
|
||||
decompIn.setBufferSize((sizeof(dsp::complex_t) * STREAM_BUFFER_SIZE) + 8);
|
||||
decompIn.clearWriteStop();
|
||||
decomp.init(&decompIn);
|
||||
link.init(&decomp.out, output);
|
||||
decomp.start();
|
||||
|
|
@ -133,7 +134,9 @@ namespace server {
|
|||
void ClientClass::close() {
|
||||
decomp.stop();
|
||||
link.stop();
|
||||
decompIn.stopWriter();
|
||||
client->close();
|
||||
decompIn.clearWriteStop();
|
||||
}
|
||||
|
||||
bool ClientClass::isOpen() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue