]> git.alsa-project.org Git - tinycompress.git/commitdiff
sound: update header for FLAC
authorVinod Koul <vkoul@kernel.org>
Wed, 13 Nov 2019 11:34:33 +0000 (17:04 +0530)
committerJaroslav Kysela <perex@perex.cz>
Wed, 19 Feb 2020 09:30:34 +0000 (10:30 +0100)
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/sound/compress_params.h

index 72865562fed6f41b786ce6fda6355f6310a03cb2..497ba0df8026616f8add26143866993e3ef644f3 100644 (file)
@@ -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 {