MCPcopy Create free account
hub / github.com/SFML/SFML / setDevice

Method setDevice

src/SFML/Audio/AudioDevice.cpp:301–307  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

299
300////////////////////////////////////////////////////////////
301bool AudioDevice::setDevice(const std::string& name)
302{
303 auto& selection = getCurrentDeviceSelection();
304 selection.useNull = false;
305 selection.selection = name;
306 return reinitialize();
307}
308
309
310////////////////////////////////////////////////////////////

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected