home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1999 February / PCO_0299.ISO / filesbbs / linux / mikmod-3.000 / mikmod-3 / mikmod-3.1.2 / README.ALSA < prev    next >
Encoding:
Text File  |  1998-12-07  |  2.2 KB  |  54 lines

  1. NOTE: This document only describes the ALSA specific
  2. information you need to know. Read README as well.
  3.  
  4. Using MikMod with the ALSA driver
  5. -----------------------------------
  6.  
  7. 0. Description
  8.  
  9. The Advanced Linux Sound Architecture (ALSA) project aims to provide
  10. better sound facilities than the current OSS drivers. Although it is
  11. still in beta, it appears to be very stable and very easy to program
  12. compared to the OSS.
  13. Besides, it works much better than OSS for Gravis-type soundcards.
  14.  
  15. You can find more information on ALSA on the web :
  16. http://alsa.jcu.cz
  17.  
  18. 1. Warning
  19.  
  20. The Advanced Linux Sound Architecture (ALSA) is still in beta, and may
  21. change slightly until it reaches the 1.0 release. Thus, this MikMod
  22. version might not work with future versions of ALSA.
  23. The version of the MikMod ALSA driver coincides with the latest ALSA
  24. release available when this version of MikMod was released ; for the
  25. 3.1.2 release, these are alsa driver v0.2.0-pre10p2 and alsa C library
  26. v0.1.3.
  27.  
  28. 2. Usage
  29.  
  30. In the driver list obtained by running "mikmod -l", the ALSA driver
  31. should appear before OSS (if not, you'll get the not-so-fast OSS
  32. emulation done by ALSA). This will be the case if you don't change the
  33. library sources. If the ALSA driver is not the first one, you'll have to
  34. use the -d option to tell MikMod you want to use the ALSA driver.
  35. For example, if the ALSA driver is the second, simply add "-d2" to your
  36. usual MikMod options.
  37. By default under Linux, if you don't change the library sources, the
  38. only driver which can be before the ALSA driver is the Enlightened Sound
  39. Daemon driver, so if you didn't compile it or if the daemon is not
  40. launched, the ALSA driver will be used without requiring the "-d" option.
  41.  
  42. If the sound comes out jerky, you can use the environment variable
  43. MM_NUMFRAGS to tweak the ALSA driver settings. The default value (if this
  44. variable is not set) is 4 ; the slower your machine is, the greater this
  45. value has to be, but the allowed range is 2 to 16. However, the ALSA
  46. generally finds good settings for your configuration, so I doubt you'll
  47. have to use this variable.
  48.  
  49. 3. Remarks
  50.  
  51. If you compile MikMod with both ALSA and OSS drivers, it will be usable
  52. without problems on both ALSA and non-ALSA systems. Simply make sure that
  53. you link with the static libasound.
  54.