MayaFlux 0.5.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 283 of file InputSubsystem.cpp.

284{
285 std::shared_lock lock(m_backends_mutex);
286 auto it = m_backends.find(backend_type);
287 if (it != m_backends.end()) {
288 it->second->close_device(device_id);
289 }
290}
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: