MCPcopy Create free account
hub / github.com/clangen/musikcube / Add

Method Add

src/plugins/wasapiout/WasapiOut.cpp:98–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 virtual const IDevice* At(size_t index) const override { return &devices.at(index); }
97
98 void Add(const std::string& id, const std::string& name) {
99 devices.push_back(WasapiDevice(id, name));
100 }
101
102 private:
103 std::vector<WasapiDevice> devices;

Callers 1

GetDeviceListMethod · 0.45

Calls 2

WasapiDeviceClass · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected