diff options
author | sletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224> | 2008-07-06 16:46:50 +0000 |
---|---|---|
committer | sletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224> | 2008-07-06 16:46:50 +0000 |
commit | 1f208cbe0783551eee60d4c00889ebc6756e30d3 (patch) | |
tree | 15e331c622dad9fd7b0376c592c61a9af1f116a1 /linux | |
parent | 45eb51b6a704d0ea3410503953cc28a3142524b5 (diff) | |
download | jack2-1f208cbe0783551eee60d4c00889ebc6756e30d3.tar.gz |
Fix JackAlsaDriver::frame_time() (2)
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2657 0c269be4-1314-0410-8aa9-9f06e86f4224
Diffstat (limited to 'linux')
-rw-r--r-- | linux/alsa/JackAlsaDriver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/alsa/JackAlsaDriver.cpp b/linux/alsa/JackAlsaDriver.cpp index a89904d3..91fc4825 100644 --- a/linux/alsa/JackAlsaDriver.cpp +++ b/linux/alsa/JackAlsaDriver.cpp @@ -2386,14 +2386,14 @@ jack_nframes_t JackAlsaDriver::frame_time() const { JackTimer timer; fEngineControl->ReadFrameTime(&timer); - return timer.Time2Frames(fEngineControl->fBufferSize); + return timer.Time2Frames(GetMicroSeconds(), fEngineControl->fBufferSize); } jack_nframes_t JackAlsaDriver::last_frame_time() const { JackTimer timer; fEngineControl->ReadFrameTime(&timer); - return timer.fFrames; + return timer.CurFrame(); } } // end of namespace |