PulseAudio: Difference between revisions
imported>Makefu m fix package name |
imported>Cx405 Add fix for Creative sound cards. I am using it right now and it worked. |
||
| Line 48: | Line 48: | ||
$ nix-shell -p python27Full python27Packages.pyqt4 python27Packages.dbus-python --command qpaeq | $ nix-shell -p python27Full python27Packages.pyqt4 python27Packages.dbus-python --command qpaeq | ||
</syntaxHighlight> | </syntaxHighlight> | ||
== Clicking and Garbled Audio for Creative Sound Cards == | |||
If you own a sound card from Creative like X-Fi and you notice random clicks during audio playback, then add following to your configuration [https://github.com/NixOS/nixpkgs/issues/788#issuecomment-21707426]: | |||
<syntaxHighlight lang="nix"> | |||
hardware.pulseaudio.configFile = pkgs.runCommand "default.pa" {} '' | |||
sed 's/module-udev-detect$/module-udev-detect tsched=0/' \ | |||
${pkgs.pulseaudio}/etc/pulse/default.pa > $out | |||
''; | |||
</syntaxHighlight> | |||
Then perform <code># nixos-rebuild switch</code>, followed by <code>$ pulseaudio -k</code>. | |||
The difference should be directly noticeable. This is a known issue related to quality of Creative driver [https://guh.me/solving-creative-sound-blaster-x-fi-titanium-crackling-slash-distortion-on-linux]. | |||
==See also== | ==See also== | ||