1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-11 04:28:58 +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: 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;