filmov
tv
How to Call C++ From Kotlin with JNI and External Functions | Android Synthesizer Tutorial Part 4

Показать описание
✅ Please subscribe to WolfSound to let the little Wolf 🐺 grow:
Hi, my name is Jan Wilczek. I am an audio programmer and a researcher. Welcome to WolfSound!
WolfSound enables everybody to learn about audio programming!
ABOUT THE VIDEO
In this part, we will implement the connection between the Kotlin code and the C++ code. For this, we will use the Java Native Interface and external functions of Kotlin.
Thanks to this tutorial, you will learn
💡 Why Do We Need to Call C++ Code For Audio Processing?
💡 How Can We Call C++ Code From Kotlin?
💡 How to structure your JNI code?
💡 How to set up your build files on Android to make the C++ code build?
In case of any doubt in understanding, please, refer to the article above or ask a question in the comments 🙂
Video edited by Vadzim Vezhnavets.
Background music composed and produced by Jan Wilczek.
ABOUT ME
FOLLOW WOLFSOUND ONLINE
TIME CODES
00:00 Introduction
00:42 Used technologies
01:01 Why do we need to call C++ code for audio processing?
02:22 How to call C++ code from Kotlin?
02:44 What are external functions in Kotlin?
02:59 What is Java Native Interface (JNI)?
03:16 Concrete steps to call C++ code from Kotlin
04:08 NativeWavetableSynthesizer in Kotlin
18:18 Adding a C++ module to an Android project
20:44 JNI code in C++
31:19 WavetableSynthesizer C++ class
38:00 Useful logging macro in C++
42:42 Adjustments in MainActivity
44:21 Testing the synthesizer
46:02 Summary
#android #kotlin
Hi, my name is Jan Wilczek. I am an audio programmer and a researcher. Welcome to WolfSound!
WolfSound enables everybody to learn about audio programming!
ABOUT THE VIDEO
In this part, we will implement the connection between the Kotlin code and the C++ code. For this, we will use the Java Native Interface and external functions of Kotlin.
Thanks to this tutorial, you will learn
💡 Why Do We Need to Call C++ Code For Audio Processing?
💡 How Can We Call C++ Code From Kotlin?
💡 How to structure your JNI code?
💡 How to set up your build files on Android to make the C++ code build?
In case of any doubt in understanding, please, refer to the article above or ask a question in the comments 🙂
Video edited by Vadzim Vezhnavets.
Background music composed and produced by Jan Wilczek.
ABOUT ME
FOLLOW WOLFSOUND ONLINE
TIME CODES
00:00 Introduction
00:42 Used technologies
01:01 Why do we need to call C++ code for audio processing?
02:22 How to call C++ code from Kotlin?
02:44 What are external functions in Kotlin?
02:59 What is Java Native Interface (JNI)?
03:16 Concrete steps to call C++ code from Kotlin
04:08 NativeWavetableSynthesizer in Kotlin
18:18 Adding a C++ module to an Android project
20:44 JNI code in C++
31:19 WavetableSynthesizer C++ class
38:00 Useful logging macro in C++
42:42 Adjustments in MainActivity
44:21 Testing the synthesizer
46:02 Summary
#android #kotlin
Комментарии