mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 02:18:30 +01:00
Fixed RFspace client on MacOS
This commit is contained in:
parent
efecd14281
commit
7cc06b7a7b
@ -138,7 +138,7 @@ namespace rfspace {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void RFspaceClientClass::start(SampleFormat sampleFormat, SampleDepth sampleDepth) {
|
void RFspaceClientClass::start(SampleFormat sampleFormat, SampleDepth sampleDepth) {
|
||||||
uint8_t args[4] = { sampleFormat, RFSPACE_STATE_RUN, sampleDepth, 0 };
|
uint8_t args[4] = { (uint8_t)sampleFormat, (uint8_t)RFSPACE_STATE_RUN, (uint8_t)sampleDepth, 0 };
|
||||||
setControlItem(RFSPACE_CTRL_ITEM_STATE, args, sizeof(args));
|
setControlItem(RFSPACE_CTRL_ITEM_STATE, args, sizeof(args));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -224,4 +224,4 @@ namespace rfspace {
|
|||||||
if (!udpConn) { return NULL; }
|
if (!udpConn) { return NULL; }
|
||||||
return RFspaceClient(new RFspaceClientClass(std::move(conn), std::move(udpConn), out));
|
return RFspaceClient(new RFspaceClientClass(std::move(conn), std::move(udpConn), out));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user