[pulseaudio-discuss] [PATCH] Support building pulseaudio with Android NDK

Anton Lundin glance at acc.umu.se
Wed Oct 2 00:35:31 PDT 2013


On 28 September, 2013 - Arun Raghavan wrote:

> On Wed, 2013-09-18 at 16:22 +0200, Anton Lundin wrote:
> > Signed-off-by: Anton Lundin <glance at acc.umu.se>
> > ---
> >  src/daemon/main.c         | 2 +-
> >  src/pulsecore/core-util.c | 8 ++++----
> >  src/pulsecore/rtkit.c     | 2 +-
> >  3 files changed, 6 insertions(+), 6 deletions(-)
> 
> Thanks, I've had a similar patch sitting in my tree for a bit.
> 
> [...] 
> > -#ifndef OS_IS_WIN32
> > +#if !defined(OS_IS_WIN32) && !defined(__ANDROID__)
> >      if (!S_ISDIR(st.st_mode) ||
> >          (st.st_uid != uid) ||
> >          (st.st_gid != gid) ||
> 
> Why is this one required?
> 

I just checked and its not needed anymore with ndk-r9. Its a leftover
from older ndk-versions that was missing something to make that check
useful.

Would you like me to remove it and resend the patch, or if you have a
patch that solves the same issues I'm just fine with that.

//Anton

-- 
Anton Lundin	+46702-161604


More information about the pulseaudio-discuss mailing list