12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- /*\
- |*| Copyright 2015-2016 bill-auger <https://github.com/bill-auger/av-caster/issues>
- |*|
- |*| This file is part of the AvCaster program.
- |*|
- |*| AvCaster is free software: you can redistribute it and/or modify
- |*| it under the terms of the GNU General Public License version 3
- |*| as published by the Free Software Foundation.
- |*|
- |*| AvCaster is distributed in the hope that it will be useful,
- |*| but WITHOUT ANY WARRANTY; without even the implied warranty of
- |*| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- |*| GNU General Public License for more details.
- |*|
- |*| You should have received a copy of the GNU General Public License
- |*| along with AvCaster. If not, see <http://www.gnu.org/licenses/>.
- \*/
- #ifndef _CONSTANTS_H_
- #define _CONSTANTS_H_
- // enable standard features
- // #define DISABLE_MEDIA
- // #define SCREEN_ONLY
- // #define CAMERA_ONLY
- // #define TEXT_ONLY
- // #define IMAGE_ONLY
- // #define TRAY_ICON // TODO: requires juce_gui_extras package
- #define TEXT_BIN_NYI 1
- #define IMAGE_BIN_NYI 0 // faux src
- #define DISABLE_GUI_CONFIG_NYI
- #define DISABLE_AUDIO (! JUCE_LINUX) // replace audio-real-source with fakesrc
- #define DISABLE_PREVIEW (! JUCE_LINUX) // replace preview-sink with fakesink
- //#define DISABLE_OUTPUT // replace filesink or rtmpsink with fakesink
- #define GST_COMPOSITOR_BUG
- // #define NO_DYNAMIC_MEDIA_Z_ORDER
- #define DISABLE_CHAT
- #define SEED_IRC_NETWORKS ((!defined(DISABLE_CHAT)) && 0)
- #define SUPRESS_GREETING_MESSAGES
- #define SUPRESS_ALERTS
- // #define CHATLIST_KICK_BTN_NYI
- // debugging tweaks and kludges
- #define INJECT_DEFAULT_CAMERA_DEVICE_INFO
- #define FIX_OUTPUT_RESOLUTION_TO_LARGEST_INPUT
- #define NATIVE_CAMERA_RESOLUTION_ONLY
- // #define FAKE_MUX_ENCODER_SRC_AND_SINK // isolate compositor from encoder and muxer from output
- // #define MOCK_CHAT_NICKS
- // enable tracing
- #ifdef DEBUG
- # define DEBUG_TRACE 1
- #else // DEBUG
- # define DEBUG_TRACE 1
- #endif // DEBUG
- #define DEBUG_TRACE_EVENTS (DEBUG_TRACE && 1)
- #define DEBUG_TRACE_GUI (DEBUG_TRACE && 1)
- #define DEBUG_TRACE_GUI_VB (DEBUG_TRACE && 0)
- #define DEBUG_TRACE_MEDIA (DEBUG_TRACE && 1)
- #define DEBUG_TRACE_MEDIA_VB (DEBUG_TRACE && 0)
- #define DEBUG_TRACE_CONFIG (DEBUG_TRACE && 1)
- #define DEBUG_TRACE_CONFIG_VB (DEBUG_TRACE && 0)
- #define DEBUG_TRACE_CHAT (DEBUG_TRACE && 1)
- #define DEBUG_TRACE_CHAT_VB (DEBUG_TRACE && 0)
- #define DEBUG_TRACE_STATE (DEBUG_TRACE && 1)
- #define DEBUG_TRACE_ERRORS (DEBUG_TRACE && 1)
- #define DEBUG_TRACE_VB (DEBUG_TRACE && 0)
- // enable debug features
- #ifdef DEBUG_TRACE
- # define DEBUG_ANSI_COLORS 1
- // # define DEBUG_QUIT_BEFORE_MAIN_LOOP
- // # define DEBUG_QUIT_AFTER_MAIN_LOOP
- #define DUMP_CONFIG_VERBOSITY 0 /* 0 => none , 1 => nodes only , 2 => all */
- #define DUMP_CONFIG_XML
- #endif // DEBUG_TRACE
- // configuration and runtime constants
- #include "JuceHeader.h"
- #include "AppConstants.h"
- #include "GstConstants.h"
- #include "IrcConstants.h"
- #include "GuiConstants.h"
- #include "ConfigConstants.h"
- #endif // _CONSTANTS_H_
|