PulseAudio: Difference between revisions

imported>Cx405
Add fix for Creative sound cards. I am using it right now and it worked.
imported>Tobias.bora
No edit summary
Line 32: Line 32:


If other processes (such as <tt>plugin-container</tt>) are using sound devices, this indicates they are bypassing PulseAudio; check that you don't have a local <tt>~/.asoundrc</tt> file directing audio to somewhere else.
If other processes (such as <tt>plugin-container</tt>) are using sound devices, this indicates they are bypassing PulseAudio; check that you don't have a local <tt>~/.asoundrc</tt> file directing audio to somewhere else.
Note that you may need to enable the full pulseaudio package using:
<syntaxHighlight lang="nix">
hardware.pulseaudio.package = pkgs.pulseaudioFull;
</syntaxHighlight>
For example I had to enable this package in order to solve an error:
<syntaxHighlight lang="console">
snd_pcm_open failed: Device or resource busy
</syntaxHighlight>
(The problem is that also also tries to connect to the card that is already used by pulseaudio, so we need a module on pulseaudio to redirect also calls to pulseaudio)


==Explicit PulseAudio support in applications==
==Explicit PulseAudio support in applications==
Line 48: Line 62:
$ 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 ==
== Clicking and Garbled Audio for Creative Sound Cards ==