Skip to content

Commit cd96eca

Browse files
committed
ReceiveDataInChunks -- use double for buffer size.
1 parent 03dcaf0 commit cd96eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ReceiveDataInChunks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ int main(int argc, char **argv) {
1212
try {
1313

1414
std::string name{argc > 1 ? argv[1] : "MyAudioStream"};
15-
int32_t max_buflen = argc > 2 ? std::stol(argv[2]) : 360;
15+
double max_buflen = argc > 2 ? std::stod(argv[2]) : 360.;
1616
bool flush = argc > 3;
1717
// resolve the stream of interest & make an inlet
1818
lsl::stream_inlet inlet(lsl::resolve_stream("name", name).at(0), max_buflen);

0 commit comments

Comments
 (0)