Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e2a42c6 authored by codeworkx's avatar codeworkx
Browse files

libmedia: renamed cflag for samsungs isSeparatedStream()

also needed on non-yamaha sound phones
BOARD_USE_YAMAHAPLAYER -> BOARD_USE_SAMSUNG_SEPARATEDSTREAM

Change-Id: I5326f4e561102df4d47152b560fe0185fa848ff5
parent 75b2e6d7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -58,8 +58,8 @@ ifeq ($(BOARD_USE_KINETO_COMPATIBILITY),true)
    LOCAL_CFLAGS += -DUSE_KINETO_COMPATIBILITY
endif

ifeq ($(BOARD_USE_YAMAHAPLAYER),true)
    LOCAL_CFLAGS += -DYAMAHAPLAYER
ifeq ($(BOARD_USE_SAMSUNG_SEPARATEDSTREAM),true)
    LOCAL_CFLAGS += -DUSE_SAMSUNG_SEPARATEDSTREAM
endif

LOCAL_SHARED_LIBRARIES := \
+2 −2
Original line number Diff line number Diff line
@@ -810,7 +810,7 @@ extern "C" bool _ZN7android11AudioSystem15isLowVisibilityENS0_11stream_typeE(aud

#endif // AUDIO_LEGACY

#ifdef YAMAHAPLAYER
#ifdef USE_SAMSUNG_SEPARATEDSTREAM
extern "C" bool _ZN7android11AudioSystem17isSeparatedStreamE19audio_stream_type_t(audio_stream_type_t stream)
{
    LOGD("android::AudioSystem::isSeparatedStream(audio_stream_type_t) called!");
@@ -828,7 +828,7 @@ extern "C" bool _ZN7android11AudioSystem17isSeparatedStreamE19audio_stream_type_
    LOGD("isSeparatedStream: false");
    return false;
}
#endif // YAMAHAPLAYER
#endif // USE_SAMSUNG_SEPARATEDSTREAM

}; // namespace android