Re: [PATCH v2] ALSA: linear: Check frame count for all channels

From: Sreeraj S Kurup

Date: Fri Nov 06 2026 - 07:38:53 EST


Hi Takashi,

Thanks for reviewing.

I added this check because I thought the available frame count could potentially
differ between channels, similar to how the alignment is checked separately for
each channel under CONFIG_SND_DEBUG.

I understand that the ALSA plugin framework normally keeps the processed frame count
identical across all channels.

Is there any condition or exceptional case where the available frame count could differ
between channels? Or is it guaranteed to be identical by the plugin framework?

If it is guaranteed, I agree that this additional check is unnecessary.

Thanks for your guidance.

Best regards,
Sreeraj