Skip to content

Commit

Permalink
oboetester: override previous channel mask/count selection (#1973)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertwu1 authored Mar 6, 2024
1 parent a0e3b65 commit c1d4eaf
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -520,11 +520,17 @@ public void setFormatConversionAllowed(boolean allowed) {
}

private void onChannelCountSpinnerSelected() {
mIsChannelMaskLastSelected = false;
if (mChannelCountSpinner.getSelectedItemPosition() != 0) {
mChannelMaskSpinner.setSelection(0); // Override the previous channel mask selection
mIsChannelMaskLastSelected = false;
}
}

private void onChannelMaskSpinnerSelected() {
mIsChannelMaskLastSelected = true;
if (mChannelMaskSpinner.getSelectedItemPosition() != 0) {
mChannelCountSpinner.setSelection(0); // Override the previous channel count selection
mIsChannelMaskLastSelected = true;
}
}

private void onRequestAudioEffectClicked(boolean isChecked) {
Expand Down

0 comments on commit c1d4eaf

Please sign in to comment.