Optional: Use nullopt and implicit construction in /modules/audio_processing

Changes places where we explicitly construct an Optional to instead use
nullopt or the requisite value type only.

This CL was uploaded by git cl split.

R=henrik.lundin@webrtc.org

Bug: None
Change-Id: I733a83f702fe11884d229a1713cfac952727bde8
Reviewed-on: https://webrtc-review.googlesource.com/23601
Commit-Queue: Oskar Sundbom <ossu@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20786}
diff --git a/modules/audio_processing/gain_control_impl.cc b/modules/audio_processing/gain_control_impl.cc
index eeab1e0..e550ebb 100644
--- a/modules/audio_processing/gain_control_impl.cc
+++ b/modules/audio_processing/gain_control_impl.cc
@@ -68,7 +68,7 @@
   }
 
   void set_capture_level(int capture_level) {
-    capture_level_ = rtc::Optional<int>(capture_level);
+    capture_level_ = capture_level;
   }
 
   int get_capture_level() {
@@ -394,8 +394,8 @@
   rtc::CritScope cs_capture(crit_capture_);
   data_dumper_->InitiateNewSetOfRecordings();
 
-  num_proc_channels_ = rtc::Optional<size_t>(num_proc_channels);
-  sample_rate_hz_ = rtc::Optional<int>(sample_rate_hz);
+  num_proc_channels_ = num_proc_channels;
+  sample_rate_hz_ = sample_rate_hz;
 
   if (!enabled_) {
     return;