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
5f1fe8ea
Commit
5f1fe8ea
authored
May 21, 2020
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Experiment with a menu in the readme.
parent
f08171dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
7 deletions
+18
-7
README.md
README.md
+18
-7
No files found.
README.md
View file @
5f1fe8ea
...
@@ -9,8 +9,18 @@
...
@@ -9,8 +9,18 @@
<a
href=
"https://discord.gg/9vpqbjU"
><img
src=
"https://img.shields.io/discord/712952679415939085?label=discord&logo=discord"
alt=
"discord"
></a>
<a
href=
"https://discord.gg/9vpqbjU"
><img
src=
"https://img.shields.io/discord/712952679415939085?label=discord&logo=discord"
alt=
"discord"
></a>
</p>
</p>
Features
<p
align=
"center"
>
========
<a
href=
"#features"
>
Features
</a>
-
<a
href=
"#supported-platforms"
>
Supported Platforms
</a>
-
<a
href=
"#backends"
>
Backends
</a>
-
<a
href=
"#building"
>
Building
</a>
-
<a
href=
"#example"
>
Example
</a>
-
<a
href=
"#decoding"
>
Decoding
</a>
-
<a
href=
"#unofficial-bindings"
>
Unofficial Bindings
</a>
</p>
# Features
-
Liberally licensed, with your choice of either public domain or MIT No Attribution for those regions who don't
-
Liberally licensed, with your choice of either public domain or MIT No Attribution for those regions who don't
recognize public domain.
recognize public domain.
-
Everything is implemented in a single file for easy integration into your source tree.
-
Everything is implemented in a single file for easy integration into your source tree.
...
@@ -87,7 +97,7 @@ Backends
...
@@ -87,7 +97,7 @@ Backends
Building
Building
======
======
==
Do the following in one source file:
Do the following in one source file:
```
c
```
c
#define MINIAUDIO_IMPLEMENTATION
#define MINIAUDIO_IMPLEMENTATION
...
@@ -98,8 +108,9 @@ to anything. On Linux just link to -lpthread, -lm and -ldl. On BSD just link to
...
@@ -98,8 +108,9 @@ to anything. On Linux just link to -lpthread, -lm and -ldl. On BSD just link to
need to compile as Objective-C.
need to compile as Objective-C.
Simple Playback Example
Example
=======================
=======
This example shows how to decode and play a sound.
```
c
```
c
#define DR_FLAC_IMPLEMENTATION
#define DR_FLAC_IMPLEMENTATION
...
@@ -174,8 +185,8 @@ int main(int argc, char** argv)
...
@@ -174,8 +185,8 @@ int main(int argc, char** argv)
```
```
MP3/Vorbis/FLAC/WAV
Decoding
Decoding
========
====================
========
miniaudio includes a decoding API which supports the following backends:
miniaudio includes a decoding API which supports the following backends:
-
FLAC via
[
dr_flac
](
https://github.com/mackron/dr_libs/blob/master/dr_flac.h
)
-
FLAC via
[
dr_flac
](
https://github.com/mackron/dr_libs/blob/master/dr_flac.h
)
-
MP3 via
[
dr_mp3
](
https://github.com/mackron/dr_libs/blob/master/dr_mp3.h
)
-
MP3 via
[
dr_mp3
](
https://github.com/mackron/dr_libs/blob/master/dr_mp3.h
)
...
...
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