81 lines
1.8 KiB
JavaScript
81 lines
1.8 KiB
JavaScript
(function(context,$) {
|
|
|
|
context.JK = context.JK || {};
|
|
context.JK.SessionTrack = function() {
|
|
var logger = context.JK.logger;
|
|
|
|
function events() {
|
|
$('#session-contents').on("click", '[action="delete"]', deleteSession);
|
|
}
|
|
|
|
/**
|
|
* Set latency. val = [good,medium,bad]
|
|
*/
|
|
function _setLatency(val) {
|
|
}
|
|
|
|
/**
|
|
* Set VU level. val = 0.0-1.0
|
|
*/
|
|
function _setVolumeUnit(val) {
|
|
}
|
|
|
|
/**
|
|
* Set the track's gain. val = 0.0-1.0
|
|
* Allows external control of channel fader.
|
|
*/
|
|
function _setGain(val) {
|
|
}
|
|
|
|
/**
|
|
* Get the track's gain from current fader. Returns 0.0-1.0
|
|
*/
|
|
function _getGain() {
|
|
}
|
|
|
|
/**
|
|
* Set whether this channel is muted. Takes a boolean where
|
|
* true means mute, false, means unmuted.
|
|
*/
|
|
function _mute(muted) {
|
|
}
|
|
|
|
/**
|
|
* Return whether the channel is currently muted.
|
|
*/
|
|
function _isMute() {
|
|
}
|
|
|
|
/**
|
|
* Set the name (typically user name)
|
|
*/
|
|
function _setName(name) {
|
|
}
|
|
|
|
/**
|
|
* Set the part this user is performing. If part is
|
|
* one of ENUM.FIGURE_ME_OUT then it is a recognized
|
|
* part with an icon, otherwise it is an 'other' value
|
|
* with a default icon.
|
|
*/
|
|
function _setPart(part) {
|
|
}
|
|
|
|
/**
|
|
* Set the channel's avatar. Typically the user's profile
|
|
* avatar url.
|
|
*/
|
|
function _setAvatar(avatar_url) {
|
|
}
|
|
|
|
this.initialize = function() {
|
|
events();
|
|
screenBindings = {
|
|
'afterShow': afterShow
|
|
};
|
|
app.bindScreen('session', screenBindings);
|
|
};
|
|
|
|
};
|
|
|
|
})(window,jQuery); |