MCPcopy Create free account
hub / github.com/cinder/Cinder / getInputDevices

Method getInputDevices

src/cinder/audio/Device.cpp:94–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94vector<DeviceRef> Device::getInputDevices()
95{
96 vector<DeviceRef> result;
97 for( const auto &dev : getDevices() ) {
98 if( dev->getNumInputChannels() > 0 )
99 result.push_back( dev );
100 }
101
102 return result;
103}
104
105const string& Device::getName()
106{

Callers

nothing calls this directly

Calls 2

getNumInputChannelsMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected