use correct audio backend apis

This commit is contained in:
2026-01-13 22:02:36 -06:00
parent a9f474f397
commit 0ec4b4e84d
4 changed files with 8 additions and 10 deletions

View File

@@ -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;
}