We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e83e3d commit 17a5052Copy full SHA for 17a5052
src/sample.cpp
@@ -309,9 +309,8 @@ sample &sample::assign_test_pattern(int offset) {
309
break;
310
case cft_string: {
311
std::string *data = (std::string *)&data_;
312
- offset += 10;
313
for (uint32_t k = 0u; k < num_channels_; k++)
314
- data[k] = to_string(k * (k % 2 == 0 ? 1 : -1));
+ data[k] = to_string((k + 10) * (k % 2 == 0 ? 1 : -1));
315
316
}
317
case cft_int32:
0 commit comments