David Reid
4d6a0ecbc7
Update documentation and clean up a few things with OpenSL.
2018-03-11 06:59:31 +10:00
David Reid
a1e8830d96
Add more information about the decoding API to the readme.
2018-03-11 06:21:10 +10:00
David Reid
adeda6ea95
Add mal_decoder_init_file_wav/flac/vorbis/mp3().
...
This commit also fixes a bad bug where initialization will always fail
when initializing from memory.
2018-03-11 06:20:47 +10:00
David Reid
03ccc5b8b7
Lower the priority of JACK to below OSS.
...
The reason for this change is to ensure OSS is chosen over JACK by
default on BSD platforms.
2018-03-10 22:26:00 +10:00
David Reid
f91d922253
Clean up.
2018-03-10 22:21:16 +10:00
David Reid
34a2294f12
Add support for configuring the priority of the worker thread.
2018-03-10 22:10:32 +10:00
David Reid
93fe66b7e3
Give PulseAudio priority over ALSA by default.
2018-03-10 20:12:17 +10:00
David Reid
5b41483af0
ALSA: Minor tweaks to the open mode used with snd_pcm_open().
2018-03-10 19:18:58 +10:00
David Reid
9d85ea6dd2
PulseAudio: Properly handle default format/channels/rate.
2018-03-10 18:03:11 +10:00
David Reid
9af027d488
Fix non-Windows builds.
2018-03-10 16:02:46 +10:00
David Reid
ad130c35d4
WinMM: Simplify format selection.
2018-03-10 15:01:27 +10:00
David Reid
fa8b090481
DirectSound: Improve the way APIs are loaded.
...
APIs are now per-context rather then per-device. This is leftover from
the no-context-API days.
2018-03-10 14:41:27 +10:00
David Reid
f4daf07770
DirectSound: Properly handle default format/channels/rate.
2018-03-10 14:22:46 +10:00
David Reid
eeb1024adf
WASAPI: Store the name of the device during initialization.
2018-03-09 21:39:38 +10:00
David Reid
c240e9b355
WASAPI: Properly support default format/channels/rate/chmap.
2018-03-09 21:14:25 +10:00
David Reid
0c2395419a
Update some documentation.
2018-03-08 21:23:33 +10:00
David Reid
2a0dcf28e5
Clean up.
2018-03-08 21:02:39 +10:00
David Reid
81ca0ccb7b
Introduce the notion of default device configurations.
2018-03-08 20:57:32 +10:00
David Reid
165c92ec8e
Make mal_device_init_ex() more robust.
2018-03-08 18:54:39 +10:00
David Reid
293d7424f8
Update readme.
2018-03-07 21:37:09 +10:00
David Reid
aa3c933857
Clean up some whitespace.
2018-03-07 21:08:14 +10:00
David Reid
642adeb4ae
ALSA: Remove dependency on asoundlib.h
...
With this commit, ALSA development packages are no longer required to
build mini_al.
2018-03-07 21:07:26 +10:00
David Reid
0281acff28
Update comment.
2018-03-06 22:06:41 +10:00
David Reid
0998798b99
Move some code in preparation for removing dependency on asoundlib.h
2018-03-06 20:57:28 +10:00
David Reid
8fa09a84f8
PulseAudio: Honour the MAL_NO_RUNTIME_LINKING option.
2018-03-06 20:28:14 +10:00
David Reid
430d15cd25
Minor rewording.
2018-03-05 22:37:18 +10:00
David Reid
2d885e9dc8
Add support for JACK to the Windows build.
2018-03-05 22:31:19 +10:00
David Reid
effed2d4a8
Update documentation to include mention of JACK.
2018-03-05 22:27:12 +10:00
David Reid
dfcaf178f9
Update playback example so it fits nicely on github's main page.
2018-03-05 22:17:27 +10:00
David Reid
066941f2d2
Add JACK to the readme.
2018-03-05 22:13:29 +10:00
David Reid
b6f72e22cd
JACK: Remove dependency on jack.h
2018-03-05 22:07:26 +10:00
David Reid
70268bc337
JACK: Remove dependency on -ljack.
2018-03-05 20:10:55 +10:00
David Reid
bc65fc653a
Fix compilation error.
2018-03-05 18:44:59 +10:00
David Reid
4c63178c06
Merge branch 'dev' into jack
2018-03-05 18:40:32 +10:00
David Reid
a1e1605014
Update change log.
2018-03-05 18:40:09 +10:00
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
eb620de0eb
JACK: Initial work on the JACK backend.
2018-03-04 21:10:53 +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