From: Vinod Koul Date: Wed, 13 Nov 2019 11:34:33 +0000 (+0530) Subject: sound: update header for FLAC X-Git-Tag: v1.2.2~3 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=23a382f534f4e97da5e83ffa861ff8bf0540fb16;p=tinycompress.git sound: update header for FLAC Signed-off-by: Vinod Koul --- diff --git a/include/sound/compress_params.h b/include/sound/compress_params.h index 7286556..497ba0d 100644 --- a/include/sound/compress_params.h +++ b/include/sound/compress_params.h @@ -201,12 +201,21 @@ struct snd_enc_generic { __s32 reserved[15]; }__attribute__((packed, aligned(4))); +struct snd_dec_flac { + __u16 sample_size; + __u16 min_blk_size; + __u16 max_blk_size; + __u16 min_frame_size; + __u16 max_frame_size; +} __attribute__((packed, aligned(4))); + union snd_codec_options { struct snd_enc_wma wma; struct snd_enc_vorbis vorbis; struct snd_enc_real real; struct snd_enc_flac flac; struct snd_enc_generic generic; + struct snd_dec_flac flac_d; }__attribute__((packed, aligned(4))); struct snd_codec_desc {