<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Start from
<a class="moz-txt-link-freetext" href="https://manpages.ubuntu.com/manpages/focal/man5/pulse-daemon.conf.5.html">https://manpages.ubuntu.com/manpages/focal/man5/pulse-daemon.conf.5.html</a>
, paying special attention to "<b style="box-sizing: inherit;
font-weight: bold;">DEFAULT</b><span> </span><b
style="box-sizing: inherit; font-weight: bold;">DEVICE</b><span> </span><b
style="box-sizing: inherit; font-weight: bold;">SETTINGS</b>".</p>
<p>If you upsample, say,16 bits up to 24 bits, you do not lose
quality. In fact, if several channels are mixed, e.g. two channels
from two different programs: sum = k1 * c1 + k2 * c2 , you gain
quality because of smaller rounding errors.</p>
<p>Anyway, define quality first. And realize that if channels being
simultaneously played have different sample rates, at least one of
them has to be resampled WRT sample frequency.<br>
</p>
<p>--Sergei.<br>
</p>
<div class="moz-cite-prefix">On 04/02/2023 1:25, MilS Lion wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJgcJ__7jki=V+2m+8K3Cc3T1Rvoi-BGtxU-kikYThDYL5fs6g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>HI.</div>
<div>Im having this issue:</div>
<div>I subscribed to Qobuz (an Hi-res audio quality).</div>
<div><br>
</div>
<div>I was using ALSA directly and with alsa, i just put this:</div>
<div>sudo cat /proc/asound/IQaudIODAC/pcm0p/sub0/hw_params </div>
<div><br>
</div>
<div>if it is a 16bit 44000Khz audio i get:<br>
access: MMAP_INTERLEAVED<br>
format: S16_LE<br>
subformat: STD<br>
channels: 2<br>
rate: 44000 (44000/1)<br>
period_size: 2160<br>
buffer_size: 8640</div>
<div><br>
</div>
<div>if it is a 24bit, 192Khz i get the adequate values.</div>
<div><br>
</div>
<div>But with PulseAudio how to be sure about the quality of the
audio?</div>
<div>if i put the same parameter (sudo cat
/proc/asound/IQaudIODAC/pcm0p/sub0/hw_params ) i always just
get the sample rate and format that i config in the
daemon.conf... it is not relevant if the audio is actually
16bit or 24 and the Khz are 44000 or 192000 or whatever. </div>
<div><br>
</div>
<div>So... there is a command to know exactly the quality that
is really playing?<br>
</div>
</div>
</blockquote>
</body>
</html>