diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2015-11-21 06:32:37 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-11-21 06:32:37 -0800 |
commit | 30a54ef22488f95a8865c9422130f1e1597b3bdd (patch) | |
tree | 6ef97666aa773c9edbf915878bfd8b8e96170e3d | |
parent | 70756a1edc64278d1e45c527ae14c75a27e44e23 (diff) | |
parent | 53fa0eb2cc6240f2e8dae6b12ec56e1a4cfff6dc (diff) | |
download | android_hardware_qcom_audio-30a54ef22488f95a8865c9422130f1e1597b3bdd.tar.gz android_hardware_qcom_audio-30a54ef22488f95a8865c9422130f1e1597b3bdd.tar.bz2 android_hardware_qcom_audio-30a54ef22488f95a8865c9422130f1e1597b3bdd.zip |
Merge "hal: Fix condition for offload small buffer use"
-rw-r--r-- | hal/audio_extn/audio_extn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hal/audio_extn/audio_extn.h b/hal/audio_extn/audio_extn.h index d1d995c1..30de3fb9 100644 --- a/hal/audio_extn/audio_extn.h +++ b/hal/audio_extn/audio_extn.h @@ -48,7 +48,7 @@ #define audio_is_offload_pcm(format) (0) #define OFFLOAD_USE_SMALL_BUFFER false #else -#define OFFLOAD_USE_SMALL_BUFFER ((info->format & AUDIO_FORMAT_PCM_OFFLOAD) == AUDIO_FORMAT_PCM_OFFLOAD) +#define OFFLOAD_USE_SMALL_BUFFER ((info->format & AUDIO_FORMAT_MAIN_MASK) == AUDIO_FORMAT_PCM_OFFLOAD) #endif #ifndef AFE_PROXY_ENABLED |