CC-2301 : Waveform Editor
Cue editor can save values to the playlist.
This commit is contained in:
parent
0385285741
commit
0d3c0912ba
3 changed files with 101 additions and 16 deletions
|
@ -85,6 +85,8 @@ AudioControls.prototype.validateCue = function(value) {
|
|||
|
||||
"hh:mm:ss": /^[0-9]{2,}:[0-5][0-9]:[0-5][0-9]$/,
|
||||
|
||||
"hh:mm:ss.u": /^[0-9]{2,}:[0-5][0-9]:[0-5][0-9]\.\d{1}$/,
|
||||
|
||||
"hh:mm:ss.uu": /^[0-9]{2,}:[0-5][0-9]:[0-5][0-9]\.\d{2}$/,
|
||||
|
||||
"hh:mm:ss.uuu": /^[0-9]{2,}:[0-5][0-9]:[0-5][0-9]\.\d{3}$/
|
||||
|
@ -126,6 +128,10 @@ AudioControls.prototype.cueToSeconds = function(value) {
|
|||
return clockConverter(value);
|
||||
},
|
||||
|
||||
"hh:mm:ss.u": function(value) {
|
||||
return clockConverter(value);
|
||||
},
|
||||
|
||||
"hh:mm:ss.uu": function(value) {
|
||||
return clockConverter(value);
|
||||
},
|
||||
|
@ -172,6 +178,10 @@ AudioControls.prototype.cueFormatters = function(format) {
|
|||
return clockFormat(seconds, 0);
|
||||
},
|
||||
|
||||
"hh:mm:ss.u": function (seconds) {
|
||||
return clockFormat(seconds, 1);
|
||||
},
|
||||
|
||||
"hh:mm:ss.uu": function (seconds) {
|
||||
return clockFormat(seconds, 2);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue