Waveshare wm8960 audio hat

This page describe how to configure this device on Recalbox

Introduction

This is the WM8960 Hi-Fi Sound Card HAT For Raspberry Pi. https://www.waveshare.com/wm8960-audio-hat.htm​

This is a sound card HAT designed for Raspberry Pi, low power consumption, supports stereo encoding / decoding, features Hi-Fi playing / recording, what's more, it can directly drive speakers to play music.

Since the 7.01 Recalbox release, this audio hat is supported thanks to a small configuration.

Waveshare wm8960 audio hat bundle
Waveshare wm8960 audio hat mounted on a Raspberry Pi

Configuration

You need to modify the /boot/config.txt file as follows to add support for this new hardware an overlay and the activation of the I2C bus. To do this we pass the partitions to write :

mount -o remount, rw /boot

then edit the file /boot/config.txt and add the following at the end of the file using nano :

dtparam=i2c1=on
dtparam=i2c_arm=on
dtoverlay=wm8960-soundcard

Just save the file and reboot. That 's it.

Using the wm8960 audio output

In Emulationstation, go to the menu Sound Settings, and select one of the WM8960 device. After selecting, you sould hear the music through the speakers.

Sound output selection in EmulationStation
Sound output selection in EmulationStation