OSDN Git Service

audio hal: add exports to audio-base.h
authorEric Laurent <elaurent@google.com>
Fri, 7 Oct 2016 01:34:40 +0000 (18:34 -0700)
committerEric Laurent <elaurent@google.com>
Fri, 7 Oct 2016 19:13:46 +0000 (12:13 -0700)
Fixes build errors with double definitions of
some constants here and in audio.h

Change-Id: I1569b86216c6502a20ff6f39a991cd6087be8a23

audio/common/2.0/types.hal

index fa06cc4..dd75706 100644 (file)
@@ -55,12 +55,12 @@ typedef uint32_t AudioHwSync;
 /*
  * Each port has a unique ID or handle allocated by policy manager.
  */
+@export(name="")
 enum AudioHandleConsts {
     AUDIO_IO_HANDLE_NONE = 0,
     AUDIO_MODULE_HANDLE_NONE = 0,
     AUDIO_PORT_HANDLE_NONE = 0,
     AUDIO_PATCH_HANDLE_NONE = 0,
-    AUDIO_HW_SYNC_INVALID = 0
 };
 
 /*