sample_size field in snd_dec_flac structure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: alsa-devel@xxxxxxxxxxxxxxxx
- Subject: sample_size field in snd_dec_flac structure
- From: Carlos Rafael Giani <crg7475@xxxxxxxxxxx>
- Date: Mon, 6 Feb 2023 15:47:48 +0100
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".
[Index of Archives]
[ALSA User]
[Linux Audio Users]
[Pulse Audio]
[Kernel Archive]
[Asterisk PBX]
[Photo Sharing]
[Linux Sound]
[Video 4 Linux]
[Gimp]
[Yosemite News]