use correct audio backend apis
This commit is contained in:
@@ -11,8 +11,6 @@ bool NoteQueue::push(const NoteEvent& event) {
|
||||
buffer_[head] = event;
|
||||
head_.store(next, std::memory_order_relaxed);
|
||||
|
||||
std::cout << "Notequeue::push: " << std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::high_resolution_clock::now() - event.timestamp) << std::endl;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -24,7 +22,5 @@ bool NoteQueue::pop(NoteEvent& event) {
|
||||
event = buffer_[tail];
|
||||
tail_.store((tail + 1) % SIZE, std::memory_order_release);
|
||||
|
||||
std::cout << "Notequeue::pop: " << std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::high_resolution_clock::now() - event.timestamp) << std::endl;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user