audio: Updates to comply with standard libhardware_legacy audio hal
Revert back to original libhardware_legacy audio hal headers from AOSP.
This makes corresponding code changes to disable features to match
audio hal implementation with standard libhardware_legacy audio hal.
Change-Id: Ibf1e50d3fffc8280ba417a26172c0f04206474e3
diff --git a/libalsa-intf/alsa_audio.h b/libalsa-intf/alsa_audio.h
index 83482dd..7f2acf0 100644
--- a/libalsa-intf/alsa_audio.h
+++ b/libalsa-intf/alsa_audio.h
@@ -189,6 +189,7 @@
#define MAX_NUM_CODECS 32
/* compressed audio support */
+#ifdef QCOM_COMPRESSED_AUDIO_ENABLED
struct snd_compr_caps {
__u32 num_codecs;
__u32 min_fragment_size;
@@ -285,5 +286,6 @@
#define SNDRV_COMPRESS_START _IO('C', 0x22)
#define SNDRV_COMPRESS_STOP _IO('C', 0x23)
#define SNDRV_COMPRESS_DRAIN _IO('C', 0x24)
+#endif
#endif