MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / exec

Method exec

source/src/scriptinterpreter.cpp:1693–1698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1691 {
1692 AudioDevice ad;
1693 if (ad)
1694 {
1695 if (args.size() > 0)
1696 {
1697 const std::wstring deviceName = args[0].toWString();
1698 AudioDeviceInfos infos = ad.findDevice(AudioDeviceInfo::OUTPUT, AudioDeviceInfo::ACTIVATED);
1699 for (const auto& i : infos) if (i.name == deviceName) return ad.setOutputAttributes(i.id, AudioDeviceInfo::ALL_ATTRIBUTE);
1700 }
1701 else

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected