David Reid
80c1a63008
Clean up TODOs.
2017-11-04 21:46:17 +10:00
David Reid
b9fcacdbfd
Fix an overflow bug with f32 to s32 conversion.
2017-11-04 21:30:32 +10:00
David Reid
ccd9e736cc
ALSA: Miscellaneous improvements:
...
* Generally improve latency.
* Get MMAP mode working with playback devices.
* This can be disabled with the alsa.noMMap config.
* No longer default to using "plughw" devices and instead just use "hw"
devices where appropriate.
* This can be disabled with the alsa.preferPlugHW config.
2017-11-04 21:19:09 +10:00
David Reid
be65f148f6
Update dr_wav.
2017-11-04 17:54:52 +10:00
David Reid
b00009584d
Whitespace.
2017-11-04 17:02:09 +10:00
David Reid
6d30ac7992
Remove some debugging code.
2017-11-04 14:30:22 +10:00
David Reid
80cebeb6a3
Fix a bug with sample rate conversion.
2017-11-04 12:20:51 +10:00
David Reid
5c31a4b6d1
Move dr_wav.h into the extras folder.
2017-11-01 19:19:15 +10:00
David Reid
d5f009c851
Bug fixes for ALSA.
2017-10-29 20:39:19 +10:00
David Reid
8d4575741d
Bug fix.
2017-10-29 18:17:34 +10:00
David Reid
123471d303
Fix a warning with the UWP build.
2017-10-29 17:53:47 +10:00
David Reid
327af170ba
Improvements and fixes to the ALSA and WinMM backends.
2017-10-29 17:47:54 +10:00
David Reid
7ed2a284ab
[DirectSound] Try using exclusive mode when requested.
2017-10-29 14:16:08 +10:00
David Reid
0c5968f039
WASAPI: Add early support for exclusive mode.
2017-10-29 12:52:18 +10:00
David Reid
f2898fec7f
ALSA: Make format selection more robust.
2017-10-29 09:47:53 +10:00
David Reid
03c75b9907
[ALSA] Use runtime linking for libasound.
...
This removes the need to the -lasound linker option.
2017-10-28 19:21:23 +10:00
David Reid
8cbf8023ca
Small documentation updates.
2017-10-28 17:38:27 +10:00
David Reid
2c656d5ee1
Dynamically link to libpthread.so at runtime.
...
This should remove the need to link to libpthread.
2017-10-28 17:22:05 +10:00
David Reid
a69279bc74
Update playback example to include logging.
2017-10-28 16:36:02 +10:00
David Reid
e895f4add2
[ALSA] Fix playback and capture on ALSA.
2017-10-28 16:35:38 +10:00
David Reid
cd63a62563
Update dr_wav.
2017-10-28 13:41:46 +10:00
David Reid
2fb12e0fe0
Fix sample code in readme.
2017-10-28 13:31:41 +10:00
David Reid
4794dbae7d
Improve some error handling with the OpenAL backend.
2017-10-28 13:15:53 +10:00
David Reid
b227b8278a
Fix a warning with the Android build.
2017-10-28 13:11:52 +10:00
David Reid
de6d21b282
Improve error handling for the OpenSL/Android backend.
2017-10-28 13:09:11 +10:00
David Reid
64fa72a8f3
Improve error handling for the ALSA and OSS backends.
2017-10-28 12:56:29 +10:00
David Reid
8d5c715ec2
Fix examples.
2017-10-28 12:56:01 +10:00
David Reid
72d96e80c5
Minor clean up.
2017-10-28 11:48:00 +10:00
David Reid
b1a4c7499a
Rename some variables for consistency.
2017-10-28 11:43:58 +10:00
David Reid
2e4f41759d
Resolve a TODO.
2017-10-28 11:42:43 +10:00
David Reid
4d75af246d
Improve error handling for the WASAPI backend.
2017-10-28 11:38:31 +10:00
David Reid
32da9fe5cb
Simplify some documentation for clarity.
2017-10-28 11:17:42 +10:00
David Reid
400e3c9a53
API CHANGE: Pass the log callback to mal_context_init().
2017-10-28 11:14:07 +10:00
David Reid
57e872feb7
Improve error handling for the WinMM backend.
2017-10-28 10:35:47 +10:00
David Reid
ab2f128198
Minor fixes to documentation.
2017-09-11 21:40:26 +10:00
David Reid
72c9523882
Replace some flags with booleans to improve readability.
2017-09-11 19:18:58 +10:00
David Reid
e55abcf951
Re-arrange the default backend priorities.
2017-09-10 22:08:50 +10:00
David Reid
bbfdb37393
Update documentation.
2017-09-10 22:06:21 +10:00
David Reid
6b5425c50b
Finish initial work on adding support for UWP.
...
This currently untested and only works when compiling as C++.
2017-09-10 21:31:05 +10:00
David Reid
eaafdf88fa
Clean up the WASAPI backend.
2017-09-10 16:38:09 +10:00
David Reid
c6aac7622a
Add placeholder variables in preparation for exclusive mode support.
2017-09-10 06:38:16 +10:00
David Reid
4cbeff8f48
Small optimizations to some format conversion routines.
2017-09-09 21:46:16 +10:00
David Reid
d68ed4f887
Fix an initialization bug with the WinMM backend.
2017-07-22 22:35:13 +10:00
David Reid
18317050b7
Win32: Fix a silly mistake in mal_dlclose().
2017-07-22 22:19:48 +10:00
David Reid
a2181a5e68
Fix C++ build.
2017-07-16 21:24:58 +10:00
David Reid
16eca1827a
Small tweak to WinMM.
2017-06-25 16:52:38 +10:00
David Reid
c63e4d038d
Update readme.
2017-06-25 16:52:27 +10:00
David Reid
5e0d0c4ead
Merge branch '0.4' of https://github.com/dr-soft/mini_al into 0.4
2017-06-25 16:29:20 +10:00
David Reid
ab5713d036
Update readme.
2017-06-25 16:29:02 +10:00
David Reid
43a113218a
Remove some useless comments.
2017-06-25 16:06:55 +10:00