sample_size field in snd_dec_flac structure
Carlos Rafael Giani
crg7475 at mailbox.org
Mon Feb 6 15:47:48 CET 2023
In snd_dec_flac (see:
https://github.com/torvalds/linux/blob/master/include/uapi/sound/compress_params.h#L291
), there is the sample_size field.
It seems to me that this is meant to contain the same value as the
sample size as the one in the frame header:
https://xiph.org/flac/format.html#frame_header
Does this mean that if I always send a full FLAC stream into the device,
with its complete STREAMINFO header, I can just always set sample_size
to 0? The spec does mention that 0 mean "get [the sample size] from
STREAMINFO metadata block".
More information about the Alsa-devel
mailing list