doc:appunti:linux:sa:mpd
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:sa:mpd [2012/08/17 14:24] – [Sistema audio ALSA] niccolo | doc:appunti:linux:sa:mpd [2012/08/17 15:14] (current) – [Test MP3] niccolo | ||
|---|---|---|---|
| Line 106: | 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 '' | ||
| + | |||
| + | ==== Test MP3 ==== | ||
| + | |||
| + | Dopo che il sistema Alsa è stato configurato e collaudato, è possibile testare il funzionamento del decoding mp3: | ||
| + | |||
| + | < | ||
| + | mpg321 -o alsa track001.mp3 | ||
| + | </ | ||
| + | |||
| + | nel nostro caso specifico ci sono dei problemi di qualità: l' | ||
| ===== MP Client ===== | ===== MP Client ===== | ||
doc/appunti/linux/sa/mpd.1345206244.txt.gz · Last modified: by niccolo
