diff options
author | Robert Wu <85952307+robertwu1@users.noreply.github.com> | 2022-09-07 15:29:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-07 15:29:12 -0700 |
commit | 2f5b747f5166dd1d4f62122c030379a5b5156bae (patch) | |
tree | afc48dbea454db1bc3b88c754c12d9d518765f11 /apps/OboeTester/app/src/main/res | |
parent | f57e1e62535e71158186cba4e7add5d46d375661 (diff) | |
download | oboe-2f5b747f5166dd1d4f62122c030379a5b5156bae.tar.gz |
OboeTester: Add ability to add audio effects from stream configs (#1613)
Diffstat (limited to 'apps/OboeTester/app/src/main/res')
-rw-r--r-- | apps/OboeTester/app/src/main/res/layout/stream_config.xml | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/apps/OboeTester/app/src/main/res/layout/stream_config.xml b/apps/OboeTester/app/src/main/res/layout/stream_config.xml index d19c6b0d..9609fd0e 100644 --- a/apps/OboeTester/app/src/main/res/layout/stream_config.xml +++ b/apps/OboeTester/app/src/main/res/layout/stream_config.xml @@ -293,6 +293,63 @@ </LinearLayout> <LinearLayout + android:id="@+id/inputEffects" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:visibility="gone"> + + <CheckBox + android:id="@+id/checkBoxAutomaticGainControl" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="8sp" + android:text="Automatic Gain Control" /> + + <CheckBox + android:id="@+id/checkBoxAcousticEchoCanceler" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="8sp" + android:text="Acoustic Echo Canceler" /> + + </LinearLayout> + + <LinearLayout + android:id="@+id/outputEffects" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:visibility="gone"> + + <TextView + android:id="@+id/textBassBoost" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Bass Boost" /> + + <SeekBar + android:id="@+id/seekBarBassBoost" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:max="1000" + android:progress="0" /> + + <TextView + android:id="@+id/textLoudnessEnhancer" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Loudness Enhancer" /> + + <SeekBar + android:id="@+id/seekBarLoudnessEnhancer" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:max="5000" + android:progress="0" /> + </LinearLayout> + + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal"> |