User Tools

Site Tools


doc:appunti:hardware:raspberrypi_nas_audio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
doc:appunti:hardware:raspberrypi_nas_audio [2021/03/10 15:39] – [Raspberry Pi 4 audio hardware] niccolodoc:appunti:hardware:raspberrypi_nas_audio [2021/03/18 10:44] niccolo
Line 30: Line 30:
 ==== Using an externa USB sound card ==== ==== Using an externa USB sound card ====
  
 +{{ .:raspberrypi:raspberry-pi-usb-audio-cable.jpg?180|USB sound card with RCA connectors and cable}}
 For a decent audio quality, I decided that  the only acceptable solution is to relay on an external USB sound card connected to my stereo amplifier. I choosed a model based on the **C-Media Electronics** chip (USB Id **0d8c:0024**), which comes with two standard RCA connectors. The device is compatible with ALSA so the Pulseaudio system can select it per default, setting the following in **/etc/pulse/client.conf**: For a decent audio quality, I decided that  the only acceptable solution is to relay on an external USB sound card connected to my stereo amplifier. I choosed a model based on the **C-Media Electronics** chip (USB Id **0d8c:0024**), which comes with two standard RCA connectors. The device is compatible with ALSA so the Pulseaudio system can select it per default, setting the following in **/etc/pulse/client.conf**:
  
Line 164: Line 165:
   * **[[https://superuser.com/questions/1274901/systemd-forking-vs-simple/|systemd forking vs simple?]]**   * **[[https://superuser.com/questions/1274901/systemd-forking-vs-simple/|systemd forking vs simple?]]**
  
-==== Use PulseAudio with Kodi ====+===== Use PulseAudio with Kodi =====
  
 With the PulseAudio running as a system service, you can start Kodi and go to **Settings** => **System** => **Audio** = **Audio output device** and select **PULSE: Default**. Here you can also switch between HDMI and stereo jack: With the PulseAudio running as a system service, you can start Kodi and go to **Settings** => **System** => **Audio** = **Audio output device** and select **PULSE: Default**. Here you can also switch between HDMI and stereo jack:
Line 191: Line 192:
 The **mpd** user must be addedd to the relevant groups: **audio**, **pulse** and **pulse-access**.  The **mpd** user must be addedd to the relevant groups: **audio**, **pulse** and **pulse-access**. 
  
 +===== Web References =====
 +
 +  * **[[https://kodi.wiki/view/PulseAudio|Kodi with PulseAudio]]**
 +  * **[[https://gist.github.com/bheisig/bf1a13a05cdb6a12ee805b00dc6d90bb|PulseAudio for Kodi, MPD and remote access on a Ubuntu host]]**
  
doc/appunti/hardware/raspberrypi_nas_audio.txt · Last modified: 2021/03/22 09:27 by niccolo