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

Commit e5a00aed authored by Thomas Wendt's avatar Thomas Wendt Committed by Steve Kondik
Browse files

libnbaio: Fix previous get_presentation_position commit

The previous commit has no effect because HAVE_PRE_KITKAT_AUDIO_BLOB is
actually never defined.

Change-Id: Ic41b5f02c2cee741aaacce6da1839001a49b9410
parent 4d79983f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -52,7 +52,9 @@ public:
    // implementation of GNWT (if any)
    virtual status_t getNextWriteTimestamp(int64_t *timestamp);

#ifndef HAVE_PRE_KITKAT_AUDIO_BLOB
    virtual status_t getTimestamp(AudioTimestamp& timestamp);
#endif

    // NBAIO_Sink end

+4 −0
Original line number Diff line number Diff line
@@ -36,4 +36,8 @@ LOCAL_SHARED_LIBRARIES := \
# This dependency on libmedia is for SingleStateQueueInstantiations.
# Consider a separate a library for SingleStateQueueInstantiations.

ifeq ($(BOARD_HAVE_PRE_KITKAT_AUDIO_BLOB),true)
    LOCAL_CFLAGS += -DHAVE_PRE_KITKAT_AUDIO_BLOB
endif

include $(BUILD_SHARED_LIBRARY)