Skip to content

Commit

Permalink
increase buffering
Browse files Browse the repository at this point in the history
  • Loading branch information
paulh002 committed Jul 27, 2023
1 parent 215ea2c commit cc559f9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SoapyRadioberry-Release.vgdbsettings
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</CustomSourceDirectories>
<AutoProgramSPIFFSPartition>true</AutoProgramSPIFFSPartition>
<BuildHost>
<HostName>192.168.88.24</HostName>
<HostName>192.168.88.41</HostName>
<Transport>SSH</Transport>
<UserName>pi</UserName>
</BuildHost>
Expand Down
1 change: 0 additions & 1 deletion SoapyRadioberry.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#define TX_MAX 4800
#define TX_MAX_BUFFER (TX_MAX * 8)
const int npackages = 4;

typedef enum radioberrysdrStreamFormat {
RADIOBERRY_SDR_CF32,
Expand Down
2 changes: 1 addition & 1 deletion SoapyRadioberry.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<TargetName>libSoapyRadioberrySDR</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|VisualGDB'">
<RemoteBuildHost>192.168.88.24</RemoteBuildHost>
<RemoteBuildHost>192.168.88.41</RemoteBuildHost>
<ToolchainID>com.sysprogs.toolchain.default-gcc</ToolchainID>
<ToolchainVersion />
<GNUTargetType>DynamicLibrary</GNUTargetType>
Expand Down
3 changes: 2 additions & 1 deletion SoapyRadioberryStreaming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ int SoapyRadioberry::readStream(
const long timeoutUs )
{
int nr_samples, no_bytes, iq=0;

int npackages = numElems / 63;

void *buff_base = buffs[0];
float *target_buffer = (float *) buff_base;
int16_t *itarget_buffer = (int16_t *) buff_base;
Expand Down

0 comments on commit cc559f9

Please sign in to comment.