]> git.sesse.net Git - nageru/commitdiff
Remove more not-so-useful output.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 1 Oct 2023 09:51:42 +0000 (11:51 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 1 Oct 2023 09:51:42 +0000 (11:51 +0200)
nageru/alsa_pool.cpp
nageru/mixer.cpp

index 70f533e32fafcfcbbb50a5718352cfc9a23d0930..fcd4fea7cce6af341cb7d5dfc0dda22c2dff233c 100644 (file)
@@ -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};
index 3ca249b1a5094ecf5003233f9fb1f5c3732bf680..ca16dab1b54f72f8d475016578bf35d5c198c593 100644 (file)
@@ -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);
        }