Commit Graph

2531 Commits

Author SHA1 Message Date
David Reid d4add63b43 Silence some unused function warnings. 2020-11-28 10:40:51 +10:00
David Reid f400ccec8e Update c89atomic and fix some warnings. 2020-11-28 10:39:53 +10:00
David Reid 2d63e414fd Update revision history. 2020-11-28 10:05:09 +10:00
David Reid 0ef7381f75 Silence some unused function warnings. 2020-11-28 10:05:02 +10:00
David Reid f2811d7fe3 Fix a bug where some output parameters are possibly left unset. 2020-11-28 09:59:02 +10:00
David Reid d98e37984d Silence some warnings. 2020-11-28 09:54:51 +10:00
David Reid 61fed4c937 Fix a compilation warning and some minor formatting. 2020-11-28 08:33:46 +10:00
David Reid c454ef4163 Merge pull request #231 from MichealReed/dynamic_noise
added dynamic amplitude, seed, type to noise generation
2020-11-28 08:08:17 +10:00
David Reid e7940394b2 Fix some bugs with trying to access uninitialized variables. 2020-11-28 08:00:31 +10:00
Micheal Reed 54a80d6a1c whitespace/formatting 2020-11-25 11:05:33 -06:00
Micheal Reed c87ef42964 added dynamic amplitude, seed, type to noise generation 2020-11-25 11:03:43 -06:00
David Reid d6864c5ab5 Version 0.10.26 2020-11-24 17:56:22 +10:00
David Reid 992128da9f Update c89atomic. 2020-11-23 20:07:20 +10:00
David Reid 42611ca64c Fix a bug in the high level API when no pre-defined context is used. 2020-11-23 17:56:04 +10:00
David Reid f8c748870f Remove the use of bitfields in the public section of miniaudio_engine. 2020-11-23 17:38:44 +10:00
David Reid 0b98fe1a6b WASAPI: Fix a bug with exclusive mode. 2020-11-23 17:23:53 +10:00
David Reid 5f43515a2c Update revision history. 2020-11-22 12:16:32 +10:00
David Reid e0564d636e Remove bitfields from public structures.
This commit also removes some debugging code accidentally left in from
the previous commit.
2020-11-22 12:07:52 +10:00
David Reid d8dea2891e Fix compilation with Digital Mars.
This also fixes a bug in the WASAPI backend. Thanks to Digital Mars for
picking that one up!
2020-11-22 11:44:16 +10:00
David Reid 827129f0d8 Update c89atomic. 2020-11-22 09:31:54 +10:00
David Reid db91bcca17 Whitespace. 2020-11-21 13:27:49 +10:00
David Reid 1900da3b2d Fix some warnings. 2020-11-21 10:21:33 +10:00
David Reid f8671d6933 Update external libraries. 2020-11-21 09:22:00 +10:00
David Reid 217f4cc354 Minor formatting change. 2020-11-21 08:24:10 +10:00
David Reid e0aa5b45fc Merge pull request #224 from MichealReed/wave_type_api
Added API to change waveform type dynamically
2020-11-21 08:12:01 +10:00
David Reid 8f557ec1aa Merge pull request #226 from ccawley2011/watcom
Support compiling with OpenWatcom
2020-11-20 21:04:01 +10:00
Micheal Reed 3e51386497 Removed advanced update. 2020-11-19 15:32:49 -06:00
Cameron Cawley 994bffdb5a Support compiling with OpenWatcom 2020-11-19 17:55:55 +00:00
Micheal Reed b52bec5810 Added API to change waveform type dynamically 2020-11-18 12:32:54 -06:00
David Reid 7fd98209ef Migrate the WebAudio backend over to the new callback system.
This changes a few things for custom backends and the calculation of
the size of the buffer. See the custom_backend example.
2020-11-17 20:43:29 +10:00
David Reid dd9beefef4 Migrate the null backend over to the new callback system. 2020-11-16 20:17:44 +10:00
David Reid 8d734e9a08 Fix a glitching bug with ma_waveform.
Public issue https://github.com/mackron/miniaudio/issues/222
2020-11-16 18:08:26 +10:00
David Reid 464d1bd47b Migrate the JACK backend over to the new callback system. 2020-11-15 22:22:40 +10:00
David Reid 140bf99065 Version 0.10.25 2020-11-15 21:21:01 +10:00
David Reid b94249b010 Update dr_wav and dr_mp3. 2020-11-15 21:19:26 +10:00
David Reid 672cdf462d Migrate the WinMM backend over to the new callback system. 2020-11-15 21:10:29 +10:00
David Reid eb694c4498 Fix a bug in some compatibility code. 2020-11-15 20:04:30 +10:00
David Reid 2bed2caf46 Migrate the DirectSound backend to the new callback system.
This commit also fixes some bugs in the WASAPI backend.
2020-11-15 20:00:42 +10:00
David Reid db0442fb78 Migrate the WASAPI backend over to the new callback system.
This includes changes to callbacks used by custom backends. It adds a
`pConfig` parameter to both onContextInit and onDeviceInit. This allows
custom backends to specify custom config properties.
2020-11-15 15:41:15 +10:00
David Reid 561e21face Set up some infrastructure for transitioning to the new callbacks.
With the introduction of custom backends, it became necessary to
simplify the backend callbacks. For backwards compatibility, all
built-in backends are still using the old callbacks. Future commits are
going to be transitioning built-in backends to the new system. This
commit is designed to help with this migration so that we can migrate
backends one at a time while still keeping compatibility with this old
system, thereby allowing backends that haven't yet transitioned to keep
working.
2020-11-15 10:54:00 +10:00
David Reid 17769e88ba Experiment with adding support for multiple input streams to effects. 2020-11-14 18:43:33 +10:00
David Reid f80d1dd8f7 Fix a bug in ma_effect_process_pcm_frames_with_conversion(). 2020-11-14 16:41:48 +10:00
David Reid 75401a5487 Remove effect chaining from the main ma_effect API.
This is adding too much complexity, is less efficient than doing it
manually, and is not compatible with some future changes for supporting
effects that require multiple input streams.
2020-11-14 15:46:55 +10:00
David Reid ea545bc356 Rename ma_effect_process_pcm_frames_ex().
This is in preparation for some future work.
2020-11-14 15:33:09 +10:00
David Reid 3c5f1e1c76 Remove dual fader.
This has been replaced with a simpler fading system.
2020-11-14 13:13:41 +10:00
David Reid 9dece3c89f Core Audio: Try fixing a bug in capture mode for iOS. 2020-11-14 12:27:47 +10:00
David Reid 0b3d462875 Update revision history. 2020-11-14 10:01:30 +10:00
David Reid e7ba6a1512 PulseAudio: Fix a bug where the stop callback isn't fired.
Public issue https://github.com/mackron/miniaudio/issues/221
2020-11-14 09:49:09 +10:00
David Reid 05357d9f54 Merge pull request #219 from HiberWorld/bugfix/intermediary-buffer-ref
Fix intermediaryBufferView losing reference to wasm memory after heap resize
2020-11-13 20:25:50 +10:00
Thehink 56d22ae3da Recreate intermediaryBufferView if we lost ref 2020-11-12 16:39:12 +01:00