The iec-> counter variable is important because it controls position of the Z marker (start of audio block) in the IEC958 format. First channel 0 sample after xrun recovery should have that (i.e. control = 0 to start with after recovery).
But IMO the counter gets reset correctly at xrun recovery by calling snd_pcm_prepare https://lore.kernel.org/alsa-devel/7c66 ... d6217d1fa6 .
But IMO the counter gets reset correctly at xrun recovery by calling snd_pcm_prepare https://lore.kernel.org/alsa-devel/7c66 ... d6217d1fa6 .
Statistics: Posted by phofman — Thu Feb 01, 2024 9:18 am