Merge branch 'audiorecorder-1.1.24'
This commit is contained in:
commit
20889fe14a
2 changed files with 9 additions and 2 deletions
|
|
@ -8,8 +8,8 @@ android {
|
|||
applicationId "com.github.axet.audiorecorder"
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 23
|
||||
versionCode 44
|
||||
versionName "1.1.23"
|
||||
versionCode 45
|
||||
versionName "1.1.24"
|
||||
}
|
||||
signingConfigs {
|
||||
release {
|
||||
|
|
|
|||
|
|
@ -308,6 +308,13 @@ public class PitchView extends ViewGroup {
|
|||
int cut = data.size() - max;
|
||||
data.subList(0, cut).clear();
|
||||
samples += cut;
|
||||
|
||||
int m = data.size() - 1;
|
||||
// screen rotate may cause play/edit offsets off screen
|
||||
if (editPos > m)
|
||||
editPos = m;
|
||||
if (playPos > m)
|
||||
playPos = m;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue