const.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #define DEVICE_HASH "device_hash"
  2. #define DEVICE_NAME "device_name"
  3. #define VIDEO_CONNECTION "video_connection"
  4. #define AUDIO_CONNECTION "audio_connection"
  5. #define MODE_ID "mode_id"
  6. #define MODE_NAME "mode_name"
  7. #define CHANNEL_FORMAT "channel_format"
  8. #define PIXEL_FORMAT "pixel_format"
  9. #define COLOR_SPACE "color_space"
  10. #define COLOR_RANGE "color_range"
  11. #define BUFFERING "buffering"
  12. #define DEACTIVATE_WNS "deactivate_when_not_showing"
  13. #define AUTO_START "auto_start"
  14. #define KEYER "keyer"
  15. #define SWAP "swap"
  16. #define TEXT_DEVICE obs_module_text("Device")
  17. #define TEXT_VIDEO_CONNECTION obs_module_text("VideoConnection")
  18. #define TEXT_AUDIO_CONNECTION obs_module_text("AudioConnection")
  19. #define TEXT_MODE obs_module_text("Mode")
  20. #define TEXT_PIXEL_FORMAT obs_module_text("PixelFormat")
  21. #define TEXT_COLOR_SPACE obs_module_text("ColorSpace")
  22. #define TEXT_COLOR_SPACE_DEFAULT obs_module_text("ColorSpace.Default")
  23. #define TEXT_COLOR_RANGE obs_module_text("ColorRange")
  24. #define TEXT_COLOR_RANGE_DEFAULT obs_module_text("ColorRange.Default")
  25. #define TEXT_COLOR_RANGE_PARTIAL obs_module_text("ColorRange.Partial")
  26. #define TEXT_COLOR_RANGE_FULL obs_module_text("ColorRange.Full")
  27. #define TEXT_CHANNEL_FORMAT obs_module_text("ChannelFormat")
  28. #define TEXT_CHANNEL_FORMAT_NONE obs_module_text("ChannelFormat.None")
  29. #define TEXT_CHANNEL_FORMAT_2_0CH obs_module_text("ChannelFormat.2_0ch")
  30. #define TEXT_CHANNEL_FORMAT_2_1CH obs_module_text("ChannelFormat.2_1ch")
  31. #define TEXT_CHANNEL_FORMAT_4_0CH obs_module_text("ChannelFormat.4_0ch")
  32. #define TEXT_CHANNEL_FORMAT_4_1CH obs_module_text("ChannelFormat.4_1ch")
  33. #define TEXT_CHANNEL_FORMAT_5_1CH obs_module_text("ChannelFormat.5_1ch")
  34. #define TEXT_CHANNEL_FORMAT_7_1CH obs_module_text("ChannelFormat.7_1ch")
  35. #define TEXT_BUFFERING obs_module_text("Buffering")
  36. #define TEXT_DWNS obs_module_text("DeactivateWhenNotShowing")
  37. #define TEXT_AUTO_START obs_module_text("AutoStart")
  38. #define TEXT_ENABLE_KEYER obs_module_text("Keyer")
  39. #define TEXT_SWAP obs_module_text("SwapFC-LFE")
  40. #define TEXT_SWAP_TOOLTIP obs_module_text("SwapFC-LFE.Tooltip")