Skip to content

Commit 08aa186

Browse files
committed
Fix index bug in SendData.cpp
1 parent e5108dc commit 08aa186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/SendData.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ int main(int argc, char *argv[]) {
7878
std::this_thread::sleep_until(next_sample_time);
7979

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

0 commit comments

Comments
 (0)