Miniaudio

Latest version: v1.59

Safety actively analyzes 626474 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 17

0.10.36

- Add support for custom decoding backends.
- Fix some bugs with the Vorbis decoder.
- PulseAudio: Fix a bug with channel mapping.
- PulseAudio: Fix a bug where miniaudio does not fall back to a supported format when PulseAudio
defaults to a format not known to miniaudio.
- OpenSL: Fix a crash when initializing a capture device when a recording preset other than the
default is specified.
- Silence some warnings when compiling with MA_DEBUG_OUTPUT
- Improvements to logging. See the `ma_log` API for details. The logCallback variable used by
ma_context has been deprecated and will be replaced with the new system in version 0.11.
- Initialize an `ma_log` object with `ma_log_init()`.
- Register a callback with `ma_log_register_callback()`.
- In the context config, set `pLog` to your `ma_log` object and stop using `logCallback`.
- Prep work for some upcoming changes to data sources. These changes are still compatible with
existing code, however code will need to be updated in preparation for version 0.11 which will
be breaking. You should make these changes now for any custom data sources:
- Change your base data source object from `ma_data_source_callbacks` to `ma_data_source_base`.
- Call `ma_data_source_init()` for your base object in your custom data source's initialization
routine. This takes a config object which includes a pointer to a vtable which is now where
your custom callbacks are defined.
- Call `ma_data_source_uninit()` in your custom data source's uninitialization routine. This
doesn't currently do anything, but it placeholder in case some future uninitialization code
is required to be added at a later date.

0.10.35

- Fix the C++ build.

0.10.34

- WASAPI: Fix a bug where a result code is not getting checked at initialization time.
- WASAPI: Bug fixes for loopback mode.
- ALSA: Fix a possible deadlock when stopping devices.
- Mark devices as default on the null backend.

0.10.33

- Core Audio: Fix a memory leak.
- Core Audio: Fix a bug where the performance profile is not being used by playback devices.
- JACK: Fix loading of 64-bit JACK on Windows.
- Fix a calculation error and add a safety check to the following APIs to prevent a division by zero:
- ma_calculate_buffer_size_in_milliseconds_from_frames()
- ma_calculate_buffer_size_in_frames_from_milliseconds()
- Fix compilation errors relating to c89atomic.
- Update FLAC decoder.

0.10.32

- WASAPI: Fix a deadlock in exclusive mode.
- WASAPI: No longer return an error from ma_context_get_device_info() when an exclusive mode format
cannot be retrieved.
- WASAPI: Attempt to fix some bugs with device uninitialization.
- PulseAudio: Yet another refactor, this time to remove the dependency on `pa_threaded_mainloop`.
- Web Audio: Fix a bug on Chrome and any other browser using the same engine.
- Web Audio: Automatically start the device on some user input if the device has been started. This
is to work around Google's policy of not starting audio if no user input has yet been performed.
- Fix a bug where thread handles are not being freed.
- Fix some static analysis warnings in FLAC, WAV and MP3 decoders.
- Fix a warning due to referencing _MSC_VER when it is undefined.
- Update to latest version of c89atomic.
- Internal refactoring to migrate over to the new backend callback system for the following backends:
- PulseAudio
- ALSA
- Core Audio
- AAudio
- OpenSL|ES
- OSS
- audio(4)
- sndio

0.10.31

- Make some functions const correct.
- Update ma_data_source_read_pcm_frames() to initialize pFramesRead to 0 for safety.
- Add the MA_ATOMIC annotation for use with variables that should be used atomically and remove unnecessary volatile qualifiers.
- Add support for enabling only specific backends at compile time. This is the reverse of the pre-existing system. With the new
system, all backends are first disabled with `MA_ENABLE_ONLY_SPECIFIC_BACKENDS`, which is then followed with `MA_ENABLE_*`. The
old system where you disable backends with `MA_NO_*` still exists and is still the default.

Page 5 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.