Replies: 1 comment 5 replies
-
There's a suite of defines you can use to eliminate parts of the code, but the main one you're after is probably However, if you're looking at miniaudio just for resampling, you might actually want to consider looking elsewhere for that. The miniaudio resampler is just a simple linear resampler with a low-pass filter for anti-aliasing (the LPF stuff can be configured). I make no claims on it being particularly good quality or fast. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am writing a program where I want to support a headless environment (= no desktop libraries, including no audio libraries and no graphics libraries). However, I am looking for a decent baseline audio resampler.
Is it possible to compile miniaudio somehow in a way that never accesses, links, loads any sort of system or sound library other than the C API while still offering access to the resampler? Like miniz for example offers
#define MINIZ_NO_STDIO
to get the pure compression functionality in memory without touching any file input or output.Beta Was this translation helpful? Give feedback.
All reactions