Skip to content

How It Works

tallbl0nde edited this page Oct 28, 2020 · 2 revisions

As you may know, TriPlayer consists of three separate components. These all work together to bring you a feature-rich audio player on your Switch:

  • Sysmodule
    • The sysmodule contains all the code required to read an audio file and decode/play the audio. It also runs an IPC server which is used by the application and overlay to interact with it and retrieve the playback status. It is the core of TriPlayer, silently running in the background doing nothing until requested. As it is constantly running (even while games are being played), it is what allows for playback regardless of what the Switch is currently doing. In short, it's where all the magic happens :)
  • Homebrew Application
    • The application is the next major component in this trio. It is responsible for parsing the audio files within /music and adding their metadata to the database for future retrieval via the application, overlay and sysmodule. It also is the only component that has the functionality to actually queue songs for playback as well as adjust the output volume among other things.
  • Overlay
    • The overlay is an optional component, as it only serves to make controlling playback easier without having to suspend the current game and open the application. That being said, it is still a part of the trio due to it heavily improving the user experience.
Clone this wiki locally