diff options
Diffstat (limited to 'audio/hydrogen/patches/patch-src_gui_src_PlayerControl.cpp')
-rw-r--r-- | audio/hydrogen/patches/patch-src_gui_src_PlayerControl.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/hydrogen/patches/patch-src_gui_src_PlayerControl.cpp b/audio/hydrogen/patches/patch-src_gui_src_PlayerControl.cpp new file mode 100644 index 00000000000..d7a07a19a02 --- /dev/null +++ b/audio/hydrogen/patches/patch-src_gui_src_PlayerControl.cpp @@ -0,0 +1,14 @@ +$NetBSD: patch-src_gui_src_PlayerControl.cpp,v 1.1 2014/03/06 10:16:15 mrg Exp $ + +--- src/gui/src/PlayerControl.cpp.orig 2013-02-21 10:53:51.000000000 -0800 ++++ src/gui/src/PlayerControl.cpp 2014-03-06 00:47:13.000000000 -0800 +@@ -624,7 +624,8 @@ + + // time + float fFrames = m_pEngine->getAudioOutput()->m_transport.m_nFrames; +- if ( Preferences::get_instance()->m_bJackTransportMode == Preferences::USE_JACK_TRANSPORT ) ++ if ( Preferences::get_instance()->m_bJackTransportMode == Preferences::USE_JACK_TRANSPORT && ++ Preferences::get_instance()->m_bJackMasterMode != Preferences::NO_JACK_TIME_MASTER ) + fFrames = m_pEngine->getHumantimeFrames(); + float fSampleRate = m_pEngine->getAudioOutput()->getSampleRate(); + if ( fSampleRate != 0 ) { |