noobs 0.0.148 → 0.0.150

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/noobs.node CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "noobs",
3
- "version": "0.0.148",
3
+ "version": "0.0.150",
4
4
  "description": "A native Node.js addon with libobs bindings for Warcraft Recorder.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -61,22 +61,6 @@ void ObsInterface::list_output_types()
61
61
  }
62
62
  }
63
63
 
64
- bool log_adapter(void *param, const char *node, uint32_t idx)
65
- {
66
- blog(LOG_INFO, " - %d: %s", idx, node);
67
- return true;
68
- }
69
-
70
- void list_adapters()
71
- {
72
- // Pretty sure OBS logs all this stuff anyway but do it ourselves for good measure.
73
- obs_enter_graphics();
74
- uint32_t count = gs_get_adapter_count();
75
- blog(LOG_INFO, "Adapter count: %d", count);
76
- gs_enum_adapters(log_adapter, NULL);
77
- obs_leave_graphics();
78
- }
79
-
80
64
  void ObsInterface::load_module(const char* module, const char* data, bool allowFail) {
81
65
  blog(LOG_INFO, "Loading module: %s", module);
82
66
  blog(LOG_INFO, "Data path: %s", data);
@@ -240,7 +224,6 @@ void ObsInterface::init_obs(const std::string& distPath) {
240
224
  list_encoders();
241
225
  list_source_types();
242
226
  list_output_types();
243
- list_adapters();
244
227
 
245
228
  blog(LOG_INFO, "Initializing complete");
246
229
  }