traverso-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Traverso-commit] traverso/src/engine AudioDevice.cpp


From: Remon Sijrier
Subject: [Traverso-commit] traverso/src/engine AudioDevice.cpp
Date: Wed, 04 Mar 2009 20:35:56 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Remon Sijrier <r_sijrier>       09/03/04 20:35:56

Modified files:
        src/engine     : AudioDevice.cpp 

Log message:
        * when a client request the audiodevice to seek, and the driver used is 
jackd with transport control, don't wait until jackd gets back to us with the 
new transport position, but let the client seek to the new position directly, 
so when jackd gets back to us, the client is ready to go!

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/engine/AudioDevice.cpp?cvsroot=traverso&r1=1.54&r2=1.55

Patches:
Index: AudioDevice.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/engine/AudioDevice.cpp,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- AudioDevice.cpp     11 Nov 2008 13:42:37 -0000      1.54
+++ AudioDevice.cpp     4 Mar 2009 20:35:56 -0000       1.55
@@ -17,7 +17,7 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
 
-$Id: AudioDevice.cpp,v 1.54 2008/11/11 13:42:37 r_sijrier Exp $
+$Id: AudioDevice.cpp,v 1.55 2009/03/04 20:35:56 r_sijrier Exp $
 */
 
 #include "AudioDevice.h"
@@ -887,7 +887,10 @@
        if (jackdriver) {
                PMESG("using jack_transport_locate");
                nframes_t frames = location.to_frame(get_sample_rate());
-               return  jack_transport_locate(jackdriver->get_client(), frames);
+               // TODO is it actually needed to let jackd have to call us back
+               // to let the client seek? why not let the client seek now, so 
+               // when jack calls us back the client doesn't have to anymore...
+               /*return*/  jack_transport_locate(jackdriver->get_client(), 
frames);
        }
 #endif
        




reply via email to

[Prev in Thread] Current Thread [Next in Thread]