changeset 154:386b02c926bf

* Merge from one-fftdataserver-per-fftmodel branch. This bit of reworking (which is not described very accurately by the title of the branch) turns the MatrixFile object into something that either reads or writes, but not both, and separates the FFT file cache reader and writer implementations separately. This allows the FFT data server to have a single thread owning writers and one reader per "customer" thread, and for all locking to be vastly simplified and concentrated in the data server alone (because none of the classes it makes use of is used in more than one thread at a time). The result is faster and more trustworthy code.
author Chris Cannam
date Tue, 27 Jan 2009 13:25:10 +0000
parents 99afa5fa8d30
children 6a24c797c157
files audioio/AudioPulseAudioTarget.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/audioio/AudioPulseAudioTarget.cpp	Fri Jan 23 14:00:29 2009 +0000
+++ b/audioio/AudioPulseAudioTarget.cpp	Tue Jan 27 13:25:10 2009 +0000
@@ -165,9 +165,9 @@
             if (pa_stream_get_latency(m_stream, &latency, &negative)) {
                 std::cerr << "AudioPulseAudioTarget::contextStateChanged: Failed to query latency" << std::endl;
             }
-            std::cerr << "Latency = " << latency << " usec" << std::endl;
+//            std::cerr << "Latency = " << latency << " usec" << std::endl;
             int latframes = (latency / 1000000.f) * float(m_sampleRate);
-            std::cerr << "that's " << latframes << " frames" << std::endl;
+//            std::cerr << "that's " << latframes << " frames" << std::endl;
             m_source->setTargetPlayLatency(latframes); //!!! buh
     }