alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Tanu Kaskinen <tanuk@iki.fi>
To: alsa-devel <alsa-devel@alsa-project.org>
Subject: How to package the smixer modules?
Date: Mon, 07 Nov 2016 14:43:49 +0200	[thread overview]
Message-ID: <1478522629.1939.3.camel@iki.fi> (raw)

Hi all!

What do the smixer modules do? I mean these files:

/usr/lib/alsa-lib/smixer/smixer-ac97.so
/usr/lib/alsa-lib/smixer/smixer-hda.so
/usr/lib/alsa-lib/smixer/smixer-sbase.so

Should they always be shipped along with the main libasound library? I
maintain the alsa-lib package in OpenEmbedded, and currently
OpenEmbedded has separate packages for libasound and the smixer
modules, and I wonder if that's a good idea. It looks like the smixer
modules don't get installed by default when libasound is installed.
Debian, in contrast, ships the smixer modules in the libasound package.

After studying the source code a bit, it seems that the smixer modules
are dynamically loaded by the "simple mixer" interface of libasound.
I'm not familiar with the purpose of that interface. I don't know if
there are many applications that use that interface, and I don't know
if those applications that do use it suffer badly if the smixer modules
aren't installed.

-- 
Tanu

https://www.patreon.com/tanuk

             reply	other threads:[~2016-11-07 12:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07 12:43 Tanu Kaskinen [this message]
2016-11-08 14:39 ` How to package the smixer modules? Takashi Iwai
2016-11-09 14:39   ` Tanu Kaskinen
2016-11-14 10:38     ` Takashi Iwai
2016-11-14 14:44       ` Tanu Kaskinen
2016-11-14 15:22         ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1478522629.1939.3.camel@iki.fi \
    --to=tanuk@iki.fi \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).