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
David Reid
f769b18157
WASAPI: Fix an error where a buffer can possible be unreleased.
2022-01-19 17:50:34 +10:00
David Reid
11e2e59324
WASAPI: Fix an error where the device is not stopped when read fails.
...
Public issue https://github.com/mackron/miniaudio/issues/410
2022-01-19 17:28:41 +10:00
David Reid
8c2d95263c
Update changes.
2022-01-18 18:52:21 +10:00
David Reid
15b4dbff01
Minor fixes to the node graph node.
2022-01-18 18:50:44 +10:00
David Reid
3947725f04
Add support for using ma_node_graph as a node.
...
This allows the node graph to be connected to another node graph.
2022-01-18 18:31:18 +10:00
David Reid
c25fe30aa6
WASAPI: Handle AUDCLNT_E_BUFFER_ERROR when processing audio data.
...
Public issue https://github.com/mackron/miniaudio/issues/410
2022-01-18 17:36:26 +10:00
David Reid
cb2e3a7c51
Update log message to show error code.
...
Public issue https://github.com/mackron/miniaudio/issues/410
2022-01-18 17:31:07 +10:00
David Reid
f0e1b78b6e
Update CHANGES.
2022-01-17 19:46:03 +10:00
David Reid
b2eccfa6d4
Fix a bug with engine nodes.
...
This bug results in an audio glitch when mixing nodes in the node
graph. It specifically happens when resampling is not being performed,
in which case it was specifying an output frame count greater than the
number of frames that are actually being output.
Public issue https://github.com/mackron/miniaudio/issues/408
2022-01-17 19:31:29 +10:00
David Reid
f2d4fc426d
Fix a crash with high-pass and band-pass filters.
...
Public issue https://github.com/mackron/miniaudio/issues/409
2022-01-17 18:58:31 +10:00
David Reid
91ef8e19ab
Fix a copy paste error.
2022-01-17 18:34:00 +10:00
David Reid
92d39a73fa
Version 0.11.5
2022-01-16 19:35:45 +10:00
David Reid
592d3d61b5
Minor change for improved syntax highlighting for the implementation.
2022-01-16 18:00:14 +10:00
David Reid
e3f3754e4e
Fix a compilation error when MA_NO_DEVICE_IO is enabled.
2022-01-16 17:41:42 +10:00
David Reid
5138fd992c
Update changes.
2022-01-16 11:59:51 +10:00
David Reid
0ca929a658
WASAPI: Refactoring to simplify data reading and writing.
...
This commit removes the custom data loop and instead implements the
onDeviceRead and onDeviceWrite backend callbacks. This simplifies the
implementation and fixes a bug with duplex mode where the capture and
playback devices have different native sample rates.
This commit also fixes a bug with fixed sized callbacks with duplex
mode.
Public issue https://github.com/mackron/miniaudio/issues/397
2022-01-16 11:52:26 +10:00