David Reid
c29c001840
Fix an error where the pthread priority is not being set correctly.
2023-12-13 08:36:03 +10:00
David Reid
ee3b7df66a
Update change history.
2023-12-10 13:50:40 +10:00
David Reid
1325ac397b
AAudio: Increase default min SDK version from 26 to 27.
...
Use `#define MA_AAUDIO_MIN_ANDROID_SDK_VERSION 26` if you need to
support SDK version 26.
2023-12-08 19:13:51 +10:00
xielock
ed204e4b72
Fix bug in ma_node_detach_full(...)
2023-12-06 08:22:14 +10:00
David Reid
6099e6f41c
Add support for customizing the min SDK version for AAudio.
...
Define MA_AAUDIO_MIN_ANDROID_SDK_VERSION to specify the minimum
required SDK version for enabling the AAudio backend.
2023-12-06 08:12:21 +10:00
David Reid
4f426f6db0
Update change history.
2023-12-06 07:59:52 +10:00
David Reid
7e38fa0e7e
Update dr_wav.
2023-12-02 07:42:39 +10:00
David Reid
d0709098cc
Web: Try fixing a runtime error.
...
Public issue https://github.com/mackron/miniaudio/issues/781
2023-11-30 09:32:04 +10:00
David Reid
3c5b15b48b
Update change history.
2023-11-29 07:51:30 +10:00
David Reid
2b8bb34ca2
Update split version for testing.
2023-11-29 07:31:38 +10:00
David Reid
2b0c525e53
Web Audio: Fix ScriptProcessNode path when compiling with --closure=1.
...
Audio Worklets do not work with --closure=1 because the callback used
with emscripten_create_wasm_audio_worklet_processor_async never gets
fired which means miniaudio will never be able to escape from it's busy
wait loop.
Public issue https://github.com/mackron/miniaudio/issues/778
2023-11-29 07:29:44 +10:00
David Reid
6cba159210
ALSA: Fix some warnings relating to unhandled return value of read().
2023-11-29 06:27:03 +10:00
David Reid
1583329187
Update version.
2023-11-28 07:43:00 +10:00
David Reid
5a3655fea4
DirectSound: Add support for specifying an explicit HWND.
...
Public issue https://github.com/mackron/miniaudio/issues/779
2023-11-28 07:39:47 +10:00
David Reid
4a5b74bef0
Version 0.11.21
0.11.21
2023-11-15 11:23:00 +10:00
David Reid
c77d40ba00
Core Audio: Fix a -Wshadow warning.
2023-11-15 10:35:34 +10:00
Michael Labbé
8fcf6889aa
Add new ma_device_notification_type_unlocked notification
...
Unlocked notification fires on emscripten upon successful resume of
audio context attached to a device. This occurs only once per device
and it happens after the browser has received the input event
necessary to begin playing audio on most webpages. This is due
to autoplay rules.
It is recommended to wait until this event is fired to start a
'main game loop' on the web.
2023-11-15 10:28:02 +10:00
David Reid
f9ce46330c
Web: Fix an error where the buffer size is incorrectly calculated.
...
Public issue https://github.com/mackron/miniaudio/issues/773
2023-11-15 10:10:46 +10:00
David Reid
3b50a854ec
Version 0.11.20
0.11.20
2023-11-10 07:44:19 +10:00
David Reid
da0572e6b8
Fix a compilation error with iOS.
...
Public issue https://github.com/mackron/miniaudio/issues/770
2023-11-09 15:01:03 +10:00
David Reid
eb0ce6f1a5
Fix an error when dynamically linking when forcing the UWP build.
...
This also fixes a possible crash during initialization due to leaving a
thread running after early termination of the initialization routine.
2023-11-04 08:43:16 +10:00
David Reid
b19cc09fd0
Version 0.11.19
0.11.19
2023-11-04 07:05:24 +10:00
David Reid
863565a8ed
Update dr_libs.
2023-11-04 06:57:53 +10:00
cobyj33
ef0f2e5b16
Fix ma_device_config.noClip docs
2023-11-02 15:13:35 +10:00
David Reid
287881b815
Web Audio: Don't attempt to unlock audio on the touchstart event.
...
Public issue https://github.com/mackron/miniaudio/issues/759
2023-10-29 08:06:56 +10:00
David Reid
2730775e79
Fix a documentation error.
2023-10-27 17:05:56 +10:00
David Reid
1d17b09e41
Fix an error in ma_sound_get_cursor_in_pcm_frames().
2023-10-27 16:07:14 +10:00
David Reid
39a7cc444b
Fix a crash when uninitialising a device without stopping it first.
2023-10-27 16:06:19 +10:00
a.borisov
fe5f17ecf3
fix misspells
...
occured -> occurred
aquired -> acquired
accomodate -> accommodate
seperate -> separate
etc.
2023-10-22 07:06:12 +10:00
David Reid
0bb56819a8
Address an issue in ma_sound_get_cursor_*().
...
When seeking, the seek does not immediately get applied to the data
source. Instead it is delayed. This results in a situation where the
sound can be seeked, but a small window will exist where querying the
seek point will not be consistent with the previous seek request.
2023-10-21 07:56:06 +10:00
David Reid
105ffd8b05
Update revision history.
2023-10-21 07:31:05 +10:00
David Reid
9bf256dcf3
Fix a documentation error.
2023-10-21 07:29:24 +10:00
David Reid
2f5c661bb7
Update revision history.
2023-10-21 07:24:23 +10:00
David Reid
ecf2a8b917
Fix a crash when using a node with more than 2 outputs.
2023-10-21 07:18:58 +10:00
Marek Maškarinec
d282fba0fe
Fix AudioContext creation fail if sampleRate is 0 ( #745 )
2023-10-18 16:38:19 +10:00
Christian Alonso-Daubney
a185b99f12
Added pSound check to ma_sound_get_cone()
2023-10-15 07:34:09 +10:00
Christian Alonso-Daubney
aef76e251c
Added pEngine and listenerIndex check to ma_engine_listener_get_cone()
2023-10-15 07:34:09 +10:00
David Reid
b792ccd483
Try making runtime linking more robust on Apple platforms.
...
Public issue https://github.com/mackron/miniaudio/issues/750
2023-10-14 11:56:16 +10:00
David Reid
a3cabad692
Fix some warnings with the Emscripten build.
2023-09-21 08:43:50 +10:00
my1e5
1a9acbad95
fix-sample-rate : fixed value of 11025 Hz sample rate in ma_standard_sample_rate enum
2023-09-21 08:38:43 +10:00
David Reid
381a035fdd
Fix some unused function warnings.
...
Public issue https://github.com/mackron/miniaudio/issues/732
2023-09-11 08:30:30 +10:00
David Reid
e1a0f523d0
Update dr_wav.
2023-09-11 08:16:53 +10:00
David Reid
03e36da814
Try fixing a strange error when initializing a POSIX mutex.
...
https://github.com/mackron/miniaudio/issues/733
2023-09-11 07:55:08 +10:00
David Reid
a47f065a4a
Don't stop the device in ma_device_uninit().
...
If the state miniaudio side of the device does not match the actual
state of the backend side of it, such as when the device is stopped but
the backend doesn't post a notification, attempting to stop the device
might result in a deadlock.
This is a just a quick workaround hack for the moment while a more
robust solution is figured out.
https://github.com/mackron/miniaudio/issues/717
2023-09-10 07:33:59 +10:00
David Reid
bdf9a5554b
Update the deviceio test.
2023-09-10 07:26:09 +10:00
David Reid
537c4ca36c
Update the simple_playback_sine example.
2023-09-05 06:48:49 +10:00
David Reid
2922859ea9
Remove cosmo windows.h header.
2023-08-31 18:30:42 +10:00
David Reid
6e6823d9e4
Update deviceio test.
2023-08-31 18:30:04 +10:00
Oldes
568e0ae9e9
FIX: Only white noise type is generated
...
resolves: https://github.com/mackron/miniaudio/issues/723
Signed-off-by: Oldes <oldes.huhuman@gmail.com >
2023-08-31 07:12:15 +10:00
nmlgc
70bf42392d
Fix SSE2 sample swapping in mono expansion.
...
The SSE2 code paths for mono expansion introduced in Version 0.11.15
mixed up the parameters of `_mm_shuffle_ps()`, which in turn caused
adjacent PCM frames to be swapped in the channel-expanded output.
2023-08-30 08:37:12 +10:00