mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-15 21:27:00 +02:00
Move dead submodules in-tree
Signed-off-by: swurl <swurl@swurl.xyz>
This commit is contained in:
parent
c0cceff365
commit
6c655321e6
4081 changed files with 1185566 additions and 45 deletions
154
externals/oboe/samples/hello-oboe/src/main/res/layout/activity_main.xml
vendored
Normal file
154
externals/oboe/samples/hello-oboe/src/main/res/layout/activity_main.xml
vendored
Normal file
|
|
@ -0,0 +1,154 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2017 The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
tools:context=".MainActivity">
|
||||
|
||||
<!-- Audio API container -->
|
||||
<LinearLayout
|
||||
android:id="@+id/audioApisContainer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:layout_marginTop="@dimen/activity_vertical_margin"
|
||||
android:orientation="horizontal"
|
||||
>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/audio_api"
|
||||
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
||||
android:id="@+id/audioApisTitleText"
|
||||
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
||||
android:layout_gravity="center_vertical"
|
||||
/>
|
||||
<Spinner
|
||||
android:id="@+id/audioApiSpinner"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
||||
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
||||
android:layout_gravity="center_vertical"/>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- Playback device container -->
|
||||
<LinearLayout
|
||||
android:id="@+id/playbackDevicesContainer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintTop_toBottomOf="@id/audioApisContainer"
|
||||
app:layout_constraintLeft_toLeftOf="parent">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/playback_device"
|
||||
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
||||
android:id="@+id/playbackDeviceTitleText"
|
||||
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
||||
android:layout_gravity="center_vertical"/>
|
||||
|
||||
<com.google.oboe.samples.audio_device.AudioDeviceSpinner
|
||||
android:id="@+id/playbackDevicesSpinner"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
||||
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
||||
android:layout_gravity="center_vertical"/>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- Channel count container -->
|
||||
<LinearLayout
|
||||
android:id="@+id/channelCountContainer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintTop_toBottomOf="@id/playbackDevicesContainer"
|
||||
app:layout_constraintLeft_toLeftOf="parent">
|
||||
<TextView
|
||||
android:id="@+id/channelCountTitleText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
||||
android:text="Channel count"
|
||||
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
||||
android:layout_gravity="center_vertical"/>
|
||||
<Spinner
|
||||
android:id="@+id/channelCountSpinner"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
||||
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
||||
android:layout_gravity="center_vertical"/>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- Buffer size container -->
|
||||
<LinearLayout
|
||||
android:id="@+id/bufferSizeContainer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintTop_toBottomOf="@id/channelCountContainer"
|
||||
app:layout_constraintLeft_toLeftOf="parent">
|
||||
<TextView
|
||||
android:id="@+id/bufferSizeTitleText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
||||
android:text="@string/buffer_size_title"
|
||||
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
||||
android:layout_gravity="center_vertical"/>
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/bufferSizeSpinner"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
||||
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
||||
android:layout_gravity="center_vertical"/>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- Audio stream latency -->
|
||||
<TextView
|
||||
android:id="@+id/latencyText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
||||
android:layout_marginTop="12dp"
|
||||
android:text="@string/latency"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/bufferSizeContainer"
|
||||
android:layout_marginStart="@dimen/activity_horizontal_margin" />
|
||||
|
||||
<!-- User instructions -->
|
||||
<TextView
|
||||
android:id="@+id/userInstructionView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
||||
android:layout_marginTop="20dp"
|
||||
android:lines="3"
|
||||
android:text="@string/init_status"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/latencyText"
|
||||
android:layout_marginStart="@dimen/activity_horizontal_margin" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
23
externals/oboe/samples/hello-oboe/src/main/res/layout/audio_apis_spinner.xml
vendored
Normal file
23
externals/oboe/samples/hello-oboe/src/main/res/layout/audio_apis_spinner.xml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2017 The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
<TextView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/audioApiOption"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/default_padding"
|
||||
/>
|
||||
23
externals/oboe/samples/hello-oboe/src/main/res/layout/buffer_sizes_spinner.xml
vendored
Normal file
23
externals/oboe/samples/hello-oboe/src/main/res/layout/buffer_sizes_spinner.xml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2017 The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
<TextView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/bufferSizeOption"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/default_padding"
|
||||
/>
|
||||
23
externals/oboe/samples/hello-oboe/src/main/res/layout/channel_counts_spinner.xml
vendored
Normal file
23
externals/oboe/samples/hello-oboe/src/main/res/layout/channel_counts_spinner.xml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2018 The Android Open Source Project
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
<TextView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/channelCountOption"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/default_padding"
|
||||
/>
|
||||
BIN
externals/oboe/samples/hello-oboe/src/main/res/mipmap-hdpi/ic_launcher.png
vendored
Normal file
BIN
externals/oboe/samples/hello-oboe/src/main/res/mipmap-hdpi/ic_launcher.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
BIN
externals/oboe/samples/hello-oboe/src/main/res/mipmap-mdpi/ic_launcher.png
vendored
Normal file
BIN
externals/oboe/samples/hello-oboe/src/main/res/mipmap-mdpi/ic_launcher.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
BIN
externals/oboe/samples/hello-oboe/src/main/res/mipmap-xhdpi/ic_launcher.png
vendored
Normal file
BIN
externals/oboe/samples/hello-oboe/src/main/res/mipmap-xhdpi/ic_launcher.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
BIN
externals/oboe/samples/hello-oboe/src/main/res/mipmap-xxhdpi/ic_launcher.png
vendored
Normal file
BIN
externals/oboe/samples/hello-oboe/src/main/res/mipmap-xxhdpi/ic_launcher.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.5 KiB |
5
externals/oboe/samples/hello-oboe/src/main/res/values-v21/styles.xml
vendored
Normal file
5
externals/oboe/samples/hello-oboe/src/main/res/values-v21/styles.xml
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="AppTheme" parent="android:Theme.Material.Light">
|
||||
</style>
|
||||
</resources>
|
||||
6
externals/oboe/samples/hello-oboe/src/main/res/values-w820dp/dimens.xml
vendored
Normal file
6
externals/oboe/samples/hello-oboe/src/main/res/values-w820dp/dimens.xml
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<resources>
|
||||
<!-- Example customization of dimensions originally defined in res/values/dimens.xml
|
||||
(such as screen margins) for screens with more than 820dp of available width. This
|
||||
would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). -->
|
||||
<dimen name="activity_horizontal_margin">64dp</dimen>
|
||||
</resources>
|
||||
5
externals/oboe/samples/hello-oboe/src/main/res/values/dimens.xml
vendored
Normal file
5
externals/oboe/samples/hello-oboe/src/main/res/values/dimens.xml
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<resources>
|
||||
<!-- Default screen margins, per the Android Design guidelines. -->
|
||||
<dimen name="activity_horizontal_margin">16dp</dimen>
|
||||
<dimen name="activity_vertical_margin">16dp</dimen>
|
||||
</resources>
|
||||
16
externals/oboe/samples/hello-oboe/src/main/res/values/strings.xml
vendored
Normal file
16
externals/oboe/samples/hello-oboe/src/main/res/values/strings.xml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<resources>
|
||||
<string name="app_name">Hello Oboe</string>
|
||||
<string name="init_status">Touch anywhere on the screen to play audio</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="need_record_audio_permission">"This sample needs RECORD_AUDIO permission"</string>
|
||||
<string name="playback_device">Playback device</string>
|
||||
<string name="latency">Latency: %s</string>
|
||||
<string name="buffer_size_title">Buffer size</string>
|
||||
<string name="automatic">Automatic</string>
|
||||
<string name="buffer_size_description_key">description</string>
|
||||
<string name="buffer_size_value_key">value</string>
|
||||
<string name="audio_api_description_key">description</string>
|
||||
<string name="audio_api_value_key">value</string>
|
||||
<string name="only_supported_on_api_26">Only supported in AAudio (API 26+)</string>
|
||||
<string name="audio_api">Audio API</string>
|
||||
</resources>
|
||||
8
externals/oboe/samples/hello-oboe/src/main/res/values/styles.xml
vendored
Normal file
8
externals/oboe/samples/hello-oboe/src/main/res/values/styles.xml
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<resources>
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
Loading…
Add table
Add a link
Reference in a new issue