Libretro is a simple but powerful development interface that allows you to easily create emulators, games, and multimedia applications that can plug straight into any libretro-compatible frontend. This development interface is open to others so that they can run these pluggable emulators and game cores in their own programs or devices also. Here, we will focus on the emulators of games that work with libretro. Libretro frontends and libretro cores are two different parts of implementing libretro emulators; we will build them separately in the upcoming sections.
In order to get audio when we play games, we can install
sdl relevant developing libraries like this:
sudo apt-get install libsdl1.2-dev ...