MayaFlux 0.2.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 272 of file InputSubsystem.cpp.

273{
274 std::shared_lock lock(m_backends_mutex);
275 auto it = m_backends.find(backend_type);
276 if (it != m_backends.end()) {
277 it->second->close_device(device_id);
278 }
279}
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: