Skip to content

Commit

Permalink
Fix index bug in SendData.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
cboulay committed Nov 6, 2022
1 parent e5108dc commit 08aa186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/SendData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ int main(int argc, char *argv[]) {
std::this_thread::sleep_until(next_sample_time);

// send the sample
std::cout << sample[0] << "\t" << sample[8] << std::endl;
std::cout << sample[0] << "\t" << sample[n_channels-1] << std::endl;
outlet.push_sample(sample);
}

Expand Down

0 comments on commit 08aa186

Please sign in to comment.