mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-04-07 15:55:40 +02: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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user