diff options
author | Ethan Chen <intervigil@gmail.com> | 2018-01-29 21:50:35 -0800 |
---|---|---|
committer | Ethan Chen <intervigil@gmail.com> | 2018-01-29 21:50:38 -0800 |
commit | 648711db58e4cc52bffbd596e9a4dd432d7fecb9 (patch) | |
tree | eba582dc8d09a29d1ad5b7163b243a6eeff26f2d | |
parent | 2748aea48206ac9159bbb95d5e2d5bcd6761c956 (diff) | |
download | android_system_media-staging/lineage-15.1.tar.gz android_system_media-staging/lineage-15.1.tar.bz2 android_system_media-staging/lineage-15.1.zip |
Revert "audio: Add helper method for PCM offload formats"staging/lineage-15.1
This reverts commit c26efcfa80fadbd3f0d7a6db0c51caee0bf26189.
Change-Id: Ic40890dcebde56843dd5aa98eb2e87ba89bfe3dd
-rw-r--r-- | audio/include/system/audio.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/audio/include/system/audio.h b/audio/include/system/audio.h index 0ade2c0a..e683d60a 100644 --- a/audio/include/system/audio.h +++ b/audio/include/system/audio.h @@ -891,15 +891,6 @@ static inline bool audio_has_proportional_frames(audio_format_t format) || mainFormat == AUDIO_FORMAT_IEC61937); } -static inline bool audio_is_offload_pcm(audio_format_t format) -{ -#ifdef QCOM_HARDWARE - return ((format & AUDIO_FORMAT_MAIN_MASK) == AUDIO_FORMAT_PCM_OFFLOAD); -#endif - (void)(format); // Crappy unused parameter warning/error fix. - return false; -} - static inline size_t audio_bytes_per_sample(audio_format_t format) { size_t size = 0; |