doc:appunti:linux:sa:mpd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:linux:sa:mpd [2012/08/17 14:22] – [Test ALSA] niccolo | doc:appunti:linux:sa:mpd [2012/08/17 14:52] – [Test ALSA] niccolo | ||
---|---|---|---|
Line 80: | Line 80: | ||
</ | </ | ||
+ | Il problema principale è che alla scheda audio **viene assegnato l' | ||
==== Test ALSA ==== | ==== Test ALSA ==== | ||
Line 105: | Line 106: | ||
</ | </ | ||
- | La soluzione | + | Lo stesso identico risultato si ottiene usando **'' |
+ | |||
+ | Anche il **mixer Alsa** non funziona alla prima: | ||
+ | |||
+ | < | ||
+ | alsamixer | ||
+ | cannot open mixer: No such file or directory | ||
+ | </ | ||
+ | |||
+ | La soluzione | ||
< | < | ||
+ | # Give an alias to PCM device hw:1,0 (card 1, device 0): | ||
+ | pcm.def_pcm { | ||
+ | type hw | ||
+ | card 1 | ||
+ | device 0 | ||
+ | } | ||
+ | # Default (virtual) PCM device goes through the " | ||
+ | # rate and channels resampling on-the-fly) to the real PCM device: | ||
pcm.!default { | pcm.!default { | ||
type plug | type plug | ||
slave { | slave { | ||
- | pcm " | + | pcm def_pcm |
} | } | ||
} | } | ||
+ | # Default control (e.g. for mixer) is card 1: | ||
+ | ctl.!default { | ||
+ | type hw | ||
+ | card 1 | ||
</ | </ | ||
Il file di configurazione vale per tutto il sistema, il singolo utente può crearsi un '' | Il file di configurazione vale per tutto il sistema, il singolo utente può crearsi un '' | ||
+ | |||
+ | |||
===== MP Client ===== | ===== MP Client ===== | ||
doc/appunti/linux/sa/mpd.txt · Last modified: 2012/08/17 15:14 by niccolo