Skip to content

CoolLibs/Audio

Repository files navigation

Audio

Including

To add this library to your project, simply add these two lines to your CMakeLists.txt:

add_subdirectory(path/to/Audio)
target_link_libraries(${PROJECT_NAME} PRIVATE Cool::Audio)

Then include it as:

#include <Audio/Audio.hpp>

IMPORTANT: On MacOS, in order for your application to be able to access the microphone (when installing your app on end-users machines), you need to add this in your Info.plist file:

<key>NSMicrophoneUsageDescription</key>
<string>This app requires microphone access because [your reason here].</string>

See the documentation about this.

Running the tests

Simply use "tests/CMakeLists.txt" to generate a project, then run it.
If you are using VSCode and the CMake extension, this project already contains a .vscode/settings.json that will use the right CMakeLists.txt automatically.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published