audio hal: clarify requirements on offload buffer fragments

Add comment reflecting driver constraints on offload buffer size
and count.

Bug: 28545177.
Change-Id: Ia6b26651df221d95c8bbd6ce97b600221830ad2d
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index d70f9ef..a6395f4 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -52,6 +52,8 @@
 
 #include "sound/compress_params.h"
 
+/* COMPRESS_OFFLOAD_FRAGMENT_SIZE must be more than 8KB and a multiple of 32KB if more than 32KB.
+ * COMPRESS_OFFLOAD_FRAGMENT_SIZE * COMPRESS_OFFLOAD_NUM_FRAGMENTS must be less than 8MB. */
 #define COMPRESS_OFFLOAD_FRAGMENT_SIZE (256 * 1024)
 // 2 buffers causes problems with high bitrate files
 #define COMPRESS_OFFLOAD_NUM_FRAGMENTS 3