je suis en train de faire une config multimédia pour ma mère. Comme la vieille bécane n’avait pas de sortie HDMI je lui ai ajouté une carte nvidia et du coup je me retrouve avec 2 cartes son (hdmi + interne). Comme ma mère a des supers enceintes bang olupsen qui lui servent à rien je suis en train de tenter de les utiliser en plus des hauts parleurs du téléviseur pour faire du surround 4.0.
J’ai donc ajouté les lignes suivantes à /etc/pulse/default.pa
Et ça marche! Seul problème: la carte interne (configurée pour les speakers arrières) donne le son trop tôt. Cela crée un décalage avec les canaux avants, comme un echo (environ 1 sec). J’ai fait plein de recherches, pas moyen de trouver comment régler ça… Une idée?
« In equidistant intervals the sample rates of the output sinks is recalculated»
adjust_time
Time in seconds when to readjust the sample rate of all sinks
Essayer avec un délai moindre en adjust_time comme 5 secondes au lieu de Default: 10.
resample_method
Resampling algorithm
Renvoie vers
$ man pulse-daemon.conf
resample-method= The resampling algorithm to use. Use one of src-sinc-best-quality, src-sinc-medium-quality, src-sinc-fastest, src-
zero-order-hold, src-linear, trivial, speex-float-N, speex-fixed-N, ffmpeg. See the documentation of libsamplerate and speex for
explanations of the different src- and speex- methods, respectively. The method trivial is the most basic algorithm implemented. If
you're tight on CPU consider using this. On the other hand it has the worst quality of them all. The Speex resamplers take an inte‐
ger quality setting in the range 0..10 (bad...good). They exist in two flavours: fixed and float. The former uses fixed point num‐
bers, the latter relies on floating point numbers. On most desktop CPUs the float point resampler is a lot faster, and it also
offers slightly better quality. See the output of dump-resample-methods for a complete list of all available resamplers. Defaults
to speex-float-1. The available resamplers. Defaults to speex-float-1 on most achitectures and speex-fixed-1 on ARM. The --resam‐
ple-method command line option takes precedence. Note that some modules overwrite or allow overwriting of the resampler to use.
Ce dernier renvoie vers
See the output of dump-resample-methods for a complete list of all available resamplers …
Exemple chez moi.
$ pulseaudio --dump-resample-methods