Commit Graph

  • d248f32919 Don't modify pDeviceInfo in mal_context_get_device_info() on error. David Reid 2018-03-18 19:36:02 +10:00
  • 65cb613343 Fix some errors with DirectSound. David Reid 2018-03-18 19:27:21 +10:00
  • 492dec699b Fix errors with GCC when Vorbis decoding is enabled. David Reid 2018-03-18 17:42:11 +10:00
  • 326f268b8f Fix some compilation errors with MinGW. David Reid 2018-03-18 17:31:00 +10:00
  • 54b590683a Move OSS above PulseAudio in the priority list. David Reid 2018-03-18 16:16:44 +10:00
  • 4f15e6d7e7 Whitespace. David Reid 2018-03-18 16:06:41 +10:00
  • f9a8ab0dcd Fix a warning. David Reid 2018-03-18 16:02:45 +10:00
  • 9c03157995 Use mal_strcmp() instead of strcmp(). David Reid 2018-03-18 15:43:08 +10:00
  • cf245b617d Remove the old device enumeration API. David Reid 2018-03-18 15:19:36 +10:00
  • 3a1dce6986 Update readme. David Reid 2018-03-18 14:57:29 +10:00
  • 3b1fe5962d Disable runtime linking of pthread by default. David Reid 2018-03-18 14:28:03 +10:00
  • d3edd02a74 OSS: Implement new device enumeration APIs. David Reid 2018-03-18 14:12:53 +10:00
  • 7c9b952fce Add building notes for Android. David Reid 2018-03-18 12:22:46 +10:00
  • d46409c4b5 Remove unnecessary statics. David Reid 2018-03-18 12:01:46 +10:00
  • a27a97f8c8 Add some thread safety to the ALSA backend. David Reid 2018-03-18 11:44:20 +10:00
  • 5f0f7eb2bb Simplify mal_context_get_device_info(). David Reid 2018-03-18 11:35:27 +10:00
  • 44ba584c28 Replace some instances of mal_strcpy_s() with mal_strncpy_s(). David Reid 2018-03-18 10:56:42 +10:00
  • 2c01858f3a SDL: Implement the new device enumeration APIs. David Reid 2018-03-18 10:29:36 +10:00
  • 59f01c5be0 OpenAL: Implement the new device enumeration APIs. David Reid 2018-03-18 10:02:12 +10:00
  • b8638f2c46 Use mal_strncpy_s() instead of mal_strcpy_s() in a few places. David Reid 2018-03-18 07:50:58 +10:00
  • 40aad047a1 OpenSL: Implement the new device enumeration APIs. David Reid 2018-03-18 07:44:39 +10:00
  • 789bd23246 JACK: Implement the new device enumeration APIs. David Reid 2018-03-18 06:47:19 +10:00
  • 90269f6c1a Fix some memory leaks. David Reid 2018-03-17 21:20:44 +10:00
  • 678ec058a1 PulseAudio: Implement the new device enumeration API. David Reid 2018-03-17 20:27:28 +10:00
  • 614d3e014b ALSA: Implement the new device enumeration API. David Reid 2018-03-17 19:11:07 +10:00
  • 79a95bc1b5 Stop disabling WASAPI on older compilers. David Reid 2018-03-17 11:45:02 +10:00
  • 4ea47b62a7 Implement the new device enumeration API for the null backend. David Reid 2018-03-17 09:46:07 +10:00
  • 25e0e7f0f6 Fix some undefined behaviour. David Reid 2018-03-17 09:13:02 +10:00
  • b4bcb3132a WinMM: Implement the new device enumeration APIs. David Reid 2018-03-17 09:10:37 +10:00
  • 52e03ff5b5 DirectSound: Implement the new device enumeration API. David Reid 2018-03-16 19:11:39 +10:00
  • d0762a0410 API CHANGE: Replace preferExclusiveMode with shareMode. David Reid 2018-03-15 20:16:27 +10:00
  • 9d599d7791 WASAPI: Implement the new enumeration APIs. David Reid 2018-03-15 19:59:58 +10:00
  • 627969d266 Reword some documentation for the new device enumeration APIs. David Reid 2018-03-13 21:46:27 +10:00
  • 5abd93b39d Initial untested work on an improved device enumeration API. David Reid 2018-03-13 21:36:43 +10:00
  • 5492b87085 Update readme. David Reid 2018-03-11 21:39:27 +10:00
  • 5921d0e229 WASAPI: Remove dependency on audioclient.h David Reid 2018-03-11 21:14:47 +10:00
  • 1e981c6453 Update dr_mp3. David Reid 2018-03-11 21:04:12 +10:00
  • 0f9ec78ebe Update dr_mp3. David Reid 2018-03-11 21:01:01 +10:00
  • dcf78ded75 Update change log. David Reid 2018-03-11 16:18:14 +10:00
  • e9e18f40df DirectSound: Remove dependency on dsound.h David Reid 2018-03-11 15:58:43 +10:00
  • 8d95a22b0e Fix compilation error on the Windows build. David Reid 2018-03-11 12:00:43 +10:00
  • dd920bb7f5 Remove backend-specific result codes. David Reid 2018-03-11 11:27:39 +10:00
  • 4c2e0101b7 Change the default channel mapping to the standard Microsoft mapping. David Reid 2018-03-11 10:55:31 +10:00
  • 164dbd5b76 Make the mono channel position it's own entity. David Reid 2018-03-11 10:44:46 +10:00
  • 35fe3ae5cf Introduce the notion of standard channel maps. David Reid 2018-03-11 10:26:51 +10:00
  • 1d310ff0ea Clean up. David Reid 2018-03-11 07:58:51 +10:00
  • b2b20ee149 Fix a few bugs found through static analysis. David Reid 2018-03-11 07:50:05 +10:00
  • afb0029da0 Update the advanced config example. David Reid 2018-03-11 07:21:07 +10:00
  • f455c4b05c PulseAudio: Don't try auto-starting the daemon by default. David Reid 2018-03-11 07:09:52 +10:00
  • 4d6a0ecbc7 Update documentation and clean up a few things with OpenSL. David Reid 2018-03-11 06:59:31 +10:00
  • a1e8830d96 Add more information about the decoding API to the readme. David Reid 2018-03-11 06:21:10 +10:00
  • adeda6ea95 Add mal_decoder_init_file_wav/flac/vorbis/mp3(). David Reid 2018-03-11 06:20:47 +10:00
  • 03ccc5b8b7 Lower the priority of JACK to below OSS. David Reid 2018-03-10 22:26:00 +10:00
  • f91d922253 Clean up. David Reid 2018-03-10 22:21:16 +10:00
  • 34a2294f12 Add support for configuring the priority of the worker thread. David Reid 2018-03-10 22:10:32 +10:00
  • 93fe66b7e3 Give PulseAudio priority over ALSA by default. David Reid 2018-03-10 20:12:17 +10:00
  • 5b41483af0 ALSA: Minor tweaks to the open mode used with snd_pcm_open(). David Reid 2018-03-10 19:18:58 +10:00
  • 9d85ea6dd2 PulseAudio: Properly handle default format/channels/rate. David Reid 2018-03-10 18:03:11 +10:00
  • 9af027d488 Fix non-Windows builds. David Reid 2018-03-10 16:02:46 +10:00
  • ad130c35d4 WinMM: Simplify format selection. David Reid 2018-03-10 15:01:27 +10:00
  • fa8b090481 DirectSound: Improve the way APIs are loaded. David Reid 2018-03-10 14:41:27 +10:00
  • f4daf07770 DirectSound: Properly handle default format/channels/rate. David Reid 2018-03-10 14:22:46 +10:00
  • eeb1024adf WASAPI: Store the name of the device during initialization. David Reid 2018-03-09 21:39:38 +10:00
  • c240e9b355 WASAPI: Properly support default format/channels/rate/chmap. David Reid 2018-03-09 21:14:25 +10:00
  • 0c2395419a Update some documentation. David Reid 2018-03-08 21:23:33 +10:00
  • 2a0dcf28e5 Clean up. David Reid 2018-03-08 21:02:39 +10:00
  • 81ca0ccb7b Introduce the notion of default device configurations. David Reid 2018-03-08 20:23:23 +10:00
  • 165c92ec8e Make mal_device_init_ex() more robust. David Reid 2018-03-08 18:54:39 +10:00
  • 293d7424f8 Update readme. David Reid 2018-03-07 21:37:09 +10:00
  • aa3c933857 Clean up some whitespace. David Reid 2018-03-07 21:08:14 +10:00
  • 642adeb4ae ALSA: Remove dependency on asoundlib.h David Reid 2018-03-07 21:07:26 +10:00
  • 0281acff28 Update comment. David Reid 2018-03-06 22:06:41 +10:00
  • 0998798b99 Move some code in preparation for removing dependency on asoundlib.h David Reid 2018-03-06 20:57:28 +10:00
  • 8fa09a84f8 PulseAudio: Honour the MAL_NO_RUNTIME_LINKING option. David Reid 2018-03-06 20:28:14 +10:00
  • 430d15cd25 Minor rewording. David Reid 2018-03-05 22:37:18 +10:00
  • 2d885e9dc8 Add support for JACK to the Windows build. David Reid 2018-03-05 22:31:19 +10:00
  • effed2d4a8 Update documentation to include mention of JACK. David Reid 2018-03-05 22:27:12 +10:00
  • dfcaf178f9 Update playback example so it fits nicely on github's main page. David Reid 2018-03-05 22:17:27 +10:00
  • 066941f2d2 Add JACK to the readme. David Reid 2018-03-05 22:13:29 +10:00
  • b6f72e22cd JACK: Remove dependency on jack.h David Reid 2018-03-05 22:07:26 +10:00
  • 70268bc337 JACK: Remove dependency on -ljack. David Reid 2018-03-05 20:10:55 +10:00
  • bc65fc653a Fix compilation error. David Reid 2018-03-05 18:44:59 +10:00
  • 4c63178c06 Merge branch 'dev' into jack David Reid 2018-03-05 18:40:32 +10:00
  • a1e1605014 Update change log. David Reid 2018-03-05 18:40:09 +10:00
  • d1b3637082 OpenAL: Improvements to how the shared library is opened at runtime. David Reid 2018-03-04 22:15:29 +10:00
  • a03d2a3fb8 Pulse: Rename a variable for consistency. David Reid 2018-03-04 21:33:06 +10:00
  • 968905c993 OSS: Fix a bug where the internal sample rate is incorrectly set. David Reid 2018-03-04 21:28:01 +10:00
  • eb620de0eb JACK: Initial work on the JACK backend. David Reid 2018-03-04 21:10:53 +10:00
  • d6035a44a1 ALSA: Release memory used internally by ALSA itself. David Reid 2018-03-04 10:36:00 +10:00
  • 53692202a2 Fix memory leaks in the advanced config example. David Reid 2018-03-04 10:22:27 +10:00
  • f0fff97fd9 Fix a bug in mal_device_init(). David Reid 2018-03-04 10:19:47 +10:00
  • d2ced2e6bb ALSA: Close asound.so when the context is uninitialized. David Reid 2018-03-04 10:15:40 +10:00
  • 3e94b02906 Pulse: Remove dependency on pulse/pulseaudio.h David Reid 2018-03-04 08:25:08 +10:00
  • e7ddd6afcd Pulse: Remove an unnecessary #include. David Reid 2018-03-03 22:04:38 +10:00
  • 7e7b833f48 Remove a debugging printf. David Reid 2018-03-03 21:59:15 +10:00
  • ca3a024212 ALSA: Fix an infinite loop bug during device initialization. David Reid 2018-03-03 21:58:30 +10:00
  • 372b3dd562 Add PulseAudio to the readme. David Reid 2018-03-03 21:45:26 +10:00
  • fe119717bf Update dr_mp3. David Reid 2018-03-03 21:44:51 +10:00
  • 7a3203ed82 Replace a memcpy with mal_copy_memory. David Reid 2018-03-03 21:42:38 +10:00
  • e2f0dce7c0 Use mal_channel instead of mal_uint8 where applicable. David Reid 2018-03-03 21:41:11 +10:00