Re: pulseaudio / alc1220 sound clicks interruptions etc

From: Tomek CEDRO <tomek_at_cedro.info>
Date: Tue, 03 Jun 2025 20:59:19 UTC
On Tue, Jun 3, 2025 at 7:27 AM Vasily Postnicov <shamaz.mazum@gmail.com> wrote:
> Hello! My 50 cents: a human ear cannot tell the difference between 44.1kHz/16bps and 192kHz/32bps, given all other factors are equal. FreeBSD's kernel does rate / format conversion[1] to dev.pcm.X.play.vchanrate / dev.pcm.X.play.vchanformat if dev.pcm.X.play.vchanmode is fixed or tries to adapt hardware rate / format to what you are trying to play if vchanmode is adaptive. Your hardware and driver must support that sample rate and format, of course.
>
> The driver module reports supported sample rates and formats by implementing channel_getcaps method. You can check your driver to see if it actually supports what you want to get.
>
> [1] See /usr/src/sys/dev/sound/pcm/feeder_rate.c and /usr/src/sys/dev/sound/pcm/feeder_format.c

Well it is possible to set 32-bit 192kHz for this ALC1220 and it plays
okay on OSS, until I start Xorg with nvidia driver and play sounds
over PulseAudio. Visual stuff also seems to have tiny hangs but these
are less annoying than constantly popping sound which is unbearable
after some days even for the most patient ones :-) There may be
different problem underneath as I also noticed all onboard USB ports
hangs occasionally, so there are timings relates issues somewhere irqs
maybe, and these micro-freezes are correlated with application
operations (i.e. desktop switches, programs loading, etc).

On the subjective side, you can hear clear difference between 1000Hz
and 1001Hz sound, also I can hear difference between 44.1k and 48k,
you can also notice difference between 16 and 24 bit sound in
softness, I can live without 32-bit sound and 192k but if the card has
it why not use it. You can hear the difference when playing music and
listening to a podcast for instance, audio params are also very
important for mixing and the final result, so I live with 1-bit
terminal graphics I really like good sound because I always listen to
music while working this gives or steals my focus for some reason :D

Thanks :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info