From 734a8b9f5d2baaadc3762b4abd25032898a2653b Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 1 Oct 2023 11:51:42 +0200 Subject: [PATCH] Remove more not-so-useful output. --- nageru/alsa_pool.cpp | 2 -- nageru/mixer.cpp | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/nageru/alsa_pool.cpp b/nageru/alsa_pool.cpp index 70f533e..fcd4fea 100644 --- a/nageru/alsa_pool.cpp +++ b/nageru/alsa_pool.cpp @@ -266,8 +266,6 @@ ALSAPool::ProbeResult ALSAPool::probe_device_once(unsigned card_index, unsigned display_name = devices[internal_dev_index].display_name(); } - fprintf(stderr, "%s: Probed successfully.\n", address); - reset_device(internal_dev_index); // Restarts it if it is held (ie., we just replaced a dead card). DeviceSpec spec{InputSourceType::ALSA_INPUT, internal_dev_index}; diff --git a/nageru/mixer.cpp b/nageru/mixer.cpp index 3ca249b..ca16dab 100644 --- a/nageru/mixer.cpp +++ b/nageru/mixer.cpp @@ -580,9 +580,7 @@ Mixer::~Mixer() void Mixer::configure_card(unsigned card_index, CaptureInterface *capture, CardType card_type, DeckLinkOutput *output, bool is_srt_card) { bool is_active = capture != nullptr; - if (is_active) { - printf("Configuring card %d...\n", card_index); - } else { + if (!is_active) { assert(card_type == CardType::FAKE_CAPTURE); } -- 2.39.2