void AudioIO::deviceIn(const AudioDevice& v){ if(v.valid() && v.hasInput()){ mImpl->inDevice(v.id()); const PaDeviceInfo * dInfo = Pa_GetDeviceInfo(mImpl->mInParams.device); if(dInfo) mImpl->mInParams.suggestedLatency = dInfo->defaultLowInputLatency; // for RT mImpl->mInParams.sampleFormat = paFloat32;// | paNonInterleaved; //mInParams.sampleFormat = paInt16; mImpl->mInParams.hostApiSpecificStreamInfo = NULL; } else{ warn("attempt to set input device to a device without inputs", "io::AudioIO"); } }