Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
miniaudio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
miniaudio
Commits
ab6c1b35
Commit
ab6c1b35
authored
Jul 29, 2018
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update documentation.
parent
498f2610
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
README.md
README.md
+3
-3
mini_al.h
mini_al.h
+11
-3
No files found.
README.md
View file @
ab6c1b35
...
...
@@ -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
...
...
mini_al.h
View file @
ab6c1b35
...
...
@@ -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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment