Commit Graph

531 Commits

Author SHA1 Message Date
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
David Reid f94f7e7608 Fix some warnings. 2018-04-21 13:31:04 +10:00
David Reid 4c4fe0836b Early experimental SIMD work. 2018-04-21 12:22:56 +10:00
David Reid 02b7ef1c2c Fix a compiler error on some compilers. 2018-04-12 18:42:58 +10:00
David Reid a9088c32bd Fix some typos. 2018-04-10 15:04:06 +10:00
David Reid 9245dce668 Prep work for some SIMD optimizations. 2018-04-08 14:05:06 +10:00
David Reid e7bc174bfc Update change log. 2018-04-08 10:11:18 +10:00
David Reid 383797c410 Re-arrange some code. 2018-04-08 09:51:55 +10:00
David Reid 8d54bde064 Add mal_convert_frames_ex() for specifying an explicit channel map. 2018-04-08 09:49:53 +10:00
David Reid 9131ff2029 Have mal_convert_frames() use the default channel map. 2018-04-08 09:41:15 +10:00
David Reid 819ca335fb Improvements to linear sample rate conversion. 2018-04-08 08:53:13 +10:00