From 1d36dcb88f4eb782fafad87775a3f35c01133ca2 Mon Sep 17 00:00:00 2001 From: Jonathon Wilson Date: Sun, 15 Sep 2013 19:55:12 -0600 Subject: [PATCH] VRFS-648. Use Peter's new resync function instead of FTUESave. --- web/app/assets/javascripts/fakeJamClient.js | 6 ++++++ web/app/assets/javascripts/session.js | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/web/app/assets/javascripts/fakeJamClient.js b/web/app/assets/javascripts/fakeJamClient.js index 662859ea2..126ce6982 100644 --- a/web/app/assets/javascripts/fakeJamClient.js +++ b/web/app/assets/javascripts/fakeJamClient.js @@ -189,6 +189,11 @@ // Session Functions function SessionAddTrack() {} + + function SessionAudioResync() { + logger.debug("Fake JamClient: SessionAudioResync()"); + } + function SessionGetControlState(mixerIds) { dbg("SessionGetControlState"); var groups = [0, 1, 2, 3, 7, 9]; @@ -553,6 +558,7 @@ this.SessionGetMasterLocalMix = SessionGetMasterLocalMix; this.SessionSetMasterLocalMix = SessionSetMasterLocalMix; this.SessionGetDeviceLatency = SessionGetDeviceLatency; + this.SessionAudioResync = SessionAudioResync; // Track this.TrackGetChannels = TrackGetChannels; diff --git a/web/app/assets/javascripts/session.js b/web/app/assets/javascripts/session.js index 04db7f786..0c3ed9a3f 100644 --- a/web/app/assets/javascripts/session.js +++ b/web/app/assets/javascripts/session.js @@ -781,7 +781,7 @@ function sessionResync(evt) { evt.preventDefault(); - var response = context.jamClient.FTUESave(true); + var response = context.jamClient.SessionAudioResync(); if (response) { app.notify({ "title": "Error",