(07-11-2023, 11:28 AM)Tim Curtis Wrote: I'm not experiencing any glitches with Allo Boss PCM5122 DAC. Maybe it's the particular board u are using?
I had two HAT extensions based on PCM5122 at my disposal, the first one is Hifiberry DAC+, the second one is an extension with switched crystals 49.152MHz / 45.1584MHz (driver is Allo Boss). The problem is not related to the masteclock switching as Hifiberry does not have any additional logic between the Raspberry PI system and the PCM5122 chip. These glitches only occur when the audio signal level becomes silence. If there is even minimal noise in the audio stream, there are no glitches, just like the next two tracks are actually a continuous recording with an artificially determined division into tracks (e.g. a concert). This clearly indicates the detection of zero data in the stream from the I2S bus. Two different extensions, the use of different drivers suitable for the PCM5122 chip does not change the situation. Only a change to another extension with a different chip and then return to the extension with the PCM5122 chip - regardless of whether it's Hifiberry or the latter. Since then, these glitches are gone. Two different extensions, including one very simple in terms of layout, exclude a hardware problem in the extension - the probability of the same failure, the same error in two different systems is practically close to zero.
(07-11-2023, 11:28 AM)Tim Curtis Wrote: It would show up in the output of the amixer command along with the other chip options.
But that means adding scripts that will set additional parameters. This has one drawback - a new version and a job to be done again. A GUI interface would be ideal, but depending on the DAC chip used, there would be a different dialog box.
OK, I understand the reference to the creators of the kernel, but it means that, unfortunately, the chance to solve this problem will be negligible, after all, something is playing there, so it's OK. (Similar treatment of audio playback is in the case of KODI as for me permanent regression from version 17).
It's a pity because the only thing left to do is use the USB DAC. In this case, there is no problem with glitches, the problem of extremely "dirty" masterclock in the I2S bus of the Raspberry Pi is also eliminated.
PS: How to edit a signature? I don't see an option to edit it.