Commit Graph

520 Commits

Author SHA1 Message Date
David Reid 3e94b02906 Pulse: Remove dependency on pulse/pulseaudio.h 2018-03-04 08:59:04 +10:00
David Reid e7ddd6afcd Pulse: Remove an unnecessary #include. 2018-03-03 22:04:38 +10:00
David Reid 7e7b833f48 Remove a debugging printf. 2018-03-03 21:59:15 +10:00
David Reid ca3a024212 ALSA: Fix an infinite loop bug during device initialization. 2018-03-03 21:58:30 +10:00
David Reid 372b3dd562 Add PulseAudio to the readme. 2018-03-03 21:45:26 +10:00
David Reid fe119717bf Update dr_mp3. 2018-03-03 21:44:51 +10:00
David Reid 7a3203ed82 Replace a memcpy with mal_copy_memory. 2018-03-03 21:42:38 +10:00
David Reid e2f0dce7c0 Use mal_channel instead of mal_uint8 where applicable. 2018-03-03 21:41:11 +10:00
David Reid 174938e942 Fix a bug in the enumeration example. 2018-03-03 21:29:00 +10:00
David Reid 075e5dfa4e Pulse: Bug fixes. 2018-03-03 21:27:49 +10:00
David Reid 63ed574648 Pulse: Remove dependency on -lpulse. 2018-03-03 20:14:23 +10:00
David Reid c8ae6f6ad4 Pulse: Use an equivalent cmap as the one requested when initializing. 2018-03-03 18:08:36 +10:00
David Reid 00eec752df Pulse: Correctly set the device name. 2018-03-03 17:31:34 +10:00
David Reid bf781ee29a Pulse: Remove dependency on the simple API. 2018-03-03 14:57:35 +10:00
David Reid a25bb3602f PulseAudio: Get device enumeration working. 2018-03-01 19:09:21 +10:00
David Reid 9665246123 Use MAL_CHANNEL_MONO instead of MAL_CHANNEL_FRONT_CENTER. 2018-02-28 19:32:19 +10:00
David Reid 7600817ecd Get basic playback working with PulseAudio. 2018-02-27 16:49:46 +10:00
David Reid 3afb29afb5 Plug in some stub APIs for PulseAudio. 2018-02-27 09:47:55 +10:00
David Reid 891258a5b0 Version 0.7
The main changes for this version is the decoder API.
2018-02-25 20:32:50 +10:00
David Reid af2c185a1d Update example in README. 2018-02-25 20:01:23 +10:00
David Reid 87d05684b0 Add some device config initialization helpers. 2018-02-25 20:01:14 +10:00
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