comparison audioio/AudioCallbackPlaySource.cpp @ 43:0739be123304

...
author Chris Cannam
date Wed, 04 Oct 2006 12:20:15 +0000
parents c0ae41c72421
children 4253ad318db5
comparison
equal deleted inserted replaced
42:c0ae41c72421 43:0739be123304
885 if (m_auditioningPluginBypassed) return; 885 if (m_auditioningPluginBypassed) return;
886 RealTimePluginInstance *plugin = m_auditioningPlugin; 886 RealTimePluginInstance *plugin = m_auditioningPlugin;
887 if (!plugin) return; 887 if (!plugin) return;
888 888
889 if (plugin->getAudioInputCount() != getTargetChannelCount()) { 889 if (plugin->getAudioInputCount() != getTargetChannelCount()) {
890 std::cerr << "plugin input count " << plugin->getAudioInputCount() 890 // std::cerr << "plugin input count " << plugin->getAudioInputCount()
891 << " != our channel count " << getTargetChannelCount() 891 // << " != our channel count " << getTargetChannelCount()
892 << std::endl; 892 // << std::endl;
893 return; 893 return;
894 } 894 }
895 if (plugin->getAudioOutputCount() != getTargetChannelCount()) { 895 if (plugin->getAudioOutputCount() != getTargetChannelCount()) {
896 std::cerr << "plugin output count " << plugin->getAudioOutputCount() 896 // std::cerr << "plugin output count " << plugin->getAudioOutputCount()
897 << " != our channel count " << getTargetChannelCount() 897 // << " != our channel count " << getTargetChannelCount()
898 << std::endl; 898 // << std::endl;
899 return; 899 return;
900 } 900 }
901 if (plugin->getBufferSize() != count) { 901 if (plugin->getBufferSize() != count) {
902 std::cerr << "plugin buffer size " << plugin->getBufferSize() 902 // std::cerr << "plugin buffer size " << plugin->getBufferSize()
903 << " != our block size " << count 903 // << " != our block size " << count
904 << std::endl; 904 // << std::endl;
905 return; 905 return;
906 } 906 }
907 907
908 float **ib = plugin->getAudioInputBuffers(); 908 float **ib = plugin->getAudioInputBuffers();
909 float **ob = plugin->getAudioOutputBuffers(); 909 float **ob = plugin->getAudioOutputBuffers();