mirror of
https://github.com/azahar-emu/soundtouch
synced 2025-11-06 23:20:03 +01:00
- Android: Workaround for threading issue to enable OpenMP parallel processing in Android
141 lines
4.6 KiB
XML
141 lines
4.6 KiB
XML
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/linearLayout1"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical" >
|
|
|
|
<TableLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<TableRow
|
|
android:id="@+id/tableRow1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Tempo %:"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
<EditText
|
|
android:id="@+id/editTextTempo"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ems="5"
|
|
android:inputType="text"
|
|
android:text="100" >
|
|
</EditText>
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:id="@+id/tableRow2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Pitch half-steps:"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
<EditText
|
|
android:id="@+id/editTextPitch"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ems="5"
|
|
android:inputType="text"
|
|
android:text="-0.318" >
|
|
</EditText>
|
|
</TableRow>
|
|
</TableLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Source file:"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
<EditText
|
|
android:id="@+id/editTextSrcFileName"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="/sdcard/Download/test.wav"
|
|
android:layout_weight="1" />
|
|
|
|
|
|
<Button
|
|
android:id="@+id/buttonSelectSrcFile"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Select" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Output file:"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
<EditText
|
|
android:id="@+id/editTextOutFileName"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="/sdcard/Download/soundtouch-output.wav"
|
|
android:layout_weight="1" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonSelectOutFile"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Select" />
|
|
</LinearLayout>
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkBoxPlay"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:text="Play the output file after processing!" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonProcess"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="Process file!" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:text="Status console:"
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
<ScrollView
|
|
android:id="@+id/scrollView1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<TextView
|
|
android:id="@+id/textViewResult"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:text="@string/hello_world" />
|
|
|
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|