diff --git a/docs/api/index.html b/docs/api/index.html index bee95148..cf069ddb 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -259,7 +259,7 @@ Coming soon...
- Copyright © 2020 David Reid
+ Copyright © 2021 David Reid
Developed by David Reid - mackron@gmail.com
diff --git a/docs/examples/custom_backend.html b/docs/examples/custom_backend.html index 0bd70f3d..a98932fc 100644 --- a/docs/examples/custom_backend.html +++ b/docs/examples/custom_backend.html @@ -1013,7 +1013,7 @@ Main program starts here.
- Copyright © 2020 David Reid
+ Copyright © 2021 David Reid
Developed by David Reid - mackron@gmail.com
diff --git a/docs/examples/fixed_size_callback.html b/docs/examples/fixed_size_callback.html index ea988516..00b57299 100644 --- a/docs/examples/fixed_size_callback.html +++ b/docs/examples/fixed_size_callback.html @@ -407,7 +407,7 @@ of data movement.

- Copyright © 2020 David Reid
+ Copyright © 2021 David Reid
Developed by David Reid - mackron@gmail.com
diff --git a/docs/examples/index.html b/docs/examples/index.html index 505ace52..a5e56e36 100644 --- a/docs/examples/index.html +++ b/docs/examples/index.html @@ -259,7 +259,7 @@ a.doc-navigation-l4 {
- Copyright © 2020 David Reid
+ Copyright © 2021 David Reid
Developed by David Reid - mackron@gmail.com
diff --git a/docs/examples/simple_capture.html b/docs/examples/simple_capture.html index 8c16b77e..cb1f89ea 100644 --- a/docs/examples/simple_capture.html +++ b/docs/examples/simple_capture.html @@ -336,7 +336,7 @@ data received by the microphone straight to a WAV file.

- Copyright © 2020 David Reid
+ Copyright © 2021 David Reid
Developed by David Reid - mackron@gmail.com
diff --git a/docs/examples/simple_duplex.html b/docs/examples/simple_duplex.html index 3cef3969..c1dec4e8 100644 --- a/docs/examples/simple_duplex.html +++ b/docs/examples/simple_duplex.html @@ -333,7 +333,7 @@ sample rate conversion for you automatically.

- Copyright © 2020 David Reid
+ Copyright © 2021 David Reid
Developed by David Reid - mackron@gmail.com
diff --git a/docs/examples/simple_enumeration.html b/docs/examples/simple_enumeration.html index 90c8325a..df538919 100644 --- a/docs/examples/simple_enumeration.html +++ b/docs/examples/simple_enumeration.html @@ -316,7 +316,7 @@ If you use device enumeration, you should explicitly specify the same context yo
- Copyright © 2020 David Reid
+ Copyright © 2021 David Reid
Developed by David Reid - mackron@gmail.com
diff --git a/docs/examples/simple_loopback.html b/docs/examples/simple_loopback.html index 48e8d464..02823cff 100644 --- a/docs/examples/simple_loopback.html +++ b/docs/examples/simple_loopback.html @@ -346,7 +346,7 @@ properties. The output buffer in the callback will be null whereas the input buf
- Copyright © 2020 David Reid
+ Copyright © 2021 David Reid
Developed by David Reid - mackron@gmail.com
diff --git a/docs/examples/simple_looping.html b/docs/examples/simple_looping.html index f541ee39..a50c2b40 100644 --- a/docs/examples/simple_looping.html +++ b/docs/examples/simple_looping.html @@ -335,7 +335,7 @@ decoder straight into ma_data_source_read_p
- Copyright © 2020 David Reid
+ Copyright © 2021 David Reid
Developed by David Reid - mackron@gmail.com
diff --git a/docs/examples/simple_mixing.html b/docs/examples/simple_mixing.html index aa22136b..e8b1a00a 100644 --- a/docs/examples/simple_mixing.html +++ b/docs/examples/simple_mixing.html @@ -460,7 +460,7 @@ For simplicity, this example requires the device to use floating point samples.
- Copyright © 2020 David Reid
+ Copyright © 2021 David Reid
Developed by David Reid - mackron@gmail.com
diff --git a/docs/examples/simple_playback.html b/docs/examples/simple_playback.html index 82f7868f..e93a997a 100644 --- a/docs/examples/simple_playback.html +++ b/docs/examples/simple_playback.html @@ -336,7 +336,7 @@ the simple_mixing example for how best to do this.

- Copyright © 2020 David Reid
+ Copyright © 2021 David Reid
Developed by David Reid - mackron@gmail.com
diff --git a/docs/examples/simple_playback_sine.html b/docs/examples/simple_playback_sine.html index 8159ceac..a2ecb8cf 100644 --- a/docs/examples/simple_playback_sine.html +++ b/docs/examples/simple_playback_sine.html @@ -356,7 +356,7 @@ This example works with Emscripten.

- Copyright © 2020 David Reid
+ Copyright © 2021 David Reid
Developed by David Reid - mackron@gmail.com
diff --git a/docs/index.html b/docs/index.html index 8f66df44..18187035 100644 --- a/docs/index.html +++ b/docs/index.html @@ -258,7 +258,7 @@ a.doc-navigation-l4 {
- Copyright © 2020 David Reid
+ Copyright © 2021 David Reid
Developed by David Reid - mackron@gmail.com
diff --git a/docs/manual/index.html b/docs/manual/index.html index 42d16708..c158b8b1 100644 --- a/docs/manual/index.html +++ b/docs/manual/index.html @@ -681,6 +681,11 @@ starts with Android 8 which means older versions will fall back to OpenSL|ES whi

+There have been reports that the OpenSL|ES backend fails to initialize on some Android based devices due to dlopen() failing to open "libOpenSLES.so". If +this happens on your platform you'll need to disable run-time linking with MA_NO_RUNTIME_LINKING and link with -lOpenSLES. +

+

+

2.6. Emscripten

@@ -821,6 +826,156 @@ Disables the null backend.

+MA_ENABLE_ONLY_SPECIFIC_BACKENDS +

+ +

+Disables all backends by default and requires MA_ENABLE_* to +enable specific backends.

+ + + +

+MA_ENABLE_WASAPI +

+ +

+Used in conjunction with MA_ENABLE_ONLY_SPECIFIC_BACKENDS to +enable the WASAPI backend.

+ + + +

+MA_ENABLE_DSOUND +

+ +

+Used in conjunction with MA_ENABLE_ONLY_SPECIFIC_BACKENDS to +enable the DirectSound backend.

+ + + +

+MA_ENABLE_WINMM +

+ +

+Used in conjunction with MA_ENABLE_ONLY_SPECIFIC_BACKENDS to +enable the WinMM backend.

+ + + +

+MA_ENABLE_ALSA +

+ +

+Used in conjunction with MA_ENABLE_ONLY_SPECIFIC_BACKENDS to +enable the ALSA backend.

+ + + +

+MA_ENABLE_PULSEAUDIO +

+ +

+Used in conjunction with MA_ENABLE_ONLY_SPECIFIC_BACKENDS to +enable the PulseAudio backend.

+ + + +

+MA_ENABLE_JACK +

+ +

+Used in conjunction with MA_ENABLE_ONLY_SPECIFIC_BACKENDS to +enable the JACK backend.

+ + + +

+MA_ENABLE_COREAUDIO +

+ +

+Used in conjunction with MA_ENABLE_ONLY_SPECIFIC_BACKENDS to +enable the Core Audio backend.

+ + + +

+MA_ENABLE_SNDIO +

+ +

+Used in conjunction with MA_ENABLE_ONLY_SPECIFIC_BACKENDS to +enable the sndio backend.

+ + + +

+MA_ENABLE_AUDIO4 +

+ +

+Used in conjunction with MA_ENABLE_ONLY_SPECIFIC_BACKENDS to +enable the audio(4) backend.

+ + + +

+MA_ENABLE_OSS +

+ +

+Used in conjunction with MA_ENABLE_ONLY_SPECIFIC_BACKENDS to +enable the OSS backend.

+ + + +

+MA_ENABLE_AAUDIO +

+ +

+Used in conjunction with MA_ENABLE_ONLY_SPECIFIC_BACKENDS to +enable the AAudio backend.

+ + + +

+MA_ENABLE_OPENSL +

+ +

+Used in conjunction with MA_ENABLE_ONLY_SPECIFIC_BACKENDS to +enable the OpenSL

+ + + +

+MA_ENABLE_WEBAUDIO +

+ +

+Used in conjunction with MA_ENABLE_ONLY_SPECIFIC_BACKENDS to +enable the Web Audio backend.

+ + + +

+MA_ENABLE_NULL +

+ +

+Used in conjunction with MA_ENABLE_ONLY_SPECIFIC_BACKENDS to +enable the null backend.

+ + + +

MA_NO_DECODING

@@ -862,11 +1017,13 @@ Disables the built-in MP3 decoder.

MA_NO_DEVICE_IO +

-Disables playback and recording. This will disable ma_context and ma_device APIs. This is useful if you only want to use -miniaudio's data conversion and/or decoding APIs.

+Disables playback and recording. This will disable ma_context and +ma_device APIs. This is useful if you only want to use miniaudio's +data conversion and/or decoding APIs.

@@ -881,12 +1038,18 @@ MA_NO_THREADING

+

+

+ +

-Disables the ma_thread, ma_mutex, ma_semaphore and ma_event APIs. This option is useful if you only need to use miniaudio for -data conversion, decoding and/or encoding. Some families of APIs require threading which means the following options must also -be set: +Disables the ma_thread, ma_mutex, ma_semaphore and ma_event APIs. +This option is useful if you only need to use miniaudio for data +conversion, decoding and/or encoding. Some families of APIs +require threading which means the following options must also be +set:

@@ -937,12 +1100,28 @@ Disables NEON optimizations.

MA_NO_RUNTIME_LINKING +

+

+ + +

+

+ + +

+

+

-Disables runtime linking. This is useful for passing Apple's notarization process. When enabling this, you may need to avoid -using -std=c89 or -std=c99 on Linux builds or else you may end up with compilation errors due to conflicts with timespec -and timeval data types.

+Disables runtime linking. This is useful for passing Apple's +notarization process. When enabling this, you may need to avoid +using -std=c89 or -std=c99 on Linux builds or else you may end +up with compilation errors due to conflicts with timespec and +timeval data types. + +You may need to enable this if your target platform does not allow +runtime linking via dlopen().

@@ -983,10 +1162,12 @@ Enable printf() debug output.

-MA_COINIT_VALUE

+MA_COINIT_VALUE +

-Windows only. The value to pass to internal calls to CoInitializeEx(). Defaults to COINIT_MULTITHREADED.

+Windows only. The value to pass to internal calls to +CoInitializeEx(). Defaults to COINIT_MULTITHREADED.

@@ -994,19 +1175,25 @@ Windows only. The value to pass to internal calls to

-Controls how public APIs should be decorated. Defaults to extern.

+Controls how public APIs should be decorated. Default is extern.

MA_DLL +

+

+ +

-If set, configures MA_API to either import or export APIs depending on whether or not the implementation is being defined. If -defining the implementation, MA_API will be configured to export. Otherwise it will be configured to import. This has no effect -if MA_API is defined externally.

+If set, configures MA_API to either import or export APIs +depending on whether or not the implementation is being defined. +If defining the implementation, MA_API will be configured to +export. Otherwise it will be configured to import. This has no +effect if MA_API is defined externally.

@@ -3183,7 +3370,7 @@ When compiling with VC6 and earlier, decoding is restricted to files less than 2

- Copyright © 2020 David Reid
+ Copyright © 2021 David Reid
Developed by David Reid - mackron@gmail.com
diff --git a/index.html b/index.html index f29dd17c..1d2567ce 100644 --- a/index.html +++ b/index.html @@ -402,7 +402,7 @@ a.doc-navigation-l4 {
- Copyright © 2020 David Reid
+ Copyright © 2021 David Reid
Developed by David Reid - mackron@gmail.com