home *** CD-ROM | disk | FTP | other *** search
- NOTE: This document only describes the ALSA specific
- information you need to know. Read README as well.
-
- Using MikMod with the ALSA driver
- -----------------------------------
-
- 0. Description
-
- The Advanced Linux Sound Architecture (ALSA) project aims to provide
- better sound facilities than the current OSS drivers. Although it is
- still in beta, it appears to be very stable and very easy to program
- compared to the OSS.
- Besides, it works much better than OSS for Gravis-type soundcards.
-
- You can find more information on ALSA on the web :
- http://alsa.jcu.cz
-
- 1. Warning
-
- The Advanced Linux Sound Architecture (ALSA) is still in beta, and may
- change slightly until it reaches the 1.0 release. Thus, this MikMod
- version might not work with future versions of ALSA.
- The version of the MikMod ALSA driver coincides with the latest ALSA
- release available when this version of MikMod was released ; for the
- 3.1.2 release, these are alsa driver v0.2.0-pre10p2 and alsa C library
- v0.1.3.
-
- 2. Usage
-
- In the driver list obtained by running "mikmod -l", the ALSA driver
- should appear before OSS (if not, you'll get the not-so-fast OSS
- emulation done by ALSA). This will be the case if you don't change the
- library sources. If the ALSA driver is not the first one, you'll have to
- use the -d option to tell MikMod you want to use the ALSA driver.
- For example, if the ALSA driver is the second, simply add "-d2" to your
- usual MikMod options.
- By default under Linux, if you don't change the library sources, the
- only driver which can be before the ALSA driver is the Enlightened Sound
- Daemon driver, so if you didn't compile it or if the daemon is not
- launched, the ALSA driver will be used without requiring the "-d" option.
-
- If the sound comes out jerky, you can use the environment variable
- MM_NUMFRAGS to tweak the ALSA driver settings. The default value (if this
- variable is not set) is 4 ; the slower your machine is, the greater this
- value has to be, but the allowed range is 2 to 16. However, the ALSA
- generally finds good settings for your configuration, so I doubt you'll
- have to use this variable.
-
- 3. Remarks
-
- If you compile MikMod with both ALSA and OSS drivers, it will be usable
- without problems on both ALSA and non-ALSA systems. Simply make sure that
- you link with the static libasound.
-