Skip to content

A powerful audio library designed to abstract away writing audio code at 0 cost. Spend time coding your dream project, not the audio.

License

Notifications You must be signed in to change notification settings

RandomGamingDev/EzAL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EzAL

A powerful audio library designed to abstract away writing audio code at 0 cost. Spend time coding your dream project, not the audio.

There currently isn't any direct documentation since the header files + OpenAL documentation should be enough since EzAL is designed to be very very similar to them except C++ and with an extra layer so that different APIs can be used too.

First, clone this project with git and using the --recursive argument. Compile this with CMake. (This comes with a demo of how to use this in EzALExe, for which you'll have to create a test.ogg file in the directory next to the executable for it to play)

The default audio library for this is openal-soft.

To choose a different audio library change target_compile_definitions(EzAL PUBLIC OPENAL) on EzAL/EzAL/CMakeLists.txt line 8 to the one you want. (Sadly, EzAL only supports openal-soft, but I'm glad to accept additions to EzAL for new audio libraries, among other things.

The current available audio libraries:
openal-soft

EzAL currently only works with .ogg files, but I'd be glad to accept support for different audio file types into EzAL.

EzAL's structure is based on OpenAL.

Thanks to Code, Tech, and Tutorials for some of the code!
You can find their channel here: https://www.youtube.com/c/CodeTechandTutorials
the video for it here: https://www.youtube.com/watch?v=kWQM1iQ1W0E
their github here: https://github.com/codetechandtutorials
and their code here: https://github.com/codetechandtutorials/openal-impl/releases/tag/vid1

About

A powerful audio library designed to abstract away writing audio code at 0 cost. Spend time coding your dream project, not the audio.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published