This commit is contained in:
Seth Call 2014-11-09 09:13:22 -06:00
parent 4e00863de6
commit 3c53eab168
3 changed files with 23 additions and 3 deletions

View File

@ -38,6 +38,7 @@
var sessionPageDone = null;
var $recordingManagerViewer = null;
var $screen = null;
var $mixModeDropdown = null;
var rest = context.JK.Rest();
var RENDER_SESSION_DELAY = 750; // When I need to render a session, I have to wait a bit for the mixers to be there.
@ -491,13 +492,15 @@
var holder = $.extend(true, {}, {mixers: context.jamClient.SessionGetControlState(mixerIds)});
mixers = holder.mixers;
// Always add a hard-coded simplified 'mixer' for the L2M mix
var l2m_mixer = {
/**
var l2m_mixer = {
id: '__L2M__',
range_low: -80,
range_high: 20,
volume_left: context.jamClient.SessionGetMasterLocalMix()
};
mixers.push(l2m_mixer);
mixers.push(l2m_mixer);*/
}
function _mixersForGroupId(groupId) {
@ -1483,7 +1486,9 @@
$recordingManagerViewer = $('#recording-manager-viewer');
$screen = $('#session-screen');
// make sure no previous plays are still going on by accident
$mixModeDropdown = $screen.find('select.monitor-mode')
// make sure no previous plays are still going on by accident
context.jamClient.SessionStopPlay();
if(context.jamClient.SessionRemoveAllPlayTracks) {
// upgrade guard

View File

@ -69,6 +69,11 @@
.playback-mode-buttons {
display:none;
}
.monitor-mode-holder .easydropdown-wrapper{
top:-7px;
left:5px;
}
}

View File

@ -30,12 +30,22 @@
</div>
<!-- Mix: Me versus Others -->
<div class="block monitor-mode-holder">
<div class="label">MONITOR MODE:</div>
<select class="monitor-mode easydropdown">
<option value="personal" class="label">Personal</option>
<option value="global">Global</option>
</select>
</div>
<!--
<div class="block">
<div class="label">MONITOR:</div>
<div class="label"><small>others</small></div>
<div id="l2m" class="fader flat" mixer-id="__L2M__"></div>
<div class="label"><small>me</small></div>
</div>
-->
<!-- Leave Button -->
<a class="button-grey right leave" href="/client#/home" id="session-leave">X&nbsp;&nbsp;LEAVE</a>