From e1333d8604223eca7ceac5a9612161c466110722 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Sun, 11 Dec 2016 15:06:30 -0800 Subject: [PATCH] audio HAL: add definitions for MMAP stream mode Bug: 33398120 Test: make marlin-eng with ENABLE_TREBLE Change-Id: I288005055bee9268bb1eff481e410aad0bfcfdd1 --- audio/common/2.0/types.hal | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audio/common/2.0/types.hal b/audio/common/2.0/types.hal index d1674e4554..13fd19b2ce 100644 --- a/audio/common/2.0/types.hal +++ b/audio/common/2.0/types.hal @@ -665,6 +665,7 @@ enum AudioOutputFlag : int32_t { // data bursts, not PCM. DIRECT_PCM = 0x2000, // Audio stream containing PCM data that needs // to pass through compress path for DSP post proc. + MMAP_NOIRQ = 0x4000, // output operates in MMAP no IRQ mode. }; /* @@ -680,6 +681,7 @@ enum AudioInputFlag : int32_t { HW_HOTWORD = 0x2, // prefer an input that captures from hw hotword source RAW = 0x4, // minimize signal processing SYNC = 0x8, // synchronize I/O streams + MMAP_NOIRQ = 0x10, // input operates in MMAP no IRQ mode. }; @export(name="audio_usage_t", value_prefix="AUDIO_USAGE_")