} // namespace Ui
class QComboBox;
+class QTimer;
class DelayAnalyzer : public QMainWindow, public DelayAnalyzerInterface
{
void add_audio(DeviceSpec device_spec, const uint8_t *data, unsigned num_samples, bmusb::AudioFormat audio_format, std::chrono::steady_clock::time_point frame_time) override;
private:
+ void grab_timed_out();
+
Ui::DelayAnalyzer *ui;
AudioClip clip1, clip2;
std::atomic<bool> grabbing{false};
std::map<DeviceSpec, DeviceInfo> devices;
+ QTimer *grab_timeout;
};
#endif // !defined(_DELAY_ANALYZER_H)