Capture all Android-internal outgoing raw-audio (PCM) via Android-NDK (C, C++) or Android-JDK (Java)

Cancelled

Hello,

I have a concrete, not simple requirement for an experienced Android-NDK/C-developer:

About one year ago I have decided to write an Android app, which should capture all outgoing audio (PCM) of my Android device.

The captured audio should then for example be streamed to wireless loudspeakers (like Apple's AirTunes).

This means, that at least STREAM_MUSIC should be captured, so you can listen to your music with the music-app of you choice.

The goal is NOT to write a player which can play MP3s to a remote speaker (apps like this already exist)!

The problem is, that it is not possible to capture the outgoing sound with standard Android-APIs, you can only capture from microphone.

My attempts so far:

1. I have tried all possible ways with the standard Android-SDK (Java)

2. I have tried to implement /dev/snd/pcmC0D0p as a character device (LKM)

3. I have tried to implement /dev/snd/pcmC0D0p as a character device in userspace via FUSE (shipped with Android)

4. I have tried to hook [url removed, login to view] & [url removed, login to view] with GOT/ELF-hook to intercept the mmap()-method.

My conclusions so far:

1. it is not possible with standard Android-APIs

2. the character device worked, but pcmC0D0p is not always the right device and kernel-coding is not applicable for an Android-app

3. it is not possible to implement a character device with FUSE, you need CUSE for this (not shipped with Android)

4. the ELF-hook worked for own shared libraries, but the system-libraries seem to be protected (maybe RELRO)

I have very good knowledge of Java and similar programming languages, but C is not my thing.

Now, my requirements:

- a piece of code or a small binary, which can capture/intercept ALL (or at least STREAM_MUSIC) PCM-audio outgoing of an Android-phone and stream it e.g. into a non-blocking pipe/FIFO

- I'm not interested in capturing phone-calls, so that's not required

- I must be able to compile the code on a Windows-PC with help of Android-NDK (ndk-build)

- the audio must be captured non-blocking (but there must not be a large buffer)

- you can assume a rooted Android-phone with at least Android 4.2.1 Jelly Bean and the newest Android-NDK (but it's better to supply more versions!)

- I must be able to build-in your code into my existing code and be able to get the raw PCM-audio from your code into my app

- the code must run on ARM-devices

My test-device is a rooted Samsung Galaxy Nexus with Android 4.2.1 Jelly Bean, stock kernel.

My payment:

I will pay up to 250€ for a good, stable, code-documented and readable piece of code which can solve my requirements listed above.

I will pay up to 300€ if your code runs smoothly on multiple Android-versions and does NOT require rooting.

--------------------

Please, only contact me if you read & understood my requirements and only if you are (quite) sure you can solve them.

I will NOT reply to impersonal standard-messages like "Hey, we can make a good app" - please write me how you will solve my problem.

Best regards & thanks in advance!

Skills: Android, C Programming, Engineering

See more: android capture internal audio, android audio capture, capture audio android, android capture internal sound, android ndk audio, android intercept audio, android capture audio stream, android pcm audio, android capture sound, android capture raw audio, android capture audio, capture internal audio android, android pcm, sound capture android, android intercept pcm audio, android internal sound, android audio capture pcm, android audio capture ndk, android dev intercept audio, android ndk hook internal, rooted android capture raw audio, audio capture android phone, audio wireless, capture android audio, listen internal audio android programming

Project ID: #4134356

5 freelancers are bidding on average €1570 for this job

shabdullah88

Dear sir After reading your project details,we are interested in this project and would like to bid on this project. we take care of our every client personally and has always long term relationship.we will do as many More

€650 EUR in 15 days
(4 Reviews)
3.6
iconwebservices

Hi please check your inbox Thanks

€1000 EUR in 30 days
(6 Reviews)
3.4
hluo

This can be done, but I don't think 750 euro will do the work. I've been working in this area for quite some time in order to redirect audio for our VNC/RDP server.

€4000 EUR in 40 days
(1 Review)
3.2
hyperlinkinfo

I have this application with me please check PMB

€500 EUR in 1 day
(4 Reviews)
1.5
agnishukla

we are a group of 16 experts we are expert and well kowned developers , we are from androidfreeware.us we understood your needs.. reply us we will offer you the best price. Skype: agni.shukla

€1700 EUR in 30 days
(0 Reviews)
0.0
E1Yv8DNp5

We are freelance software developers. If you contact me I can give a quote for your project and we can discuss the details. w w w . so l ve r . i o

€500 EUR in 1 day
(0 Reviews)
0.0