miniaudio
Audio playback and capture library written in C, in a single source file. (by mackron)
cubeb
Cross platform audio library (by mozilla)
miniaudio | cubeb | |
---|---|---|
27 | 10 | |
3,640 | 428 | |
- | 0.5% | |
8.1 | 8.1 | |
9 days ago | 8 days ago | |
C | C++ | |
GNU General Public License v3.0 or later | ISC License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
miniaudio
Posts with mentions or reviews of miniaudio.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-30.
- MiniAudio.h: single-file audio playback and capture library for C and C++
-
Amiga/Linux: Jurassic Boing Edition
Unfortunately, I can't currently capture any videos (I added miniaudio.h to play back the Jurassic Park theme song) since I had to move my mom into my home (she's getting a divorce from her narcissistic husband soon and the guy lost his marbles and locked her out of her own home) and it's late at night currently.
-
Audio Library
miniaudio - so far the best entry in cross platform audio. It is a stack allowing to use device alone, decoders and mixers, or node based engine for sophisticated audio processing. Extensible where it should be. Written in C, so there are no creature comforts of having C++. Aways can be wrapped to get advantage of RAII.
-
Implementing libraries
So, I wanna implement this library to the source engine. Is that possible? And also, since source is based on SDL, is it possible for me to implement Nuklear on my source game?
-
Simple High-Level Audio APIs
The most straightforward lib for this is miniaudio. It's straightforward,l to use and easy to integrate into a build system.
-
Dunno if anyone else will find this useful
You give little clues what this is… so cl-miniaudio defines CFFI bindings to https://miniaud.io/ which is "an audio playback and capture library for C and C++. It's made up of a single source file, has no external dependencies and is released into the public domain." and is cross-platform.
-
Title: Release: miniaudio version 0.11.12
Get the update on GitHub: https://github.com/mackron/miniaudio
-
Nuklear – A single-header ANSI C immediate mode cross-platform GUI library
* Miniaudio - A single header file audio library https://miniaud.io/
Both (actually, not just three systems) cross-platform.
For their design and cross-platform support they make for great bases for Go libraries, unlike most C code out there.
- What's the best audio library for c++?
-
Simple way to interface with Windows 10 audio in C (not C++)?
I've used this library before: https://miniaud.io/
cubeb
Posts with mentions or reviews of cubeb.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-05.
- PipeWire Support in Firefox
-
xbps-src ARM: glslangValidator: cannot execute binary file: Exec format error
# Template file for 'yuzu-mainline' pkgname=yuzu-mainline version=1295 revision=1 _cubeb_version=75d9d125ee655ef80f3bfcd97ae5a805931042b8 _sanitizers_cmake_version=aab6948fa863bc1cbe5d0850bc46b9ef02ed4c1a _dynarmic_version=bd570e093ca1d1206961296b90df65cda7de8e87 _sirit_version=d7ad93a88864bda94e282e95028f90b5784e4d20 _mbedtls_version=8c88150ca139e06aa2aae8349df8292a88148ea1 _xbyak_version=348e3e548ebac06d243e5881caec8440e249f65f _SDL_version=f17058b562c8a1090c0c996b42982721ace90903 _cpp_jwt_version=e12ef06218596b52d9b5d6e1639484866a8e7067 _cpp_httplib_version=305a7abcb9b4e9e349843c6d563212e6c1bbbf21 _Vulkan_Headers_version=00671c64ba5c488ade22ad572a0ef81d5e64c803 create_wrksrc=yes build_wrksrc=${pkgname}-mainline-0-${version} build_style=cmake configure_args="-DYUZU_CHECK_SUBMODULES=OFF -DYUZU_TESTS=OFF -DSIRIT_USE_SYSTEM_SPIRV_HEADERS=ON" hostmakedepends="pkg-config qt5-host-tools qt5-qmake clang" makedepends="fmt-devel libenet-devel inih-devel libusb-devel liblz4-devel opus-devel zlib-devel libzstd-devel boost-devel qt5-devel qt5-multimedia-devel libva-devel ffmpeg-devel glslang-devel SPIRV-Headers catch2 json-c++ speexdsp-devel" short_desc="Nintendo Switch Emulator" maintainer="Owen Law " license="GPL-3.0-or-later" homepage="https://github.com/yuzu-emu/yuzu-mainline" changelog="${homepage}/releases/tag/mainline-0-${version}" distfiles="${homepage}/archive/refs/tags/mainline-0-${version}.tar.gz https://github.com/herumi/xbyak/archive/${_xbyak_version}.tar.gz https://github.com/MerryMage/dynarmic/archive/${_dynarmic_version}.tar.gz https://github.com/yuzu-emu/mbedtls/archive/${_mbedtls_version}.tar.gz https://github.com/mozilla/cubeb/archive/${_cubeb_version}.tar.gz https://github.com/arsenm/sanitizers-cmake/archive/${_sanitizers_cmake_version}.tar.gz https://github.com/yuzu-emu/sirit/archive/${_sirit_version}.tar.gz https://github.com/libsdl-org/SDL/archive/${_SDL_version}.tar.gz https://github.com/arun11299/cpp-jwt/archive/${_cpp_jwt_version}.tar.gz https://github.com/yhirose/cpp-httplib/archive/${_cpp_httplib_version}.tar.gz https://github.com/KhronosGroup/Vulkan-Headers/archive/${_Vulkan_Headers_version}.tar.gz" checksum="b8b2616a24653352b8afd145ee46eb9ead07c6ef3aff8c0ff3a6225b381b4b85 fbe54fc881cdfb0876ddc8f29f74674a311ba7ae4b774751cb1b637c043e3bae 170530852547ee2f5517b0a12e643646e51a9974414084d389a85632df7c4518 8d3553ea5c3b47789c5a1a6437f948525d0a8ce2a0897000a36b511000c6bad4 8c5b7ca55ee586a3e5e63de2d31c319045f92e949140a734846a0d69ad342e2e 9f5b073625375322236a94ce8d2d803cdedad321c91e63845f487b9ebfb2c433 6612f924d1f2b2c7cb37effcda5d78550fad276887ee8f9bc391b9ecbf9e4a64 2a149e79712027d2d8141e3233df2f6679825b6f78237db3db72bc6cfc08b845 b4cc0e1f89d3c60a4dde74baa730a90de13c5dd5155b09d8dd34cd3205a6e758 61a97686b03edffa737c396f54e48da2ff0a04c3f6859ec9e80853aea6508030 99443e30caee5d2c0019de6549cc0c7c0432214494617da445753fc46374a7c3" post_extract() { mv "xbyak-${_xbyak_version}" xbyak cp -r xbyak "${build_wrksrc}/externals" mv "dynarmic-${_dynarmic_version}" dynarmic cp -r dynarmic "${build_wrksrc}/externals" mv "mbedtls-${_mbedtls_version}" mbedtls cp -r mbedtls "${build_wrksrc}/externals" mv "SDL-${_SDL_version}" SDL cp -r SDL "${build_wrksrc}/externals" mv "cubeb-${_cubeb_version}" cubeb mv "sanitizers-cmake-${_sanitizers_cmake_version}" sanitizers-cmake cp -r sanitizers-cmake cubeb/cmake cp -r cubeb "${build_wrksrc}/externals" mv "sirit-${_sirit_version}" sirit cp -r sirit "${build_wrksrc}/externals" mv cpp-jwt-${_cpp_jwt_version} cpp-jwt cp -r cpp-jwt ${build_wrksrc}/externals mv cpp-httplib-${_cpp_httplib_version} cpp-httplib cp -r cpp-httplib ${build_wrksrc}/externals mv Vulkan-Headers-${_Vulkan_Headers_version} Vulkan-Headers cp -r Vulkan-Headers ${build_wrksrc}/externals }
-
Media's audio playing around 4 seconds late
Open a new issue at https://github.com/mozilla/cubeb/issues and share the details of your Media section at about:support#media.
-
Bug with SoundblasterX G6, Firefox and WebApi
Hardware-related audio bugs can be directed here: https://github.com/mozilla/cubeb/issues.
-
Mozilla Firefox 100 release notes
Their resources are better focused on supporting the audio backend that most people use. They do apparently accept patches for ALSA support though.
-
[SpellForce 3] Cleaning up 200 population of gobbos + biggest Soul Harvest you've ever seen + Undead custom race = all you needed in your life
Full build thread here.
-
Audio Observation: Duolingo.com + AirPods Max
You can report the issue here.
-
Cross platform audio frameworks in Cpp?
https://github.com/mozilla/cubeb/wiki/Backend-Support inspires a lot of confidence, because it means they pay attention to what the state of support is. FF is probably a bigger and better-maintained user than all the portaudio users combined. The major backends being Rust is a downside if I'll need to pull in Rust standard libraries. But there's no docs, and the knowledge is held by individuals within Mozilla. People before have had trouble extracting cubeb out for use by third parties.
What are some alternatives?
When comparing miniaudio and cubeb you can also consider the following projects:
portaudio - PortAudio is a cross-platform, open-source C language library for real-time audio input and output.
libsoundio - C library for cross-platform real-time audio input and output
soloud - Free, easy, portable audio engine for games
ffmpeg-kit - Fork of https://github.com/arthenica/ffmpeg-kit
SDL - Simple Directmedia Layer
cdecrypt - Decrypt Wii U NUS content — Forked from: https://code.google.com/archive/p/cdecrypt/
yuzu-mainline
raylib-php - PHP 8 Bindings to raylib
mbedtls - An open source, portable, easy to use, readable and flexible SSL library