From 8a8e5f1b05330316ba74b14fc71e13223bef35f3 Mon Sep 17 00:00:00 2001 From: Stefan Pöschel Date: Wed, 23 Aug 2017 19:12:11 +0200 Subject: Rename sleep delay to slide interval --- src/odr-padenc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/odr-padenc.cpp') diff --git a/src/odr-padenc.cpp b/src/odr-padenc.cpp index c600320..8e8fc7c 100644 --- a/src/odr-padenc.cpp +++ b/src/odr-padenc.cpp @@ -80,7 +80,7 @@ static void usage(const char* name) { " slides is skipped. Use this if you know what you are doing !\n" " It is useful only when -d is used\n" " -v, --verbose Print more information to the console\n", - options_default.sleepdelay, + options_default.slide_interval, options_default.output, PADPacketizer::ALLOWED_PADLEN.c_str(), options_default.padlen @@ -143,7 +143,7 @@ int main(int argc, char *argv[]) { options.output = optarg; break; case 's': - options.sleepdelay = atoi(optarg); + options.slide_interval = atoi(optarg); break; case 't': // can be used more than once! options.dls_files.push_back(optarg); @@ -343,7 +343,7 @@ int BurstPadEncoder::Encode() { pad_packetizer.WriteAllPADs(output_fd); // sleep until next run - next_run += std::chrono::seconds(options.sleepdelay); + next_run += std::chrono::seconds(options.slide_interval); std::this_thread::sleep_until(next_run); } -- cgit v1.2.3