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

Method getOutputDevices

src/cinder/audio/Device.cpp:83–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83vector<DeviceRef> Device::getOutputDevices()
84{
85 vector<DeviceRef> result;
86 for( const auto &dev : getDevices() ) {
87 if( dev->getNumOutputChannels() > 0 )
88 result.push_back( dev );
89 }
90
91 return result;
92}
93
94vector<DeviceRef> Device::getInputDevices()
95{

Callers

nothing calls this directly

Calls 2

getNumOutputChannelsMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected