Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brglng/libwave
A simple C library for reading/writing PCM wave (.wav) files
https://github.com/brglng/libwave
c wav
Last synced: 1 day ago
JSON representation
A simple C library for reading/writing PCM wave (.wav) files
- Host: GitHub
- URL: https://github.com/brglng/libwave
- Owner: brglng
- License: apache-2.0
- Created: 2014-09-09T10:12:12.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-11-17T07:55:22.000Z (2 months ago)
- Last Synced: 2025-01-21T18:10:20.971Z (9 days ago)
- Topics: c, wav
- Language: C
- Size: 188 KB
- Stars: 83
- Watchers: 9
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# libwave
libwave is a simple and tiny C library for reading or writing PCM wave (.wav)
files.## Build and Install
On Linux and macOS:
mkdir build
cd build
cmake [-DCMAKE_BUILD_TYPE=] ..
make
sudo make installOn Windows:
mkdir build
cd build
cmake ..
cmake --build .## CMake Support
Use `FetchContent`:
include(FetchContent)
FetchContent_Declare(libwave
GIT_REPOSITORY "https://github.com/brglng/libwave.git"
GIT_SHALLOW ON
)
FetchContent_MakeAvailable(libwave)
add_executable(yourprogram yourprogram.c)
target_link_libraries(yourprogram wave::wave)Use `add_subdirectory`:
add_subdirectory(libwave)
add_executable(yourprogram yourprogram.c)
target_link_libraries(yourprogram wave::wave)Use `find_package`:
find_package(wave)
add_executable(yourprogram yourprogram.c)
target_link_libraries(yourprogram wave::wave)