···32323333#define SNDRV_COMPRESS_VERSION SNDRV_PROTOCOL_VERSION(0, 1, 2)3434/**3535- * struct snd_compressed_buffer: compressed buffer3535+ * struct snd_compressed_buffer - compressed buffer3636 * @fragment_size: size of buffer fragment in bytes3737 * @fragments: number of such fragments3838 */···4242} __attribute__((packed, aligned(4)));43434444/**4545- * struct snd_compr_params: compressed stream params4545+ * struct snd_compr_params - compressed stream params4646 * @buffer: buffer description4747 * @codec: codec parameters4848 * @no_wake_mode: dont wake on fragment elapsed···5454} __attribute__((packed, aligned(4)));55555656/**5757- * struct snd_compr_tstamp: timestamp descriptor5757+ * struct snd_compr_tstamp - timestamp descriptor5858 * @byte_offset: Byte offset in ring buffer to DSP5959 * @copied_total: Total number of bytes copied from/to ring buffer to/by DSP6060 * @pcm_frames: Frames decoded or encoded by DSP. This field will evolve by···7373} __attribute__((packed, aligned(4)));74747575/**7676- * struct snd_compr_avail: avail descriptor7676+ * struct snd_compr_avail - avail descriptor7777 * @avail: Number of bytes available in ring buffer for writing/reading7878 * @tstamp: timestamp infomation7979 */···8888};89899090/**9191- * struct snd_compr_caps: caps descriptor9191+ * struct snd_compr_caps - caps descriptor9292 * @codecs: pointer to array of codecs9393 * @direction: direction supported. Of type snd_compr_direction9494 * @min_fragment_size: minimum fragment supported by DSP···110110} __attribute__((packed, aligned(4)));111111112112/**113113- * struct snd_compr_codec_caps: query capability of codec113113+ * struct snd_compr_codec_caps - query capability of codec114114 * @codec: codec for which capability is queried115115 * @num_descriptors: number of codec descriptors116116 * @descriptor: array of codec capability descriptor···122122} __attribute__((packed, aligned(4)));123123124124/**125125+ * enum sndrv_compress_encoder125126 * @SNDRV_COMPRESS_ENCODER_PADDING: no of samples appended by the encoder at the126127 * end of the track127128 * @SNDRV_COMPRESS_ENCODER_DELAY: no of samples inserted by the encoder at the128129 * beginning of the track129130 */130130-enum {131131+enum sndrv_compress_encoder {131132 SNDRV_COMPRESS_ENCODER_PADDING = 1,132133 SNDRV_COMPRESS_ENCODER_DELAY = 2,133134};134135135136/**136136- * struct snd_compr_metadata: compressed stream metadata137137+ * struct snd_compr_metadata - compressed stream metadata137138 * @key: key id138139 * @value: key value139140 */