Commit Graph

741 Commits

Author SHA1 Message Date
David Reid 8abcff4cec API CHANGE: Remove some redundant APIs. 2018-05-21 18:38:58 +10:00
David Reid 02e389157c Fixes to sinc SRC. 2018-05-20 15:15:10 +10:00
David Reid 1f9059965e Initial work on sinc sample rate conversion. 2018-05-20 10:28:07 +10:00
David Reid e01b60a889 Add support for decoding from raw PCM data. 2018-05-12 21:54:38 +10:00
David Reid b401f7d4d2 Return a valid channel map when channel count is 0 for device configs. 2018-05-09 18:27:51 +10:00
David Reid 401411911c WASAPI: Fix a bug with stopping and restarting devices. 2018-05-06 19:55:20 +10:00
David Reid c95710c612 Fix C++ build error. 2018-05-05 08:44:58 +10:00
David Reid 757a4c1260 Merge branch 'dev' of https://github.com/dr-soft/mini_al into dev 2018-05-05 06:41:02 +10:00
David Reid 986dac45b6 Documentation and clean up. 2018-05-05 06:40:32 +10:00
David Reid 11d23efcf6 Tweaks to the Raspberry Pi build. 2018-05-04 09:14:32 +00:00
David Reid 1d67c440fa Don't use Pulse or JACK on BSD.
In my testing, PulseAudio is terrible on BSD. Just disabling this since
OSS seems quite good.
2018-05-03 20:41:17 +10:00
David Reid d03de64843 Clean up. 2018-05-03 20:29:27 +10:00
David Reid a7876da79d Experiments with improved default buffer sizes. 2018-05-03 20:19:56 +10:00
David Reid 244db693e0 WASAPI: Start using experimental default buffer size system. 2018-05-03 18:48:20 +10:00
David Reid 45b99d1c31 Fix a bug on WASAPI when initializing a device with very small buffers.
This commit includes experimental work on improving the logic used to
determine the default buffer size.
2018-05-01 21:40:24 +10:00
David Reid 5b1a01d8ca Add NEON optimizations and fix a crash. 2018-04-30 10:22:13 +00:00
David Reid 85d5b5ef7a Fix typos. 2018-04-30 09:33:26 +00:00
David Reid e0d62f90f2 Increase default period size 2018-04-30 09:09:10 +00:00
David Reid 9b5b777cab Improve compiler support. 2018-04-29 21:20:53 +10:00
David Reid dbe3166c0e Fix compilation errors with TCC. 2018-04-29 18:51:26 +10:00
David Reid 631079d724 Use better inline assembly.
This fixes a compiler error with Clang.
2018-04-29 16:23:55 +10:00
David Reid 6500c8cd78 Update change log. 2018-04-29 14:06:01 +10:00
David Reid 859720ec2b Add helpers for initializing format converter configs. 2018-04-29 13:24:35 +10:00
David Reid 994c86fceb Add initial support for dithering. 2018-04-29 13:17:30 +10:00
David Reid fcda380f85 Give Vorbis a higher priority over MP3.
The reason for this is that the MP3 decoder does not currently have a
good way of determining if the stream is actually a valid MP3 stream.
2018-04-27 21:33:47 +10:00
David Reid 7c24036c7c Fixes to device info retrieval for Emscripten. 2018-04-25 19:01:32 +10:00
David Reid 3301b1798c Fix Emscripten build. 2018-04-25 18:46:17 +10:00
David Reid dfe0c01643 Tabs to spaces. 2018-04-25 17:54:23 +10:00
David Reid 812372dd2b Add some validation to mal_context_get_device_info(). 2018-04-25 17:52:06 +10:00
David Reid 12e6b10800 ALSA: Add support for retrieving detailed device info. 2018-04-25 17:48:32 +10:00
David Reid 0384d8aaaa Pulse: Add support for retrieving detailed device info. 2018-04-25 16:37:50 +10:00
David Reid ccb4626bc9 Minor documentation update. 2018-04-25 16:24:13 +10:00
David Reid f5a63486f3 JACK: Add support for retrieving detailed device info. 2018-04-25 16:18:22 +10:00
David Reid d8dad66ef7 OSS: Add support for retrieving detailed device info. 2018-04-25 12:59:02 +10:00
David Reid ae46e98901 OpenSL: Add support for retrieving detailed device info. 2018-04-25 11:54:05 +10:00
David Reid 5bba3c8f80 Fix some GCC compilation errors. 2018-04-25 10:38:24 +10:00
David Reid edeadf1770 SDL: Add support for retrieving detailed device info. 2018-04-25 10:33:05 +10:00
David Reid 9de444c59c OpenAL: Add support for retrieving detailed device info. 2018-04-25 10:04:16 +10:00
David Reid 64e35acf57 Bug fix for DirectSound. 2018-04-25 09:53:28 +10:00
David Reid 82911b2586 WinMM: Add support for retrieving detailed device info. 2018-04-25 09:45:36 +10:00
David Reid 5b069848a3 DirectSound: Add support for retrieving detailed device info. 2018-04-25 08:32:07 +10:00
David Reid e2f6d4ab59 Fixes to the Clang build. 2018-04-24 19:39:27 +10:00
David Reid ca1c8b2181 Fix link errors with GCC/Clang on Windows. 2018-04-24 19:07:33 +10:00
David Reid 9c076941ed Don't include Unknown as a supported format to the null backend. 2018-04-22 11:52:31 +10:00
David Reid 76905d984c Start work on adding support for detailed device info retrieval. 2018-04-22 11:45:31 +10:00
David Reid 8e61ea0e49 Fix bug in DSP initialization. 2018-04-22 07:23:25 +10:00
David Reid 1051ab9af3 Fix errors with incorrectly reported frame counts from data conversion. 2018-04-21 22:10:13 +10:00
David Reid 39d44ae2bb Fix compilation error when compiling with -std=c99. 2018-04-21 20:38:58 +10:00
David Reid f62ce71b4c Some minor thread safety fixes. 2018-04-21 17:11:35 +10:00
David Reid 699fae5d97 Prep work for SIMD optimizations to format conversion. 2018-04-21 15:44:29 +10:00