Пример #1
0
void DeviceTestApp::setupIOAndSine()
{
    mGen = audio::master()->makeNode( new audio::GenSineNode() );
    mGen->setFreq( 440 );

    mGen->connect( mGain );
    mGen->enable();

    mInputDeviceNode->connect( mGain );
    mInputDeviceNode->enable();
}
Пример #2
0
void DeviceTestApp::setupIOClean()
{
    mInputDeviceNode->connect( mGain );
    mInputDeviceNode->enable();
}