Commit 58989ea1 authored by David Reid's avatar David Reid

Update documentation.

parent a752a49c
...@@ -10,8 +10,10 @@ C/C++, single file, public domain. ...@@ -10,8 +10,10 @@ C/C++, single file, public domain.
Features Features
======== ========
- A very simple API. - Public domain
- Both synchronous and asynchronous APIs. - Single file
- A very simple API
...@@ -36,7 +38,7 @@ int main() ...@@ -36,7 +38,7 @@ int main()
mal_uint32 fragmentCount = 2; mal_uint32 fragmentCount = 2;
mal_device playbackDevice; mal_device playbackDevice;
if (mal_device_init_async(&playbackDevice, mal_device_type_playback, NULL, mal_format_f32, channels, sampleRate, fragmentSizeInFrames, fragmentCount) != MAL_SUCCESS) { if (mal_device_init(&playbackDevice, mal_device_type_playback, NULL, mal_format_f32, channels, sampleRate, fragmentSizeInFrames, fragmentCount) != MAL_SUCCESS) {
return -1; return -1;
} }
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment