Skip to content

Commit

Permalink
删除错误日志
Browse files Browse the repository at this point in the history
  • Loading branch information
ideastudios committed Oct 21, 2019
1 parent 4976701 commit fb02565
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion volume/src/main/java/tech/oom/volume/VolumeVad.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ public boolean processBuffer(short[] wave) {
}
//1s为1000ms 1 short = 2*byte
long currentLengthInMillis = 1000 * 2 * wave.length / (getSampleRate() * getbSamples() * getChannel() / 8);
Log.d(TAG, "当前buffer时长");
float volume = calculateVolume(wave);
if (minVolume == 0 && maxVolume == 0) {
minVolume = volume;
Expand Down

0 comments on commit fb02565

Please sign in to comment.