mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-19 08:31:11 +00:00
Temporarily disabled thread hop, until I can find a way to batch these things.
This commit is contained in:
parent
626e719fab
commit
eccfdabeab
@ -90,11 +90,12 @@ class Speaker {
|
||||
protected:
|
||||
void enqueue(std::function<void(void)> function)
|
||||
{
|
||||
_queue->enqueue(function);
|
||||
function();
|
||||
// _queue->enqueue(function);
|
||||
}
|
||||
void flush()
|
||||
{
|
||||
_queue->flush();
|
||||
// _queue->flush();
|
||||
}
|
||||
|
||||
std::unique_ptr<int16_t> _buffer_in_progress;
|
||||
|
Loading…
Reference in New Issue
Block a user