Miniaudio

Latest version: v1.61

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

Scan your dependencies

Page 3 of 17

0.11.9

====================
* Fix some bugs where looping doesn't work with the resource manager.
* Fix a crash when seeking a sound.
* Fix a subtle bug the results in a glitch when looping a decoder when resampling is being applied.
* Fix an issue where chaining streams would not result in a seamless transition.
* Add a new flag called MA_RESOURCE_MANAGER_DATA_SOURCE_FLAG_UNKNOWN_LENGTH for use with resource managed data sources. This flag is used as a hint to the resource manager that the length of the data source is unknown and calling ma_data_source_get_length_in_pcm_frames() should be avoided.
* Add support for resetting a resampler. This is useful for resetting the internal timer and clearing the internal cache for when you want to seek the input sound source back to the start.
* Add support for clearing the cache from biquads and low-pass filters.

0.11.8

====================
* PulseAudio: Work around bugs in PipeWire:
- PipeWire is returning AUX channels for stereo streams instead of FL/FR. This workaround forces FL/FR for stereo streams.
- PipeWire will glitch when the buffer size is too small, but still well within reasonable limits. To work around this bug, the default buffer size on PulseAudio backends is now 25ms. You can override this in the device config. This bug does not exist with regular PulseAudio, but the new default buffer size will still apply because I'm not aware of a good way to detect if PipeWire is being used. If anybody has advice on how to detect this, I'm happy to listen!
* DirectSound: Increase the minimum period size from 20ms to 30ms.
* Return `MA_SUCCESS` from `ma_device_start()` and `ma_device_stopped()` if the device is already started or stopped respectively.
* Fix an incorrect assertion in the data converter.
* Fix a compilation error with ARM builds.

0.11.7

====================
* Fix an error when seeking to the end of a WAV file.
* Fix a memory leak with low-pass, high-pass and band-pass filters.
* Fix some bugs in the FLAC decoder.
* Fix a -Wundef warning

0.11.6

====================
* WASAPI: Fix a bug where the device is not stopped when an error occurrs when writing to a playback device.
* PulseAudio: Fix a rare crash due to a division by zero.
* The node graph can now be used as a node. This allows node graphs to be connected to other node graphs.
* Fix a crash with high-pass and band-pass filters.
* Fix an audio glitch when mixing engine nodes (ma_sound and ma_sound_group).
* Add some new helper APIs for cursor and length retrieval:
- ma_data_source_get_cursor_in_seconds()
- ma_data_source_get_length_in_seconds()
- ma_sound_get_cursor_in_seconds()
- ma_sound_get_length_in_seconds()

0.11.5

====================
* WASAPI: Fix a bug in duplex mode when the capture and playback devices have different native sample rates.
* AAudio: Add support for automatic stream routing.
* iOS: The interruption_began notification now automatically calls `ma_device_stop()`. This allows `ma_device_start()` to work as expected when called from interruption_ended.
* iOS: Fix a bug that results in a deadlock when stopping the device in response to the interruption_begain or interruption_ended notifications.
* Fix a bug with fixed sized callbacks that results in glitches in duplex mode.
* Fix a bug that results in a deadlock when starting a device.
* ma_engine_play_sound_ex() is now publicly visible.
* Add validation to ma_sound_set_pitch() to prevent negative pitches.
* Add validation to resamplers to prevent negative ratios.


---------------------------------------------------------------------------------------------------

0.11.4

- AAudio: Add initial support for automatic stream routing.
- Add support for initializing an encoder from a VFS.
- Fix a bug when initializing an encoder from a file where the file handle does not get closed in
the event of an error.

Page 3 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.