Pass CaptureConfig to StreamInput as pointer.

This commit is contained in:
Jared Boone
2016-04-27 10:31:37 -07:00
parent ca5dadab93
commit 3e08318012
5 changed files with 8 additions and 8 deletions

View File

@@ -88,7 +88,7 @@ void NarrowbandFMAudio::configure(const NBFMConfigureMessage& message) {
void NarrowbandFMAudio::capture_config(const CaptureConfigMessage& message) {
if( message.config ) {
audio_output.set_stream(std::make_unique<StreamInput>(*message.config));
audio_output.set_stream(std::make_unique<StreamInput>(message.config));
} else {
audio_output.set_stream(nullptr);
}