Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [android-audio]

The tag has no usage guidance.

android-audio
0 votes
0 answers
15 views

How to completely destroy Media Player on back pressed in an activity?

My problem is that I have used the MediaPlayer class in an activity to play music. The music is played online from a link, and I have used the prepareAsync method for audio. At the first time, the ...
Javad Moeini Hadizadeh's user avatar
0 votes
0 answers
104 views

How to get WebRTC remote audio data and disable audiotrack on Android?

https://webrtc.googlesource.com/src/+/0f50cc284949f225f663408e7d467f39d549d3dc/sdk/android/src/java/org/webrtc/audio/WebRtcAudioTrack.java I want to disable AudioTrack and get audio data to handle it ...
sysescool's user avatar
0 votes
0 answers
71 views

How to avoid audio output switching from remote_submix to speaker when the microphone is turned on?

Background I have two Android phones. One is the Server and the other is the Client. I can flash my own images on these two phones by modifying the aosp source code. So I can record from device ...
sysescool's user avatar
1 vote
0 answers
554 views

ShazamKit audio recognition API pricing

I am looking to add in audio recognition to my android app and implemented ACRCloud android sdk with Java. The price for ACRCloud seems to be kind of high at $6 per 1000 requests. I want to look into ...
Faris Ashhab's user avatar
0 votes
0 answers
29 views

Android AudioTrack with setLoopPoints cuts out early

I am writing a simple android compose app in which I want to do some basic synthesized sounds. My starting problem is getting a sine wave to repeat forever. For now, I am trying to get AudioTrack, ...
dlw's user avatar
  • 275
2 votes
0 answers
98 views

Linking error when compiling Rust crate tinyaudio for Android

I'm trying to compile a library that uses a Rust crate tinyaudio, and I'm getting a linking error: ld: error: unable to find library -laaudio I have Android studio installed and: Android SDK ...
Dan S.'s user avatar
  • 109
1 vote
0 answers
74 views

android.media.AudioRecord.read related crash

According to Google Play, the following crash occurs on Samsung devices: [libc.so] abort SIGABRT backtrace: #00 pc 0x00000000000537d4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) #...
Hong's user avatar
  • 18.3k