David Reid
d1b3637082
OpenAL: Improvements to how the shared library is opened at runtime.
2018-03-04 22:15:29 +10:00
David Reid
a03d2a3fb8
Pulse: Rename a variable for consistency.
2018-03-04 21:33:06 +10:00
David Reid
968905c993
OSS: Fix a bug where the internal sample rate is incorrectly set.
2018-03-04 21:28:01 +10:00
David Reid
d6035a44a1
ALSA: Release memory used internally by ALSA itself.
...
This is internal to ALSA itself, and is fixed by calling
snd_config_update_free_global() when a context is uninitialized. Not
doing this results in Valgrind (and likely other memory leak checkers)
to report errors which is just annoying.
2018-03-04 10:36:00 +10:00
David Reid
53692202a2
Fix memory leaks in the advanced config example.
2018-03-04 10:22:27 +10:00
David Reid
f0fff97fd9
Fix a bug in mal_device_init().
2018-03-04 10:19:47 +10:00
David Reid
d2ced2e6bb
ALSA: Close asound.so when the context is uninitialized.
2018-03-04 10:15:40 +10:00
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