Skip to content

Commit

Permalink
Added detectSize method, deprecated dectectSize method
Browse files Browse the repository at this point in the history
Can't believe this typo lived on for so long.
  • Loading branch information
ddf committed Aug 26, 2015
1 parent 78c3193 commit cc32c54
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
Binary file modified library/jsminim.jar
Binary file not shown.
Binary file modified library/minim.jar
Binary file not shown.
18 changes: 12 additions & 6 deletions src/ddf/minim/analysis/BeatDetect.java
Expand Up @@ -283,14 +283,20 @@ public void detect(float[] buffer)
*
* @related BeatDetect
*/
public int dectectSize()
public int detectSize()
{
if ( algorithm == FREQ_ENERGY )
{
return spect.avgSize();
}
if ( algorithm == FREQ_ENERGY )
{
return spect.avgSize();
}

return 0;
return 0;
}

@Deprecated
public int dectectSize()
{
return detectSize();
}

/**
Expand Down

0 comments on commit cc32c54

Please sign in to comment.