Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv9493
Modified Files:
AudioIO.cpp
Log Message:
Don't even try to calculate latency with portaudio v19 until more consistent
results can be obtained.
Index: AudioIO.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.cpp,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -d -r1.142 -r1.143
--- AudioIO.cpp 27 Aug 2006 00:18:00 -0000 1.142
+++ AudioIO.cpp 27 Aug 2006 21:35:13 -0000 1.143
@@ -859,6 +859,7 @@
mT1 = t1;
mTime = t0;
mSeek = 0;
+ mLastRecordingOffset = 0;
mPlaySpeed = 100.0 / (timeTrack ? timeTrack->GetRangeUpper() : 100);
mPlaybackTracks = playbackTracks;
mCaptureTracks = captureTracks;
@@ -1958,6 +1959,10 @@
// As of 06/17/2006, portaudio v19 returns inputBufferAdcTime set to
// zero. It is being worked on, but for now we just can't do much
// but follow the leader.
+ //
+ // 08/27/2006: too inconsistent for now...just leave it a zero.
+ //
+ /*
if (numCaptureChannels > 0 && numPlaybackChannels > 0 &&
timeInfo->inputBufferAdcTime > 0)
gAudioIO->mLastRecordingOffset = timeInfo->inputBufferAdcTime -
timeInfo->outputBufferDacTime;
else {
@@ -1966,6 +1971,7 @@
gAudioIO->mLastRecordingOffset = -si->inputLatency;
}
}
+ */
#else
if (numCaptureChannels > 0 && numPlaybackChannels > 0)
gAudioIO->mLastRecordingOffset =
(Pa_StreamTime(gAudioIO->mPortStreamV18) - outTime) / gAudioIO->mRate;
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs