Skip to content
/ RPAudio Public

A small audio lib using OpenAL, liboggvorbis and minimp3. Meant to be used in a small and simple game engine

License

Notifications You must be signed in to change notification settings

AnzoDK/RPAudio

Repository files navigation

RPAudio

Build Status:

  • Dev branch Build Status
  • Master branch Build Status

What is this?

  • This is a small audio library that as of now supports OggVorbis through the Vorbisfile library, wav through a simple selfmade wav reader and mp3 through the MiniMp3 lib. AudioDevice handling is done through OpenAL so it should be both Windows and Linux compatible.

Why bother?

  • Good question. The core idea is to provide a simple wrapper for OpenAL with a little extra functionallity and at the same time, I intend to use it for a small and simple game engine (mainly for 2D)

How to use

  • No clue - But for now you can test its capabilities with the included test program. Build the test program with the BuildTest.sh script. Now run RPtest. A terminal window will now popup and all you have to do is type the path of a either .wav .mp3 or .ogg file and it will play it back for you. Type exit to exit it. You can also call the program with -p <Path1> <Path2> <PathN>... to point to a audio file, that will be played. Use --debug to get a lot more info

IT WON'T COMPILE!!!

  • Then you may need the debian packages:
    • libogg-dev
    • libsndio-dev

Running Arch? (Nice)

  • Then you'll need:
    • openal
    • libogg
    • libvorbis On Arch you can also download the PKGBUILD (as usual check it for any errors before installing it) which is provided in this repo

About

A small audio lib using OpenAL, liboggvorbis and minimp3. Meant to be used in a small and simple game engine

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages