+
+
+ /*
+ * If the QUIRK_FIELD_ORDERING bit is set in quirks, the contents of
+ * this array are used in the finalization stage to swap sample fields
+ * before transmitting them to Android ; they form a mapping between
+ * the indices of the input and output arrays: ex: 0123 is identity for
+ * a sample containing 4 fields.
+ */
+ unsigned char order[MAX_CHANNELS];
+
+ /* A few variables used for data filtering */
+ float *history; /* Working buffer containing recorded samples */
+ int history_size; /* Number of recorded samples */
+ int history_entries; /* How many of these are initialized */
+ int history_index; /* Index of sample to evict next time */