We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56e6302 commit 1819927Copy full SHA for 1819927
mabl/src/aipincore/java/com/penumbraos/mabl/aipincore/ConversationRenderer.kt
@@ -24,9 +24,13 @@ class ConversationRenderer(
24
// val penumbraClient = PenumbraClient(context)
25
26
init {
27
- if (listeningSoundEffectFile.exists()) {
28
- listeningMediaPlayer.setDataSource(listeningSoundEffectFile.absolutePath)
29
- listeningMediaPlayer.prepareAsync()
+ try {
+ if (listeningSoundEffectFile.exists()) {
+ listeningMediaPlayer.setDataSource(listeningSoundEffectFile.absolutePath)
30
+ listeningMediaPlayer.prepareAsync()
31
+ }
32
+ } catch (e: Exception) {
33
+ Log.e(TAG, "Failed to load listening sound effect", e)
34
}
35
36
0 commit comments