We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
People want to use https://github.com/k2-fsa/sherpa-ncnn/blob/master/sherpa-ncnn/csrc/sherpa-ncnn-alsa.cc on Android. However, it is not easy to compile its dependency alsa-lib for Android.
Here comes tinyalsa https://github.com/tinyalsa/tinyalsa It is straightforward to cross-compile tinyalsa for Android with the following commands
#!/usr/bin/env bash ANDROID_NDK=/ceph-fj/fangjun/software/android-sdk/ndk/21.0.6113669 mkdir -p build cd build cmake \ -DCMAKE_TOOLCHAIN_FILE="$ANDROID_NDK/build/cmake/android.toolchain.cmake" \ -DANDROID_ABI="arm64-v8a" \ -DANDROID_PLATFORM=android-21 \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SHARED_LIBS=ON \ -DTINYALSA_BUILD_EXAMPLES=OFF \ -DTINYALSA_BUILD_UTILS=OFF \ .. make -j 3
Use
as a reference to support tinyalsa. We need to implement the following files
tinyalsa
sherpa-ncnn-tinyalsa.cc
tinyalsa.h
tinyalsa.cc
Support from the community is highly welcome.
The text was updated successfully, but these errors were encountered:
https://github.com/Samsung/TizenRT/blob/master/docs/HowToUseTinyAlsa.md might be helpful for this task.
Sorry, something went wrong.
No branches or pull requests
People want to use https://github.com/k2-fsa/sherpa-ncnn/blob/master/sherpa-ncnn/csrc/sherpa-ncnn-alsa.cc on Android.
However, it is not easy to compile its dependency alsa-lib for Android.
Here comes tinyalsa https://github.com/tinyalsa/tinyalsa
It is straightforward to cross-compile tinyalsa for Android with the following commands
TODOs
Use
as a reference to support
tinyalsa
. We need to implement the following filessherpa-ncnn-tinyalsa.cc
tinyalsa.h
tinyalsa.cc
Support from the community is highly welcome.
The text was updated successfully, but these errors were encountered: