diff options
author | Stefan Pöschel <github@basicmaster.de> | 2017-08-23 19:12:11 +0200 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2017-08-23 19:12:11 +0200 |
commit | 8a8e5f1b05330316ba74b14fc71e13223bef35f3 (patch) | |
tree | 5199b968dea8fb1c9f940dfed49ac63cf4082fe8 /src/odr-padenc.cpp | |
parent | d782b32c7fdd6713af362534cfa5a4d754190b64 (diff) | |
download | ODR-PadEnc-8a8e5f1b05330316ba74b14fc71e13223bef35f3.tar.gz ODR-PadEnc-8a8e5f1b05330316ba74b14fc71e13223bef35f3.tar.bz2 ODR-PadEnc-8a8e5f1b05330316ba74b14fc71e13223bef35f3.zip |
Rename sleep delay to slide interval
Diffstat (limited to 'src/odr-padenc.cpp')
-rw-r--r-- | src/odr-padenc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |