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

@ -100,7 +100,7 @@ void NarrowbandAMAudio::configure(const AMConfigureMessage& message) {
void NarrowbandAMAudio::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);
}