Commit Graph

4099 Commits

Author SHA1 Message Date
David Reid 0c50484b74 Add mal_dsp_set_input_sample_rate(). 2018-02-25 19:42:46 +10:00
David Reid 6978ab2640 Increase maximum channel count to 32. 2018-02-25 19:27:57 +10:00
David Reid a73700c1de Change the default channel mapping to the same as that used by FLAC. 2018-02-25 18:47:30 +10:00
David Reid 54446d7328 Add mal_dsp_config_init_ex(). 2018-02-25 18:34:45 +10:00
David Reid a321e6a543 Update the simple playback example.
This makes the multi playback example obsolete and has thus been
removed.
2018-02-25 18:25:18 +10:00
David Reid 25618ab3e4 Add support for initializing a device without a context.
This commit also changes mal_src_read_frames and mal_dsp_read_frames so
that they take and return 64-bit frame counts.
2018-02-25 18:23:12 +10:00
David Reid c47c416dd7 Update readme with info on the decoding API. 2018-02-25 10:14:44 +10:00
David Reid 5d3fe6d487 Update example. 2018-02-25 10:13:04 +10:00
David Reid 5ea52cd880 Add dr_mp3 to extras. 2018-02-25 10:12:45 +10:00
David Reid e6eb3346b8 Fix some copy and paste errors. 2018-02-25 10:12:32 +10:00
David Reid ab17fcbc6c Fix some warnings on the 64-bit build. 2018-02-25 09:08:54 +10:00
David Reid c1f611c21b Replace minimp3 with dr_mp3. 2018-02-25 09:05:35 +10:00
David Reid d4798adc6d Initial work on the MP3 decoder.
This currently uses minimp3, but this may change.
2018-02-24 14:51:10 +10:00
David Reid 9eb2b3532c Update change log. 2018-02-24 09:41:02 +10:00
David Reid c294f0ee3d More clean up for the multi_playback example. 2018-02-24 09:35:53 +10:00
David Reid 3d0a535b9b Fix warnings in jar_xm.h 2018-02-24 09:34:06 +10:00
David Reid 400ca25a90 Minor clean up to the multi_playback example. 2018-02-24 09:32:33 +10:00
David Reid bc687c8b89 Fix build error in jar_xm.h 2018-02-24 09:31:54 +10:00
David Reid 0bf9be4356 Add support for Vorbis (via stb_vorbis) to the decoder API. 2018-02-24 09:28:10 +10:00
David Reid 16a0927c75 Fix a compilation error in jar_mod.h. 2018-02-24 08:55:03 +10:00
David Reid d1a7c9b848 Make Vorbis a lower priority over FLAC. 2018-02-21 20:22:51 +10:00
David Reid f89fbe04c5 Use the correct default channel mapping for FLAC. 2018-02-21 20:08:55 +10:00
David Reid 48dd8a318a Add support for FLAC decoding. 2018-02-21 19:06:53 +10:00
David Reid eb95f6fa8d Merge branch 'dev' into decoder 2018-02-21 18:37:42 +10:00
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