Commit Graph

475 Commits

Author SHA1 Message Date
David Reid 12f0b63574 Merge pull request #13 from raysan5/master
Fix timming issue with macOS
2018-02-21 18:34:25 +10:00
Ray ecadbfebb6 Fix timming issue with macOS
Some old versions of OS X, previous to Sierra, do not support
CLOCK_MONOTONIC based timer, added support for MATCH timer.
2018-02-20 22:44:13 +01:00
David Reid 631ab4d69b Update example for the decoder API. 2018-02-20 21:41:24 +10:00
David Reid 7ce6a5fb3e Add support for WAV files to the decoder API. 2018-02-20 21:40:11 +10:00
David Reid ec2ca9a32b Silence some warnings in an example. 2018-02-19 21:47:58 +10:00
David Reid 48b7e5cf5f Set up some infrastructure for the decoder abstraction. 2018-02-19 21:47:48 +10:00
David Reid dba13955c4 Set up some stubs for the decoder API. 2018-02-18 21:59:04 +10:00
David Reid 3c168caa56 v0.6c 2018-02-12 18:58:07 +10:00
David Reid 5dc78518cb Merge pull request #12 from a3f/patch-1
Support {Net,Open}BSD OSS
2018-02-12 18:53:25 +10:00
Ahmad Fatoum a8cd5b2dcf Support {Net,Open}BSD OSS
Fixed this build failure building raylib:
http://www.cpantesters.org/cpan/report/a069fade-0e1f-11e8-a1cf-bb670eaac09d

Functionality is untested, but it now compiles on NetBSD. A quick google search for
libossaudio OpenBSD indicates that linking to libossaudio would be required there too.

raylib issue: raysan5/raylib#463
2018-02-11 12:19:33 +01:00
David Reid 7f6218e847 Merge branch 'master' of https://github.com/dr-soft/mini_al 2018-02-03 20:22:08 +10:00
David Reid d4c12dbf80 Fix some warnings when compiling with Visual C++. 2018-02-03 20:19:36 +10:00
David Reid 5dc5258fdf Fix a warning. 2018-01-26 12:58:33 +10:00
David Reid f47ec961a1 Version 0.6a 2018-01-26 12:40:08 +10:00
David Reid 679ae6de6c Fix errors with channel mixing when increasing the channel count. 2018-01-26 06:27:52 +10:00
David Reid bd744e7ed7 Improvements to the build system for the OpenAL backend. 2017-12-14 19:32:12 +10:00
David Reid ed3b3761ab Fix a typo. 2017-12-09 10:11:22 +10:00
David Reid b1ca581019 Prepare version 0.6. 2017-12-08 20:16:55 +10:00
David Reid 89e89e4a7b Tweak some values for Raspberry Pi. 2017-12-08 20:08:03 +10:00
David Reid da78f93e0d Fix compilation error with some placeholder code. 2017-12-06 18:44:47 +10:00
David Reid 6db4bc58c2 Update change log. 2017-12-03 17:24:18 +10:00
David Reid 056c100ecf Update gitignore. 2017-12-03 17:10:13 +10:00
David Reid 35af204e21 Clean up whitespace. 2017-12-03 17:09:23 +10:00
David Reid 5d0705b34e Check the return value of mal_device_start() in examples. 2017-12-03 17:02:30 +10:00
David Reid 8727d3d8ba Clean up. 2017-12-03 11:10:28 +10:00
David Reid cfb3a64010 ALSA: Experimental work on device-specific default buffer sizes. 2017-12-03 10:34:13 +10:00
David Reid 0b2967c278 Add mal_dsp_config_init(). 2017-12-03 07:58:20 +10:00
David Reid 63cdc5efe9 Improvements to the OpenAL backend. 2017-12-02 14:14:37 +10:00
David Reid ac00f05825 Add support for compile-time linking for OpenAL. 2017-12-02 10:13:01 +10:00
David Reid f2b59e8135 Fix a typo.
Fixes issue #7
2017-12-02 10:01:58 +10:00
David Reid 585ad04812 SDL: Fix incorrect buffer size calculations. 2017-11-24 21:43:11 +10:00
David Reid f47fa01c00 Add SDL to mal_get_backend_name(). 2017-11-23 18:31:05 +10:00
David Reid 695dc2b902 Fix VC6 build. 2017-11-21 19:34:17 +10:00
David Reid 3acd03b133 Fix a bug in mal_device_start() where the wrong value is returned.
This issue affects the OpenSL and SDL backends.
2017-11-21 06:34:21 +10:00
David Reid 2eebeda814 Fix an error with the SDL 1.2 backend. 2017-11-20 21:45:41 +10:00
David Reid 54c6842eff Update documentation. 2017-11-19 19:36:50 +10:00
David Reid 4ae623e9b4 Add some early work on tracking the name of devices.
This commit implements a generic method for determining the name which
simply performs an enumeration and compares against IDs. The problem
with this technique is that it cannot know the name of the default
device without help from the backend.
2017-11-19 15:50:12 +10:00
David Reid ef8c2c2d00 Update the title. 2017-11-19 12:18:06 +10:00
David Reid 7d5a59ee50 Update build instructions for Emscripten. 2017-11-19 12:13:29 +10:00
David Reid 4eb4077add Fix typo. 2017-11-19 12:09:53 +10:00
David Reid c340035fe6 Polish the SDL backend and the Emscripten build.
* Remove dependency on SDL.h where possible
 * Use run-time linking where possible
 * Support both SDL 1.2 and SDL 2
 * Add device enumeration when using SDL 2

The Emscripten build currently uses SDL 1.2 because it avoids the need
for "-s USE_SDL=2" when compiling. This may change later if there's
ever a need or if there's enough demand.
2017-11-19 12:04:58 +10:00
David Reid fbecb5dedf Initial work on an experimental SDL backend for Emscripten. 2017-11-18 22:29:15 +10:00
David Reid 0f409ac32c Update the multi_playback example to include FLAC and Vorbis. 2017-11-18 16:26:45 +10:00
David Reid 5de1079427 Get jar_mod and jar_xm compiling with MSVC. 2017-11-18 15:19:36 +10:00
David Reid 7649aa5348 Add jar_mod and jar_xm to readme. 2017-11-18 15:18:49 +10:00
David Reid 8c7e9fd6b2 Merge pull request #6 from r-lyeh/master
extend with PD MOD/XM player
2017-11-18 14:53:16 +10:00
David Reid 1e18d68fd5 Update log. 2017-11-18 11:51:07 +10:00
David Reid 3f45def36b Don't use run-time linking of pthread on Android nor Emscripten. 2017-11-18 11:44:58 +10:00
David Reid ce05440620 Fix compilation errors and warnings with the Android build. 2017-11-18 11:28:06 +10:00
David Reid 3bf830079f Don't use OSS with Emscripten. 2017-11-18 10:23:36 +10:00