Skip to content

Commit

Permalink
Check in dist.
Browse files Browse the repository at this point in the history
  • Loading branch information
naomiaro committed Jul 24, 2016
1 parent 10e3453 commit d5f955f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
16 changes: 14 additions & 2 deletions dist/waveform-playlist/js/emitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,22 @@ ee.on("mastervolumechange", function(volume) {
var audioStates = ["uninitialized", "loading", "decoding", "finished"];

ee.on("audiorequeststatechange", function(state, src) {
displayLoadingData("Track " + src + " is in state " + audioStates[state]);
var name = src;

if (src instanceof File) {
name = src.name;
}

displayLoadingData("Track " + name + " is in state " + audioStates[state]);
});

ee.on("loadprogress", function(percent, src) {
displayLoadingData("Track " + src + " has loaded " + percent + "%");
var name = src;

if (src instanceof File) {
name = src.name;
}

displayLoadingData("Track " + name + " has loaded " + percent + "%");
});

2 changes: 1 addition & 1 deletion dist/waveform-playlist/js/waveform-playlist.var.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/waveform-playlist/js/waveform-playlist.var.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/waveform-playlist/web-audio-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ <h1 class="post-title">Full Waveform Editor</h1>
</form>
<div class="sound-status"></div>
<div class="track-drop"></div>
<div class="loading-data"></div>
</div>

</div>
Expand Down

0 comments on commit d5f955f

Please sign in to comment.