Commit Graph

3747 Commits

Author SHA1 Message Date
Chris Robinson 0ff349a714 Convert the QSA backend to C++
This may very well not work, since there's no testing and my IDE is not able to
show real problems over the incompatibilities with ALSA headers.
2018-11-13 01:56:34 -08:00
Chris Robinson 09ea1d58f6 Convert the backend base to C++ 2018-11-13 01:39:42 -08:00
Chris Robinson 74d1337cc7 Convert the ALSA backend to C++ 2018-11-13 01:36:17 -08:00
Chris Robinson 1f34af4718 Convert the JACK backend to C++ 2018-11-13 01:20:15 -08:00
Chris Robinson 51a1310902 Convert the OpenSL backend to C++ 2018-11-13 00:33:25 -08:00
Chris Robinson c93b7ca0da Convert the OSS backend to C++ 2018-11-12 23:49:11 -08:00
Chris Robinson d9a47ab63c Convert the PortAudio backend to C++ 2018-11-12 23:32:11 -08:00
Chris Robinson dd9ccde055 Convert the SoundIO backend to C++ 2018-11-12 23:17:27 -08:00
Chris Robinson efae7bfb72 Convert the Solaris backend to C++ 2018-11-12 23:06:31 -08:00
Chris Robinson e7ab5053e4 Convert the SDL2 backend to C++ 2018-11-12 22:57:39 -08:00
Chris Robinson a6d780574d Make the enumerated HRTF entry name a char*
Would ideally be a std::string with the HRTF name itself, but they're still
seen in C code.
2018-11-12 22:26:12 -08:00
Chris Robinson d4d0b1fdd4 Use a regular char* for the HRTF string name 2018-11-12 19:02:38 -08:00
Chris Robinson c0f2858f3d Split Windows-specific SetRTPriority 2018-11-12 18:05:16 -08:00
Chris Robinson 4def2a60f2 Clean up helpers.cpp some 2018-11-11 23:13:11 -08:00
Chris Robinson c66db3cdf6 Use the correct type for __control87_2 2018-11-11 22:27:37 -08:00
Chris Robinson c23ea494ea Fix getting the process binary for FreeBSD or macOS 2018-11-11 22:19:32 -08:00
Chris Robinson 5848dab92d Make AmbDecConf::load noexcept
To ease the ovewrhead of destructors that call C (non-noexcept) functions.
2018-11-11 20:40:37 -08:00
Chris Robinson f8bda31c72 Remove unused wstr functions 2018-11-11 20:40:02 -08:00
Chris Robinson 51ed335833 Use C++ more with helpers.cpp 2018-11-11 19:17:40 -08:00
Chris Robinson 4793e5c4ae Use C++ for GetProcBinary 2018-11-11 16:09:24 -08:00
Chris Robinson 58a71a1a00 Convert helpers.c to C++ 2018-11-11 14:56:25 -08:00
Chris Robinson d3c4bab7bb Use a vector in the wave backend 2018-11-11 03:29:43 -08:00
Chris Robinson f99b16daa9 Use C++ threads in the null and wave backends 2018-11-11 00:33:04 -08:00
Chris Robinson 2f42f74418 Ensure ambdec parsing stops at unexpected EOF 2018-11-10 19:38:52 -08:00
Chris Robinson 3939878cc0 Use standard timing methods for the null and wave backends 2018-11-10 19:31:23 -08:00
Chris Robinson dc31969b04 Get rid of the last few al_fopen calls 2018-11-10 04:27:10 -08:00
Chris Robinson 58eb0e754d Load config files using C++
Specifically, avoid al_fopen
2018-11-10 03:42:18 -08:00
Chris Robinson 5ec644f859 Convert alconfig to C++ 2018-11-10 00:13:35 -08:00
Chris Robinson 981205de36 Remove unused strdupW 2018-11-10 00:01:34 -08:00
Chris Robinson 68bcf81756 Remove the unused file mapping calls 2018-11-09 23:51:29 -08:00
Chris Robinson d8163a416a Use C++ more in hrtf.cpp 2018-11-09 23:47:42 -08:00
Chris Robinson add776ddbb Handle the open mode in al::ifstream 2018-11-09 21:56:05 -08:00
Chris Robinson db56fd5e3d Convert hrtf.c to C++ 2018-11-09 18:08:42 -08:00
Chris Robinson e8679e7214 Convert the null backend to C++ 2018-11-09 03:46:30 -08:00
Chris Robinson 781ca7c58b Convert the loopback backend to C++ 2018-11-09 03:15:57 -08:00
Chris Robinson b327a50a15 Add missing consttructor and destructor calls for the wave backend 2018-11-09 02:55:28 -08:00
Chris Robinson b2cdfe58eb Convert the wave backend to C++ 2018-11-09 01:55:54 -08:00
Chris Robinson 55c860deec Use C++ with the winmm backend 2018-11-09 01:34:59 -08:00
Chris Robinson 75eeb6ba4b Convert the WinMM backend to C++ 2018-11-08 20:32:31 -08:00
Chris Robinson 41aa9845c4 Hide function pointer wrapper macros for IDE parsing 2018-11-07 18:26:33 -08:00
Chris Robinson 3cb0999a23 Use the proper enum values for atomic ops 2018-11-06 21:33:08 -08:00
Chris Robinson d76e9800da Use a more appropriate type for the result of tellg 2018-11-06 18:55:00 -08:00
Chris Robinson 3b664041ba Convert the DSound backend to C++ 2018-11-06 02:17:20 -08:00
Chris Robinson 9fa31fcd07 Avoid moving istringstreams
Doesn't work with GCC 4.x. Hopefully swapping does.
2018-11-04 19:11:07 -08:00
Chris Robinson 4dafb7dab1 Use C++ to read and parse ambdec files 2018-11-04 15:24:24 -08:00
Chris Robinson 26f7007507 Allocate the appropriate amount in the aligned allocator 2018-11-04 15:21:03 -08:00
Chris Robinson 087fdd3ca9 Properly mark arrays constexpr and/or static 2018-11-04 15:19:48 -08:00
Chris Robinson 96819237d6 Convert ambdec.c to C++ 2018-11-03 19:51:23 -07:00
Chris Robinson 4bfaa173c4 Convert panning.c to C++ 2018-11-03 19:05:23 -07:00
Chris Robinson ba5ec8b074 Be more C++-friendly with the B-Format decoder 2018-11-03 18:00:05 -07:00