[Mageia-dev] mageia sound tasks

Colin Guthrie mageia at colin.guthr.ie
Sun Jan 16 19:02:53 CET 2011


'Twas brillig, and Sascha Schneider at 21/12/10 21:06 did gyre and gimble:
> Wiki updated http://www.mageia.org/wiki/doku.php?id=soundstudio

Sorry I've been a little quiet of late. Email backlog + work commitments

I've added a comment to the wiki page about the suggestion of editing
/etc/sysconfig/pulseaudio. This file is more or less outdated now. I
should probably tidy things up and remove it.

Nowadays we use "Sound Profiles" which should be an ideal scenario to
allow you to package up various tweaks and tricks with symlinks and get
them activated automatically when the user switches to a different sound

The sound profiles are based on the alternatives system.

See: update-alternatives --display soundprofile

Ultimately you can read the current profile.conf here:


But to create a new profile, just the pulseaudio package. It's basically
just a matter of creating a folder /etc/sound/profiles/myprofile

When you register it with the alternatives system you give it a
priority. I would suggest that if the package containing the soundstudio
profile is not installed by default then it can have a higher priority
than the pulseaudio one, and thus automatically activate when installed.

Things like udev rules and such like could be installed by the package
but only activated when the profile is actually active (e.g. via
symlinks) - you may want to put dummy udev rules in place for the other
profiles too to make the symlinks always resolve.

Also disabling libcanberra (by exporting CANBERRA_DRIVER=null) would
also be sensible - event sounds and such like are obviously highly
pointless/evil when doing pro-audio work! Currently the driver is
changed via this mechanism for a pure alsa profile (CANBERRA_DRIVER=alsa).




Colin Guthrie

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

More information about the Mageia-dev mailing list