From 47e3e5c8b00e3971a2fbd34de81463772278ce69 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 1 Jun 2020 21:29:04 +0200 Subject: [PATCH] Small stylistic cleanup. --- nageru/mixer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nageru/mixer.cpp b/nageru/mixer.cpp index e61ece2..1c64c98 100644 --- a/nageru/mixer.cpp +++ b/nageru/mixer.cpp @@ -631,8 +631,7 @@ void Mixer::configure_card(unsigned card_index, CaptureInterface *capture, CardT assert(card_type == CardType::FFMPEG_INPUT); } - DeviceSpec device; - device = DeviceSpec{InputSourceType::CAPTURE_CARD, card_index}; + DeviceSpec device{InputSourceType::CAPTURE_CARD, card_index}; unsigned num_channels = card_type == CardType::LIVE_CARD ? 8 : 2; if (is_active) { audio_mixer->set_device_parameters(device, card->capture->get_description(), card_type, num_channels, /*active=*/true); -- 2.39.2