Skip to content

engine3d-dev/audio-cpp

Repository files navigation

audio-cpp

Overview

Modern C++ API around the mini audio C API

Getting Started

Tip

Before you build the project make sure to follow the setup instruction in the getting start page.

How to Build

To build you use the commands conan build. You use -b missing when building for the first-time.

-b missing tells conan to add any missing dependencies into the conan cache.

The full first-time build command looks like:

conan build . -b missing

The build command afterwards can be:

conan build .

Build Types

By default if you did conan build . compiles the project in release mode.

Refer to the getting start page for more info on build types

To set the build_type to Debug and MinSizeRel, you do build_type=Debug or build_type=MinSizeRel

The full command would look:

conan build . -s build_type=Debug

Building Demos

To build the demos you just type the commands:

conan build demos -s build_type=Debug

Running engine3d-audio demo

The executable will be located in your build directory.

The build directory is formatted as build/<build_type>/Executable

Example on unix systems

./build/Release/demo/demo Resources/BabyElephantWalk60.wav

Example in Win32

.\build\Release\demo\demo.exe Resources/BabyElephantWalk60.wav

About

Modern C++ wrapper around miniaudio's C API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published