OSDN Git Service

Manually add incall music output flag
authorNadav Bar <nadavbar@google.com>
Mon, 22 Jan 2018 19:23:18 +0000 (21:23 +0200)
committerNadav Bar <nadavbar@google.com>
Mon, 22 Jan 2018 19:39:21 +0000 (21:39 +0200)
This change manually adds the AUDIO_OUTPUT_FLAG_INCALL_MUSIC to audio.h.
When HAL v4.0 will be available it will be added to the HAL interfaces
and removed from audio.h.

Bug: 69973354.
Test: tested manually.
Change-Id: I130aa1f91325199552047d348017e54e576a2f91

audio/include/system/audio.h

index a5f9969..0d08ec0 100644 (file)
@@ -1078,5 +1078,8 @@ __END_DECLS
 #define AUDIO_OFFLOAD_CODEC_DELAY_SAMPLES  "delay_samples"
 #define AUDIO_OFFLOAD_CODEC_PADDING_SAMPLES  "padding_samples"
 
+// FIXME: a temporary declaration for the incall music flag, will be removed when
+// declared in types.hal for audio HAL V4.0 and auto imported to audio-base.h
+#define AUDIO_OUTPUT_FLAG_INCALL_MUSIC 0x10000
 
 #endif  // ANDROID_AUDIO_CORE_H