Skip to content

Commit

Permalink
Adjust logs on AudioDiffusion plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
pirquessa committed Mar 14, 2020
1 parent 4ca7362 commit ae4d7d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugins/AudioDiffusion.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,16 @@ class AudioDiffusion extends AbstractPlugin {
}

wakeUp() {
this.log("Start audio diffusion process");
this.log("wakeUp => Start audio diffusion process");

UTILS.exec("DiffAudio", this.CMDDIFFAUDIO, (code) => {
this.log("Stop of the audio diffusion process");
this.log("Audio diffusion process has stopped");
});
}

sleep() {
this.log("sleep => Stop audio diffusion process");

UTILS.sigterm("DiffAudio", this.PROCESSDIFFAUDIO);
}
}
Expand Down

0 comments on commit ae4d7d6

Please sign in to comment.