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
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