Merge branch 'dev' into dev-0.12

This commit is contained in:
David Reid
2025-01-06 08:59:30 +10:00
4 changed files with 356 additions and 79 deletions
+5 -3
View File
@@ -10,6 +10,8 @@ v0.11.22 - TBD
* Web: Fix an error with the unlocked notification when compiling as C++. * Web: Fix an error with the unlocked notification when compiling as C++.
* Web: Fix a JavaScript error when initializing and then uninitializing a context before any interactivity. * Web: Fix a JavaScript error when initializing and then uninitializing a context before any interactivity.
* AAudio: The default minimum SDK version has been increased from 26 to 27 when enabling AAudio. If you need to support version 26, you can use `#define MA_AAUDIO_MIN_ANDROID_SDK_VERSION 26`. * AAudio: The default minimum SDK version has been increased from 26 to 27 when enabling AAudio. If you need to support version 26, you can use `#define MA_AAUDIO_MIN_ANDROID_SDK_VERSION 26`.
* AAudio: Fix ma_device_get_info() implementation
* PulseAudio: Allow setting the channel map requested from PulseAudio in device configs
v0.11.21 - 2023-11-15 v0.11.21 - 2023-11-15
@@ -276,7 +278,7 @@ v0.11.0 - 2021-12-18
- Add support for disabling denormals on the audio thread. - Add support for disabling denormals on the audio thread.
- Add a delay/echo effect called ma_delay. - Add a delay/echo effect called ma_delay.
- Add a stereo pan effect called ma_panner. - Add a stereo pan effect called ma_panner.
- Add a spataializer effect called ma_spatializer. - Add a spatializer effect called ma_spatializer.
- Add support for amplification for device master volume. - Add support for amplification for device master volume.
- Remove dependency on MA_MAX_CHANNELS from filters and data conversion. - Remove dependency on MA_MAX_CHANNELS from filters and data conversion.
- Increase MA_MAX_CHANNELS from 32 to 254. - Increase MA_MAX_CHANNELS from 32 to 254.
@@ -862,7 +864,7 @@ v0.9 - 2019-03-06
- API CHANGE: Add log level to the log callback. New signature: - API CHANGE: Add log level to the log callback. New signature:
- void on_log(ma_context* pContext, ma_device* pDevice, ma_uint32 logLevel, const char* message) - void on_log(ma_context* pContext, ma_device* pDevice, ma_uint32 logLevel, const char* message)
- API CHANGE: Changes to result codes. Constants have changed and unused codes have been removed. If you're - API CHANGE: Changes to result codes. Constants have changed and unused codes have been removed. If you're
a binding mainainer you will need to update your result code constants. a binding maintainer you will need to update your result code constants.
- API CHANGE: Change the order of the ma_backend enums to priority order. If you are a binding maintainer, you - API CHANGE: Change the order of the ma_backend enums to priority order. If you are a binding maintainer, you
will need to update. will need to update.
- API CHANGE: Rename mal_dsp to ma_pcm_converter. All functions have been renamed from mal_dsp_*() to - API CHANGE: Rename mal_dsp to ma_pcm_converter. All functions have been renamed from mal_dsp_*() to
@@ -971,7 +973,7 @@ v0.8 - 2018-07-05
- Changed MAL_IMPLEMENTATION to MINI_AL_IMPLEMENTATION for consistency with other libraries. The old - Changed MAL_IMPLEMENTATION to MINI_AL_IMPLEMENTATION for consistency with other libraries. The old
way is still supported for now, but you should update as it may be removed in the future. way is still supported for now, but you should update as it may be removed in the future.
- API CHANGE: Replace device enumeration APIs. mal_enumerate_devices() has been replaced with - API CHANGE: Replace device enumeration APIs. mal_enumerate_devices() has been replaced with
mal_context_get_devices(). An additional low-level device enumration API has been introduced called mal_context_get_devices(). An additional low-level device enumeration API has been introduced called
mal_context_enumerate_devices() which uses a callback to report devices. mal_context_enumerate_devices() which uses a callback to report devices.
- API CHANGE: Rename mal_get_sample_size_in_bytes() to mal_get_bytes_per_sample() and add - API CHANGE: Rename mal_get_sample_size_in_bytes() to mal_get_bytes_per_sample() and add
mal_get_bytes_per_frame(). mal_get_bytes_per_frame().
+2 -2
View File
@@ -66,8 +66,8 @@ blocking, it can be useful to know how many frames can be written/read without b
achieved with osaudio_get_avail(). achieved with osaudio_get_avail().
Querying the device's configuration is achieved with osaudio_get_info(). This function will return Querying the device's configuration is achieved with osaudio_get_info(). This function will return
a pointer to a osaudio_info_t structure which contains information about the device, most a pointer to an osaudio_info_t structure which contains information about the device, most
importantly it's name and data configuration. The name is important for displaying on a UI, and importantly its name and data configuration. The name is important for displaying on a UI, and
the data configuration is important for knowing how to format your audio data. The osaudio_info_t the data configuration is important for knowing how to format your audio data. The osaudio_info_t
structure will contain an array of osaudio_config_t structures. This will contain one entry, which structure will contain an array of osaudio_config_t structures. This will contain one entry, which
will contain the exact information that was returned in the config structure that was passed to will contain the exact information that was returned in the config structure that was passed to
+344 -71
View File
File diff suppressed because it is too large Load Diff
+2
View File
@@ -10,6 +10,8 @@ Output files will be placed in the "res/output" folder.
Emscripten Emscripten
---------- ----------
On Linux, do `source ~/emsdk/emsdk_env.sh` before compiling.
On Windows, you need to move into the build and run emsdk_env.bat from a command prompt using an absolute On Windows, you need to move into the build and run emsdk_env.bat from a command prompt using an absolute
path like "C:\emsdk\emsdk_env.bat". Note that PowerShell doesn't work for me for some reason. Example: path like "C:\emsdk\emsdk_env.bat". Note that PowerShell doesn't work for me for some reason. Example: