Commit Graph

3967 Commits

Author SHA1 Message Date
David Reid c2931a92cc Remove the unofficial bindings section from the readme.
These projects are not updated to the latest version.
2022-04-16 15:32:07 +10:00
David Reid e7dfd77a97 Update change history. 2022-04-10 21:53:04 +10:00
David Reid 4a1d9edff3 iOS: Fix build when ARC is not enabled. 2022-04-10 20:13:57 +10:00
David Reid ae066d57e9 Fix compilation error with older versions of GCC. 2022-04-10 20:00:05 +10:00
David Reid 804585ae2c Update dr_libs. 2022-04-10 19:56:51 +10:00
David Reid 0929f8c8f5 Don't seek streams when not changing the actual cursor position. 2022-04-10 18:44:03 +10:00
David Reid 7c8668103f Fix a subtle bug when seeking back to the start of a decoder. 2022-04-10 12:00:01 +10:00
David Reid 182ae37047 Add the notion of samples rates to audio buffers. 2022-03-30 18:05:17 +10:00
David Reid 9c338c5882 Fix a crash when seeking with ma_sound_seek_to_pcm_frame(). 2022-03-30 17:50:18 +10:00
David Reid 09f54c3712 Update revision history. 2022-03-29 09:35:54 +10:00
David Reid b9cb2db8f4 Fix a bug in ma_audio_buffer_ref_read_pcm_frames().
The bug here is the pFramesOut pointer was not getting offset correctly
when looping.

Public issue https://github.com/mackron/miniaudio/issues/442
2022-03-17 20:17:18 +10:00
David Reid 1e82e4ff20 Add MA_RESOURCE_MANAGER_DATA_SOURCE_FLAG_UNKNOWN_LENGTH.
This is 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.

Public issue https://github.com/mackron/miniaudio/discussions/439
2022-03-02 06:32:23 +10:00
David Reid 0a214db53e Clarify scheduling of sound start times. 2022-03-02 05:56:18 +10:00
David Reid eebdd2960d Fix some bugs where looping doesn't work with the resource manager. 2022-02-18 18:10:50 +10:00
David Reid 82e70f4cbe Version 0.11.8 2022-02-12 19:56:49 +10:00
David Reid 04cd4f1953 Update dr_flac. 2022-02-12 19:50:08 +10:00
David Reid f16eea138f Simplify ARM NEON detection. 2022-02-12 19:11:46 +10:00
David Reid 0d1eb42d06 Remove documentation for MA_DLL.
It is not recommended to use this option because miniaudio never
maintains ABI compatibility between versions, not even revisions.

Public issue https://github.com/mackron/miniaudio/issues/428
2022-02-11 19:11:39 +10:00
David Reid f83341e46f Update revision history. 2022-02-11 19:08:23 +10:00
David Reid 75b64cabf5 DirectSound: Increase the size of the default buffer size.
Public issue https://github.com/mackron/miniaudio/issues/429
2022-02-11 18:35:08 +10:00
David Reid 320b0e0536 PulseAudio: Use a bigger default buffer size.
Public issue https://github.com/mackron/miniaudio/issues/427
2022-02-10 18:46:30 +10:00
David Reid bcff6ac152 Don't return an error when a device is already started/stopped. 2022-02-09 18:19:04 +10:00
David Reid 467e449edb Revert "Experimental fix a what appears to be a threading error."
This reverts commit 0f76e7862f.
2022-02-08 19:18:25 +10:00
David Reid df28ecfa23 Experimental hack to partially workaround a PipeWire bug.
Public issue https://github.com/mackron/miniaudio/issues/427
2022-02-08 18:08:02 +10:00
David Reid 0f76e7862f Experimental fix a what appears to be a threading error. 2022-02-08 17:55:34 +10:00
David Reid c18737fa07 Update version. 2022-02-07 18:22:31 +10:00
David Reid 1871138aa2 Attempt to fix an error in the data converter.
This could happen when channel mapping is used without differing input
and output channel counts.

Public issue https://github.com/mackron/miniaudio/issues/427
2022-02-07 17:42:50 +10:00
David Reid f97bc10b24 Update dr_flac. 2022-02-07 17:39:25 +10:00
David Reid 073b7bbbba Version 0.11.7 2022-02-06 10:20:23 +10:00
David Reid 353eaba3c0 Update revision history. 2022-02-06 10:19:13 +10:00
David Reid 29aabca4ae Update dr_flac. 2022-02-06 10:05:26 +10:00
David Reid d5be37050e Fix a possible Wundef warning. 2022-02-05 09:02:32 +10:00
David Reid 10783dd8eb Update revision history. 2022-01-28 18:28:51 +10:00
David Reid 7627ada281 Fix a memory leak with LPF/HPF/BPF.
Public issue https://github.com/mackron/miniaudio/issues/421
2022-01-28 18:12:52 +10:00
David Reid 0f461e564d Update version number and revision history. 2022-01-26 15:23:23 +10:00
David Reid 8f4a15c1ef Update dr_wav.
Public issue https://github.com/mackron/miniaudio/issues/420
2022-01-26 15:21:56 +10:00
David Reid c3a9ab9b90 Version 0.11.6 2022-01-22 12:12:24 +10:00
David Reid 13f1d31a85 Update CHANGES. 2022-01-22 12:09:56 +10:00
David Reid 6639243532 Use CreateEventW() instead of CreateEvent(). 2022-01-22 11:48:50 +10:00
David Reid 1d2a500e7a PulseAudio: Try fixing an error when initializing a device.
Public issue https://github.com/mackron/miniaudio/issues/412
2022-01-21 17:55:01 +10:00
David Reid 0072eb8baf Merge pull request #416 from Sahnvour/fix_posix_wait
fix undefined behavior in ma_thread_wait__posix
2022-01-21 17:23:05 +10:00
Sahnvour e85d07d050 fix undefined behavior in ma_thread_wait__posix
Quoting man for pthread_detach:
> The behavior is undefined if the value specified by the thread argument
> to pthread_detach() does not refer to a joinable thread.

Since the thread was joined right before, pthread_detach should not be called.
2022-01-21 01:15:36 +01:00
David Reid 4f43538cd6 PulseAudio: Try fixing a division by zero error.
Public issue https://github.com/mackron/miniaudio/issues/412
2022-01-20 17:56:24 +10:00
David Reid b89603dc4d Merge branch 'dev' of https://github.com/mackron/miniaudio into dev 2022-01-20 17:21:00 +10:00
David Reid 9589a62f0c Fix example. 2022-01-20 17:20:26 +10:00
David Reid ba2f46b6f1 Merge pull request #413 from Clownacy/dev
Update some outdated parts of the documentation
2022-01-20 17:18:07 +10:00
Clownacy 56e41a0fde Update example 'ma_data_converter_uninit' call 2022-01-19 19:10:45 +00:00
Clownacy 38c814f52a Update some more documentation
This time for example code showing 'ma_channel_converter_init' and
'ma_data_converter_init'.
2022-01-19 19:07:40 +00:00
Clownacy d51b056c51 Correct outdated variable name in documentation
'noPreZeroedOutputBuffer' was renamed to 'noPreSilencedOutputBuffer'
in v0.11.0.
2022-01-19 18:38:27 +00:00
David Reid 252de0f0ad Add support for retrieving the cursor and length in seconds.
This has been added for `ma_data_source` and `ma_sound`.

Public issue https://github.com/mackron/miniaudio/issues/411
2022-01-19 19:41:53 +10:00