mirror of
https://github.com/TomHarte/CLK.git
synced 2024-10-04 17:56:29 +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:
|
protected:
|
||||||
void enqueue(std::function<void(void)> function)
|
void enqueue(std::function<void(void)> function)
|
||||||
{
|
{
|
||||||
_queue->enqueue(function);
|
function();
|
||||||
|
// _queue->enqueue(function);
|
||||||
}
|
}
|
||||||
void flush()
|
void flush()
|
||||||
{
|
{
|
||||||
_queue->flush();
|
// _queue->flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<int16_t> _buffer_in_progress;
|
std::unique_ptr<int16_t> _buffer_in_progress;
|
||||||
|
Loading…
Reference in New Issue
Block a user