1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

Temporarily disabled thread hop, until I can find a way to batch these things.

This commit is contained in:
Thomas Harte 2016-11-03 22:52:02 -04:00
parent 626e719fab
commit eccfdabeab

View File

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