Compare commits
2 Commits
754b96a319
...
995c537fd4
| Author | SHA1 | Date | |
|---|---|---|---|
| 995c537fd4 | |||
| 3d55765a26 |
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[submodule "app/src/main/cpp/rubberband"]
|
||||||
|
path = app/src/main/cpp/librubberband
|
||||||
|
url = https://donkey.abanbytes.eu/david/librubberband.git
|
||||||
|
[submodule "app/src/main/cpp/libpasada"]
|
||||||
|
path = app/src/main/cpp/libpasada
|
||||||
|
url = https://donkey.abanbytes.eu/david/libpasada.git
|
||||||
@@ -13,6 +13,7 @@ cmake_minimum_required(VERSION 3.22.1)
|
|||||||
project("lockstep-native")
|
project("lockstep-native")
|
||||||
|
|
||||||
add_subdirectory(libpasada/pasada-lib)
|
add_subdirectory(libpasada/pasada-lib)
|
||||||
|
add_subdirectory(librubberband)
|
||||||
|
|
||||||
# Creates and names a library, sets it as either STATIC
|
# Creates and names a library, sets it as either STATIC
|
||||||
# or SHARED, and provides the relative paths to its source code.
|
# or SHARED, and provides the relative paths to its source code.
|
||||||
@@ -57,6 +58,7 @@ target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE libpasada/pasada-lib/in
|
|||||||
target_link_libraries(${CMAKE_PROJECT_NAME}
|
target_link_libraries(${CMAKE_PROJECT_NAME}
|
||||||
# List libraries link to the target library
|
# List libraries link to the target library
|
||||||
pasada
|
pasada
|
||||||
|
rubberband
|
||||||
oboe::oboe
|
oboe::oboe
|
||||||
mpg123
|
mpg123
|
||||||
android
|
android
|
||||||
|
|||||||
1
app/src/main/cpp/libpasada
Submodule
1
app/src/main/cpp/libpasada
Submodule
Submodule app/src/main/cpp/libpasada added at fe300dabd3
1
app/src/main/cpp/librubberband
Submodule
1
app/src/main/cpp/librubberband
Submodule
Submodule app/src/main/cpp/librubberband added at 3a3acae777
@@ -1,7 +1,5 @@
|
|||||||
package at.lockstep.app;
|
package at.lockstep.app;
|
||||||
|
|
||||||
import static androidx.activity.result.ActivityResultCallerKt.registerForActivityResult;
|
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
|
|
||||||
import android.Manifest;
|
import android.Manifest;
|
||||||
@@ -12,8 +10,6 @@ import android.os.SystemClock;
|
|||||||
import android.provider.MediaStore;
|
import android.provider.MediaStore;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import androidx.activity.result.ActivityResultLauncher;
|
|
||||||
import androidx.activity.result.contract.ActivityResultContracts;
|
|
||||||
import androidx.core.content.ContextCompat;
|
import androidx.core.content.ContextCompat;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@@ -81,7 +77,6 @@ public class MediaStoreBenchmarkActivity extends Activity {
|
|||||||
permission = Manifest.permission.READ_EXTERNAL_STORAGE;
|
permission = Manifest.permission.READ_EXTERNAL_STORAGE;
|
||||||
}
|
}
|
||||||
|
|
||||||
//permissionLauncher.launch(permission);
|
|
||||||
requestPermissions(
|
requestPermissions(
|
||||||
new String[]{ permission },
|
new String[]{ permission },
|
||||||
REQUEST_READ_PERMISSION
|
REQUEST_READ_PERMISSION
|
||||||
|
|||||||
Reference in New Issue
Block a user