Browse Source

Typo

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1354 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.62
sletz 19 years ago
parent
commit
69a1e94363
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      common/JackDriver.cpp

+ 5
- 5
common/JackDriver.cpp View File

@@ -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


Loading…
Cancel
Save