From 69a1e9436364e3bbcb5da809d1f017b442dc66ed Mon Sep 17 00:00:00 2001 From: sletz Date: Thu, 18 Jan 2007 20:38:11 +0000 Subject: [PATCH] Typo git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1354 0c269be4-1314-0410-8aa9-9f06e86f4224 --- common/JackDriver.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/JackDriver.cpp b/common/JackDriver.cpp index 612c587e..cbbeef48 100644 --- a/common/JackDriver.cpp +++ b/common/JackDriver.cpp @@ -16,10 +16,10 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -*/ - -#ifdef WIN32 -#pragma warning (disable : 4786) +*/ + +#ifdef WIN32 +#pragma warning (disable : 4786) #endif #include "JackDriver.h" @@ -136,7 +136,7 @@ int JackDriver::Open(jack_nframes_t nframes, strcpy(fPlaybackDriverName, playback_driver_name); fEngineControl->fPeriodUsecs = (jack_time_t)floor((((float)nframes) / (float)samplerate) * 1000000.0f); - if (fEngineControl->fTimeOutUsecs == 0) /* usecs; if zero, use 10 period size. */ + if (fEngineControl->fTimeOutUsecs == 0) /* usecs; if zero, use 2 period size. */ fEngineControl->fTimeOutUsecs = (jack_time_t)(2.f * fEngineControl->fPeriodUsecs); fGraphManager->DirectConnect(fClientControl->fRefNum, fClientControl->fRefNum); // Connect driver to itself for sync