From c0176fcb50daa2c8e8e1609d04d63ffa06d31f03 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Tue, 6 Jun 2023 09:06:56 +0200 Subject: [PATCH] aplayback DeckLink: removed rang.hpp + one line doxygen file documenatation --- src/audio/playback/decklink.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/audio/playback/decklink.cpp b/src/audio/playback/decklink.cpp index 8b4e585a9..6dab5bfd6 100644 --- a/src/audio/playback/decklink.cpp +++ b/src/audio/playback/decklink.cpp @@ -1,6 +1,8 @@ /** * @file src/audio/playback/decklink.cpp * @author Martin Pulec + * + * audio-only DeckLink playback (see also `-r decklink:help`) */ /* * Copyright (c) 2012-2023 CESNET, z. s. p. o. @@ -50,8 +52,8 @@ #include "debug.h" #include "host.h" #include "lib_common.h" -#include "rang.hpp" #include "tv.h" +#include "utils/color_out.h" #include "video_codec.h" #include "video_capture.h" @@ -59,10 +61,6 @@ #define STDMETHODCALLTYPE #endif -using rang::fg; -using rang::style; -using std::cout; - namespace { class PlaybackDelegate; } @@ -135,9 +133,9 @@ static void audio_play_decklink_help() printf("Audio-only DeckLink output. For simultaneous audio and video use the DeckLink display " "with analog/embedded audio playback module.\n"); printf("Usage:\n"); - cout << style::bold << fg::red << "\t-r decklink" << fg::reset << "[:][:audioConsumerLevels={true|false}]\n"; + col() << SBOLD(SRED("\t-r decklink")) << "[:][:audioConsumerLevels={true|false}]\n"; printf("\n"); - cout << style::bold << "audioConsumerLevels\n" << style::reset; + col() << SBOLD("audioConsumerLevels") "\n"; printf("\tIf set true the analog audio levels are set to maximum gain on audio input.\n"); printf("\tIf set false the selected analog input gain levels are used.\n");