From ab6c1b353c044fac2c6a3badc269f611dbbb6660 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 29 Jul 2018 14:45:41 +1000 Subject: [PATCH] Update documentation. --- README.md | 6 +++--- mini_al.h | 14 +++++++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6b1d99cc..e9e97328 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,8 @@ Backends - ALSA - PulseAudio - JACK -- OSS +- audioio (NetBSD) +- OSS (FreeBSD) - OpenSL|ES (Android only) - OpenAL - SDL @@ -54,8 +55,7 @@ Do the following in one source file: #include "mini_al.h" ``` Then just compile. There's no need to install any dependencies. On Windows and macOS there's no need to link -to anything. On Linux, just link to -lpthread, -ldl and -lm. Link to -lossaudio on OpenBSD and NetBSD (FreeBSD -does not require linking to anything). +to anything. On Linux and BSD, just link to -lpthread, -lm and -ldl. Simple Playback Example diff --git a/mini_al.h b/mini_al.h index bb3cc95b..15c2982f 100644 --- a/mini_al.h +++ b/mini_al.h @@ -20,7 +20,8 @@ // - ALSA // - PulseAudio // - JACK -// - OSS +// - audioio (NetBSD) +// - OSS (FreeBSD) // - OpenSL|ES (Android only) // - OpenAL // - SDL @@ -65,8 +66,7 @@ // // Building for BSD // ---------------- -// The BSD build uses OSS. Requires linking to -lpthread and -lm. Also requires linking to -lossaudio on {Open,Net}BSD, -// but not FreeBSD. +// The BSD build only requires linking to -ldl, -lpthread and -lm. // // Building for Android // -------------------- @@ -26307,6 +26307,14 @@ mal_uint64 mal_sine_wave_read(mal_sine_wave* pSineWave, mal_uint64 count, float* // REVISION HISTORY // ================ // +// v0.8.4-rc - 2018-xx-xx +// - Add audioio backend for NetBSD. The OSS backend is no longer supported on NetBSD. +// - Mark some APIs as deprecated: +// - mal_src_set_input_sample_rate() and mal_src_set_output_sample_rate() are replaced with mal_src_set_sample_rate(). +// - mal_dsp_set_input_sample_rate() and mal_dsp_set_output_sample_rate() are replaced with mal_dsp_set_sample_rate(). +// - Fix some aliasing issues with resampling, specifically when increasing the sample rate. +// - Fix warnings. +// // v0.8.3 - 2018-07-15 // - Fix a crackling bug when resampling in capture mode. // - Core Audio: Fix a bug where capture does not work.