Commit Graph

1099 Commits

Author SHA1 Message Date
David Reid f1bf58d0f8 "MAL_" to "MA_". 2019-03-06 20:51:38 +10:00
David Reid b93faa46e5 MINI_AL_IMPLEMENTATION to MINIAUDIO_IMPLEMENTATION. 2019-03-06 20:49:18 +10:00
David Reid 3d4716f0ca Rename mini_al.h to miniaudio.h 2019-03-06 20:43:14 +10:00
David Reid d72e7b1fce "mini_al" to "miniaudio". 2019-03-06 20:42:48 +10:00
David Reid af1c305d21 Update test project file. 2019-03-06 20:16:50 +10:00
David Reid 342db4d2cd Fix some warnings. 2019-03-06 19:34:53 +10:00
David Reid 0c3b5412dc Remove unplugging test. 2019-03-06 19:31:05 +10:00
David Reid 3a58e3a1d0 Fix resampling tests. 2019-03-06 19:29:57 +10:00
David Reid f30f75a836 Remove the blocking test. 2019-03-06 19:25:43 +10:00
David Reid 2866bc2b5f Fix build with MAL_NO_DEVICE_IO. 2019-03-06 19:24:29 +10:00
David Reid 7ad511a46d Update the stop test. 2019-03-06 19:21:49 +10:00
David Reid a2666c29fd Fix a few issues with restarting the device. 2019-03-06 19:16:10 +10:00
David Reid b852c5a830 Fix a channel mapping issue. 2019-03-06 18:43:47 +10:00
David Reid f6dee8d762 Fix the dithering test. 2019-03-06 18:28:08 +10:00
David Reid 84605a0f13 Fix some Android bugs. 2019-03-06 17:27:56 +10:00
David Reid ffa14e94c6 Update revision history. 2019-03-05 21:00:26 +10:00
David Reid 51765a718f Add release notes for 0.9. 2019-03-05 20:39:21 +10:00
David Reid dae1bdd6c2 Update advanced config example. 2019-03-05 19:24:15 +10:00
David Reid f4693be9f3 Update Emscripten simple playback example. 2019-03-05 19:14:08 +10:00
David Reid 2e23db7d1a Small tweak to the playback example. 2019-03-05 18:46:39 +10:00
David Reid 94e91a9034 Tweak default buffers sizes.
The default low-latency buffer size is now 10 milliseconds per period.
The default conservative buffer size is now 100 milliseconds per
period.
2019-03-05 18:41:05 +10:00
David Reid c8fa0f66af Pre-fill playback-only output buffers with silence.
This simplifies the callback since the client does not need to worry
about silencing parts of the buffer that are not filled, such as the
end of a song or whatnot.
2019-03-05 18:33:13 +10:00
David Reid a6168a16c7 Remove some unused experimental code. 2019-03-05 17:50:19 +10:00
David Reid 180621a0f4 Remove some redundant TODOs. 2019-03-05 17:48:31 +10:00
David Reid 10f13312bf DirectSound: Revert an earlier commit.
The change this commit is reverting causes glitching with smaller
buffers for some reason. More investigation into this is required.
2019-03-05 17:27:49 +10:00
David Reid e0c7af2966 DirectSound: Force a minimum latency of 20 milliseconds. 2019-03-04 20:28:59 +10:00
David Reid 944b5aca72 Clean up the WASAPI backend. 2019-03-04 19:29:43 +10:00
David Reid 413be80e2f WASAPI: Get playback-only mode working again. 2019-03-04 19:14:42 +10:00
David Reid dd15fb4515 WASAPI: Get capture-only mode working again. 2019-03-04 18:49:35 +10:00
David Reid e8d390925f DirectSound: Small latency tweak to make consistent with WASAPI. 2019-03-04 18:14:09 +10:00
David Reid 1f65090c32 DirectSound: Silence a verbose debug output message. 2019-03-04 17:42:48 +10:00
David Reid fd3e0e2a43 WASAPI: Fix a possible infinite loop when stopping the playback device. 2019-03-04 17:39:20 +10:00
David Reid c56205ff11 WASAPI: Fix some errors when stopping the device. 2019-03-03 22:01:29 +10:00
David Reid c95afa6b18 WASAPI: Work in progress on refactoring.
Playback-only and capture-only modes are broken with this commit.
2019-03-03 21:26:48 +10:00
David Reid 2f7eef3a41 DirectSound: Fix a bug in playback-only mode. 2019-03-03 17:35:48 +10:00
David Reid 286b301739 Rearrange some code. 2019-03-03 17:20:45 +10:00
David Reid e00f3ddefa DirectSound: Drain the playback buffer when stopping the device. 2019-03-03 17:18:45 +10:00
David Reid 2e1c34e678 DirectSound: Full-duplex experiment for handling desyncs. 2019-03-03 14:57:09 +10:00
David Reid 679f450099 DirectSound: Clean up unused code. 2019-03-03 14:21:23 +10:00
David Reid 3b1555ae5d Clean up. 2019-03-03 13:26:26 +10:00
David Reid 2660dd5fcb DirectSound: Refactor the playback-only implementation. 2019-03-03 12:50:33 +10:00
David Reid 74c22ad77f DirectSound: Refactor the capture-only implementation. 2019-03-03 12:20:52 +10:00
David Reid 349abe5ac8 DirectSound: Add some verbose debug output.
This commit also experiments with a fix for glitching in full-duplex
mode.
2019-03-03 08:37:43 +10:00
David Reid be780d2558 Work in progress on refactoring the DirectSound backend.
Playback-only and capture-only modes are broken with this commit for
DirectSound.
2019-03-02 21:13:37 +10:00
David Reid b0a1c92599 WASAPI: Experiment with some improvements to full-duplex. 2019-03-02 11:09:38 +10:00
David Reid 595dd1fb9e Merge pull request #49 from kayabe/dev_0.9
Fix vorbis playback
2019-03-02 06:50:34 +10:00
Kayabe 17f0adcce4 Fix vorbis playback 2019-03-01 18:13:27 +02:00
David Reid 5aa63802ae Update test_0. 2019-03-01 17:51:32 +10:00
David Reid fe8f67d3da DirectSound: Capture bug fix.
This fixes a bug where the wrong position is being retrieved for the
capture device.
2019-03-01 17:51:21 +10:00
David Reid 01a7d375f1 Try fixing a warning on MinGW. 2019-02-27 20:09:39 +10:00