Skip to content

CuriousTama/AudioPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Audio Player

Audio Player is a library for Windows platform using XAudio2 2D and 3D.
Supported audio files extensions are .wav, .ogg, .mp3.

C++20 is prerequisite for successfully compile.

Documentation

You have access to some tutorials here.
You can also find the source code of audio player and a quick example program made with it.

About this project

This project is a project done between two years of school.
I started this project on a whim without knowing a lot about audio programming, so I learn on the job.

Goal :

  • Make an audio player library that support some base sound formats and the user can extend it without modifying the base code.

Problem encounters and how I have resolved them :

  • Process correctly Ogg and Mp3 files : use some dependencies.
  • 3D Sound : Documentation.

What I've learned :

  • WAV files structure.
  • Export libraries.
  • Reinforced multi-threading knowledge.
  • Reinforced knowledge of the window library.
  • Reinforced file reading knowledge.
  • Clearly comment the code.

Additional Note

With mid 2024 update I reworked how the code work, so no backward compatibility.
It was necessary for a way better readability, maintainability, memory management and to clean a lot of bad practices that was in there.