MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ close_device()

void MayaFlux::Core::InputSubsystem::close_device ( InputType  backend_type,
uint32_t  device_id 
)

Close a device.

Definition at line 278 of file InputSubsystem.cpp.

279{
280 std::shared_lock lock(m_backends_mutex);
281 auto it = m_backends.find(backend_type);
282 if (it != m_backends.end()) {
283 it->second->close_device(device_id);
284 }
285}
std::unordered_map< InputType, std::unique_ptr< IInputBackend > > m_backends

References m_backends, and m_backends_mutex.

Referenced by register_backend_service().

+ Here is the caller graph for this function: