Re: [Jack-Devel] porting jack to android
On 10/11/2011 01:07 PM, Baek Chang wrote:
> It should be easily ported if android uses ALSA.
>
> I built and ran JACK on WebOS platform with very minimal changes (WebOS
> uses ALSA). But I did have to take out support for MIDI for jack to
> compile properly.
Android uses ALSA, but has ALSA MIDI disabled in the kernel by default.
Also, Android has a gutted version of libc, and many POSIX features
are missing. (JACK1 is implemented on a POSIX assumption, JACK2 not so
much.)
Another question to ask: What would be the goal of porting JACK to
Android? Since JACK's original intent is inter-app communication...
this work-flow isn't well-suited to most Android devices.
If the goal is low(er) latency... porting JACK may be more trouble than
it's worth. There are other alternatives... but a big show-stopper is
that you will NOT be able to get RT scheduling on any production Android
device.
-gabriel
1318426052.9050_0.ltw:2,a <4E9595AC.3090600 at gmail dot com>