Searched refs:detection_rate_hz (Results 1 – 2 of 2) sorted by relevance
52 DEFINE_int32(detection_rate_hz,168 int detection_rate_hz = FLAGS_detection_rate_hz; in void_main() local169 if (detection_rate_hz == 0) { in void_main()170 detection_rate_hz = FLAGS_sample_rate_hz; in void_main()177 FLAGS_sample_rate_hz, detection_rate_hz, FLAGS_num_channels); in void_main()182 FLAGS_chunk_size_ms * detection_rate_hz / 1000; in void_main()
69 int detection_rate_hz, in Initialize() argument91 if (detection_rate_hz != ts::kSampleRate8kHz && in Initialize()92 detection_rate_hz != ts::kSampleRate16kHz && in Initialize()93 detection_rate_hz != ts::kSampleRate32kHz && in Initialize()94 detection_rate_hz != ts::kSampleRate48kHz) { in Initialize()101 detector_.reset(new TransientDetector(detection_rate_hz)); in Initialize()116 detection_length_ = detection_rate_hz * ts::kChunkSizeMs / 1000; in Initialize()