meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:alsa [2016/03/29 11:32] – created niziak | linux:alsa [2016/03/29 12:13] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Alsa ====== | ====== Alsa ====== | ||
| - | ===== asound.conf ===== | + | Official Alsa pages: | 
| + |   * [[http:// | ||
| + |   * [[http:// | ||
| + |   * [[http:// | ||
| + | |||
| + | Very precious notes from users: | ||
| + |   * [[http:// | ||
| + |   * [[http:// | ||
| + | |||
| + | ===== asoundrc / asound.conf ===== | ||
| By default sound is processed through dmix plugin which handles rate and channels conversion. | By default sound is processed through dmix plugin which handles rate and channels conversion. | ||
| + | |||
| + | |||
| ==== Plugin: hw ==== | ==== Plugin: hw ==== | ||
| Line 15: | Line 27: | ||
| </ | </ | ||
| With settings above, there is no possiblity to play mono sound (channel=1), | With settings above, there is no possiblity to play mono sound (channel=1), | ||
| + | |||
| + | Change default card: | ||
| + | < | ||
| + | pcm.!default { | ||
| + | type hw | ||
| + | card 1 | ||
| + | device 3 | ||
| + | } | ||
| + | |||
| + | ctl.!default { | ||
| + | type hw | ||
| + | card 1 | ||
| + | device 3 | ||
| + | } | ||
| + | </ | ||
| ==== Plguin: plug ==== | ==== Plguin: plug ==== | ||
| Line 28: | Line 55: | ||
| } | } | ||
| </ | </ | ||
| + | There might be problems with some programs though. Some applications always try to open a control device with the same name as the pcm device they are given, so you may also need to create a dummy control device with the same name: | ||
| + | < | ||
| + | ctl.!default { | ||
| + | type hw | ||
| + | card 0 | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ==== Plugin: asym ==== | ||
| + | asym is an ALSA PCM plugin that combines half-duplex PCM plugins like dsnoop and dmix into one full-duplex device. | ||
| + | [[http:// | ||
| + | |||
| + | ==== Plugin: dmix ==== | ||
| + | PCM plugins extend the functionality of PCM devices allowing low-level sample conversions and copying between channels, files and soundcard devices. The dmix plugin provides for direct mixing of multiple streams. | ||
| + | [[http:// | ||