Added samplerate and center frequency tracking to http spectran source

This commit is contained in:
AlexandreRouma
2023-04-20 08:32:31 +02:00
parent 9c0b57a036
commit 582aeed640
4 changed files with 28 additions and 5 deletions

View File

@ -8,8 +8,9 @@ typedef int HandlerID;
template <typename... Args>
class NewEvent {
using Handler = std::function<void(Args...)>;
public:
using Handler = std::function<void(Args...)>;
HandlerID bind(const Handler& handler) {
std::lock_guard<std::mutex> lck(mtx);
HandlerID id = genID();