MCPcopy Create free account
hub / github.com/LabSound/LabSound / getCompiledApiByName

Method getCompiledApiByName

src/backends/RtAudio/RtAudio.cpp:196–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196RtAudio::Api RtAudio ::getCompiledApiByName(const std::string & name)
197{
198 unsigned int i = 0;
199 for (i = 0; i < rtaudio_num_compiled_apis; ++i)
200 if (name == rtaudio_api_names[rtaudio_compiled_apis[i]][0])
201 return rtaudio_compiled_apis[i];
202 return RtAudio::UNSPECIFIED;
203}
204
205void RtAudio ::openRtApi(RtAudio::Api api)
206{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected