Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| raspberry_boards:raspi-sound-hat [2020/09/01 18:54] admin [Installation] | raspberry_boards:raspi-sound-hat [2020/09/01 19:25] (current) admin [Alsa Mixer Settings] | ||
|---|---|---|---|
| Line 77: | Line 77: | ||
| ==== Alsa Mixer Settings ==== | ==== Alsa Mixer Settings ==== | ||
| - | [[https://github.com/Audio-Injector/stereo-and-zero]]\\ | + | To enable the audio output: | 
| - | There are two reference alsa mixer files which will allow you to setup default output with either line input or microphone input : | + | $ amixer set 'Output Mixer HiFi' on | 
| - | Download: | + | Go into the folder: | 
| - | $ wget https://github.com/Audio-Injector/stereo-and-zero/archive/master.zip | + | $ cd stereo-and-zero-master/audio.injector.scripts-0.1/ | 
| - | Unpack it: | + | To setup the output run the following command: | 
| - | $ unzip master.zip | + | In combination with the microphone input: | 
| - | go into the folder: | + | |
| - | $ cd stereo-and-zero-master/ | + | |
| - | and run: | + | |
| $ alsactl --file asound.state.MIC.thru.test restore | $ alsactl --file asound.state.MIC.thru.test restore | ||
| + | or in combination with the lines input: | ||
| $ alsactl --file asound.state.RCA.thru.test restore | $ alsactl --file asound.state.RCA.thru.test restore | ||
| + | to check the alsa setting: | ||
| + | $ alsamixer | ||
| ---- | ---- | ||
