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

Method setupMultiChannelDeviceWindows

test/_audio/AudioTests/src/DeviceTest.cpp:158–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158void DeviceTest::setupMultiChannelDeviceWindows( const string &deviceName )
159{
160 auto outputDev = audio::Device::findOutputByName( deviceName );
161 if( outputDev )
162 setOutputDevice( outputDev, outputDev->getNumOutputChannels() );
163 else
164 CI_LOG_E( "could not find output device named: " << deviceName );
165
166 auto inputDev = audio::Device::findInputByName( deviceName );
167 if( inputDev )
168 setInputDevice( inputDev, inputDev->getNumInputChannels() );
169 else
170 CI_LOG_E( "could not find input device named: " << deviceName );
171}
172
173void DeviceTest::setupRolandOctaCaptureInputMonitoring()
174{

Callers

nothing calls this directly

Calls 2

getNumOutputChannelsMethod · 0.45
getNumInputChannelsMethod · 0.45

Tested by

no test coverage detected