mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Add new init flags for sounds and resource managed data sources.
This adds the following flags: * MA_SOUND_FLAG_LOOPING * MA_RESOURCE_MANAGER_DATA_SOURCE_FLAG_LOOPING These can be used to initialize sounds and resource managed data sources to loop by default. This is the recommended way to enable looping for streams. The `isLooping` config option in `ma_sound_config` and `ma_resource_manager_data_source_config` has been deprecated. If you are using those, you should switch to the new flag or else you'll get compiler errors when upgrading to a future version.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
v0.11.22 - TBD
|
||||
=====================
|
||||
* Add `MA_SOUND_FLAG_LOOPING` and `MA_RESOURCE_MANAGER_DATA_SOURCE_FLAG_LOOPING` flags. These can be used to initialize sounds and resource managed data sources to loop by default. This is the recommended way to enable looping for streams. The `isLooping` config option in `ma_sound_config` and `ma_resource_manager_data_source_config` has been deprecated. If you are using those, you should switch to the new flag or else you'll get compiler errors when upgrading to a future version.
|
||||
* Fix a bug relating to node detachment.
|
||||
* Fix a bug where amplification with `ma_device_set_master_volume()` does not work.
|
||||
* ALSA: Fix some warnings relating to unhandled return value of `read()`.
|
||||
|
||||
Reference in New Issue
Block a user