drop old hz code
This commit is contained in:
parent
66971c1f7a
commit
d5f2f1698e
1 changed files with 0 additions and 5 deletions
|
|
@ -97,11 +97,6 @@ public class SettingsActivity extends AppCompatSettingsThemeActivity implements
|
|||
}
|
||||
if (key.equals(AudioApplication.PREFERENCE_STORAGE))
|
||||
storage.migrateLocalStorageDialog(this);
|
||||
if (key.equals(AudioApplication.PREFERENCE_RATE)) {
|
||||
int sampleRate = Integer.parseInt(sharedPreferences.getString(AudioApplication.PREFERENCE_RATE, ""));
|
||||
if (sampleRate != Sound.getValidRecordRate(Sound.getAudioFormat(this), Sound.getInMode(this), sampleRate))
|
||||
Toast.Text(this, "Not supported Hz");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue