Mercurial > hg > svapp
diff audioio/AudioPortAudioTarget.cpp @ 25:4593a7ebad93
* Ensure plugin parameters for a transform are saved in the .sv file and
restored in case the plugin has to be run again
* Make plugin dialog offer options for mixdown/single-channel use if the
file has more than one channels but the plugin only accepts one
* Fix incorrect samplerate playback for second file loaded if its samplerate
differed from first
* Add Zoom to Fit and Select Visible Range menu options, split out Import
Audio into main model and secondary model options
* Add stubs for cut, copy and paste operations (not implemented yet)
author | Chris Cannam |
---|---|
date | Thu, 30 Mar 2006 13:18:11 +0000 |
parents | ebe07d3560e6 |
children |
line wrap: on
line diff
--- a/audioio/AudioPortAudioTarget.cpp Mon Mar 27 15:03:02 2006 +0000 +++ b/audioio/AudioPortAudioTarget.cpp Thu Mar 30 13:18:11 2006 +0000 @@ -47,6 +47,8 @@ m_latency = Pa_GetMinNumBuffers(m_bufferSize, m_sampleRate) * m_bufferSize; + std::cerr << "\n\n\nLATENCY= " << m_latency << std::endl; + err = Pa_OpenDefaultStream(&m_stream, 0, 2, paFloat32, m_sampleRate, m_bufferSize, 0, processStatic, this);