Commit Graph

  • 575790bb29 Update GitHub templates. David Reid 2025-02-19 18:43:15 +10:00
  • e49ce7df95 Update readme. David Reid 2025-02-19 18:43:00 +10:00
  • d672b9610f Add a couple of Vorbis and Opus files for testing. David Reid 2025-02-19 18:10:47 +10:00
  • 3889066fac Update CMake build script. David Reid 2025-02-19 18:09:00 +10:00
  • ff66923b9a Fix a compilation warning. David Reid 2025-02-19 18:05:53 +10:00
  • e3151f2df1 Silence an unreachable code warning with MSVC. David Reid 2025-02-19 12:32:12 +10:00
  • abb81fe95c Fix a warning in miniaudio_libvorbis. David Reid 2025-02-19 12:31:48 +10:00
  • 0ea924ae7a Merge branch 'dev' into dev-0.12 David Reid 2025-02-19 12:09:13 +10:00
  • 8ad250ccf6 Updates to custom decoders. David Reid 2025-02-19 12:02:37 +10:00
  • b40803cf97 Update fs. David Reid 2025-02-19 12:01:22 +10:00
  • 466a1354ce Experiment with a fix for older versions of Clang. David Reid 2025-02-19 10:30:09 +10:00
  • e08c1303ef Fix a bug with the deviceio test. David Reid 2025-02-19 09:43:51 +10:00
  • 698a4319f0 Update fs. David Reid 2025-02-19 09:43:19 +10:00
  • eee86a0ae1 Fix the C++ build for some examples. David Reid 2025-02-19 08:28:01 +10:00
  • d3a4b9cf20 Minor changes to CMakeLists. David Reid 2025-02-19 08:23:11 +10:00
  • 48ac10d1e1 Fix a C++ compilation error. David Reid 2025-02-18 18:41:10 +10:00
  • 4b4349af52 Fix miniaudio_libvorbis.h compilation as c++ Edoardo Lolletti 2025-02-17 23:03:06 +01:00
  • 724dac6af1 Fix compilation errors. David Reid 2025-02-18 18:26:07 +10:00
  • 391cca6e79 Merge branch 'dev' into dev-0.12 David Reid 2025-02-18 18:03:01 +10:00
  • a4d462e39e Add initial CMake file. David Reid 2025-02-18 17:53:44 +10:00
  • ef662aaddf Add a sound for testing. David Reid 2025-02-18 17:51:37 +10:00
  • 22a5c65c94 Update tests. David Reid 2025-02-18 17:46:57 +10:00
  • cff683a1b1 Add a non-interactive mode for the deviceio test. David Reid 2025-02-18 17:30:59 +10:00
  • 62d64d14bd Fix an error with band-pass filters. David Reid 2025-02-18 17:26:53 +10:00
  • cf9371748a Fix compilation warnings with some tests. David Reid 2025-02-17 18:15:22 +10:00
  • 640d70c307 Add deprecation notice to old libopus and libvorbis custom decoders. David Reid 2025-02-17 18:14:40 +10:00
  • 46788d59a8 Rework the libvorbis and libopus custom decoders. David Reid 2025-02-17 16:57:47 +10:00
  • 01d6297bec Fix some warnings with some more examples. David Reid 2025-02-17 16:52:54 +10:00
  • de5f370d09 Fix some warnings with examples. David Reid 2025-02-17 16:01:19 +10:00
  • 47aa3e34e0 Update gitignore. David Reid 2025-02-17 15:59:40 +10:00
  • 445cdcb82b AAudio: Fix a possible compilation error on older SDKs. David Reid 2025-02-17 10:28:43 +10:00
  • 34092dbfc8 Fix an unused parameter warning. David Reid 2025-02-17 09:44:09 +10:00
  • 14b986448f Minor change to ma_calculate_buffer_size_in_milliseconds_from_frames(). David Reid 2025-02-17 09:36:50 +10:00
  • a6ac898663 Minor adjustment to a calculation. David Reid 2025-02-17 09:30:40 +10:00
  • 017f8944d3 WASAPI: Release mapped buffer before stopping device Andrew Opalach 2025-02-03 13:58:49 -05:00
  • e15fd218be WASAPI: Fix drain on device stop Andrew Opalach 2025-02-02 15:24:33 -05:00
  • 4c7021e53d WASAPI: Fix an error when stopping a device. David Reid 2025-02-16 17:44:21 +10:00
  • 856494d253 Update docs for missing build options. David Reid 2025-02-16 15:45:56 +10:00
  • a0aac6b5ec Remove reference to MA_HAS_OPUS. David Reid 2025-02-16 15:17:37 +10:00
  • 60c7c776b4 PulseAudio: Fix a possible race condition with device init. David Reid 2025-02-16 14:59:16 +10:00
  • 125e9226fb Fix an error with ma_sound processing. David Reid 2025-02-16 13:18:52 +10:00
  • 4deb3d4c6a Remove a stray space. David Reid 2025-02-16 13:17:52 +10:00
  • 3ffdbdc710 Add miniaudio.c. David Reid 2025-02-16 10:30:00 +10:00
  • 9b9e71ab6c PulseAudio: Fix an error with the construction of the stream name. David Reid 2025-02-13 11:15:32 +10:00
  • f39bbe2f4d Revert "Fix for NDK issue 360. dlclose() skipped pre-API 28. This fixes weird crashes during uninit." znakeeye 2025-02-10 09:54:50 +01:00
  • 79bb4d7a37 Improved fix for dlclose() bug on Android. Now applying fix for all backends on Android < 28. znakeeye 2025-02-10 09:52:21 +01:00
  • f970144a3d Fix for NDK issue 360. dlclose() skipped pre-API 28. This fixes weird crashes during uninit. znakeeye 2025-02-09 22:57:24 +01:00
  • afc7e17fe6 Added MA_NO_RUNTIME_LINKING support for AAudio backend. znakeeye 2025-02-09 21:55:29 +01:00
  • ca3ecd9086 Merge branch 'dev' into dev-0.12 David Reid 2025-02-08 07:21:38 +10:00
  • 047200eace Fixed double-free issue in AAudio backend. znakeeye 2025-02-06 18:23:53 +01:00
  • 6d5efde254 Rename secondIndex variables to seekPointInSeconds HeroesOfBalkan 2025-01-13 12:47:29 +01:00
  • 9da8df1b9f Add explicit casts to suppress -Wfloat-conversion warnings HeroesOfBalkan 2025-01-13 12:43:06 +01:00
  • ed5964c9f6 Fix unused and unitialized variable warning HeroesOfBalkan 2025-01-13 12:16:38 +01:00
  • 7e81d3ac80 Refactor new methods to wrap around their PCM equivalents HeroesOfBalkan 2025-01-13 12:08:58 +01:00
  • 450dcb1af3 Fix bug returning success when NULL is passed & typo corrected in a comment HeroesOfBalkan 2025-01-12 15:27:32 +01:00
  • 38f7d29f6f New API methods to seek data sources using seconds HeroesOfBalkan 2025-01-12 15:08:07 +01:00
  • 1fe39f949a Fix a documentation error. David Reid 2025-01-21 13:04:24 +10:00
  • 3fb7027682 Update gitignore. David Reid 2025-01-18 14:30:00 +10:00
  • 14a455143f Version control some osaudio files. David Reid 2025-01-18 14:20:13 +10:00
  • 977bd616ff Add icons for website. David Reid 2025-01-18 14:19:44 +10:00
  • a3ae2e71ff Fix a typo. David Reid 2025-01-18 14:13:53 +10:00
  • 68a526a759 Update copyright date. David Reid 2025-01-18 10:48:35 +10:00
  • 8383893c9c Fix a bug in ma_data_source_read_pcm_frames_from_backend(). David Reid 2025-01-18 07:14:55 +10:00
  • 7a25af64d6 Fix a crash in ma_data_source_seek_pcm_frames(). David Reid 2025-01-17 19:11:26 +10:00
  • fc905ec97f Add simple_spatialization example. David Reid 2025-01-11 18:42:34 +10:00
  • 69df19f0b6 Propagate the first decoding backend error from initialization. David Reid 2025-01-11 17:27:40 +10:00
  • bb9f9ca041 Remove some out of date code. David Reid 2025-01-11 17:24:38 +10:00
  • 33499941ae Merge branch 'dev' into dev-0.12 David Reid 2025-01-11 17:03:23 +10:00
  • 3081e314b7 Update change history. David Reid 2025-01-11 16:47:30 +10:00
  • fcddfe6204 Update ma_pcm_rb data source implementation. David Reid 2025-01-11 16:30:15 +10:00
  • 547ef1c9b7 Don't return MA_AT_END from ring buffers. David Reid 2025-01-11 15:57:42 +10:00
  • 928ed8bd85 Web Audio: Enable threading in ma_engine if compiling with -pthread. David Reid 2025-01-11 13:00:33 +10:00
  • ae2cd4bea4 Web Audio: Add support for variable buffer sizes to Audio Worklets. David Reid 2025-01-11 10:17:20 +10:00
  • b53daca554 Clean up. David Reid 2025-01-11 09:25:43 +10:00
  • 1a7a9a7ed2 Fix build for emscripten before 3.1.70 francois@recisio.com 2024-11-14 16:29:27 +01:00
  • 82ae0138f3 Improve fix, handle all outputs francois@recisio.com 2024-11-14 16:16:57 +01:00
  • 8d5bf8210c WebAudio: Fix a noise sound before device was started francois@recisio.com 2024-11-05 15:32:39 +01:00
  • ad615af1a8 Fix some warnings with GCC. David Reid 2025-01-11 08:47:29 +10:00
  • 3a34c049fa Merge branch 'dev' of https://github.com/mackron/miniaudio into dev David Reid 2025-01-10 13:02:37 +10:00
  • 970c3801d9 Small fixes in tools/audioconverter Dmitry Atamanov 2025-01-09 20:18:08 +05:00
  • da76932f6b Update change history. David Reid 2025-01-06 10:52:12 +10:00
  • 7dbb9f5e1a Fix missing ma_resampler_init argument in docs strager 2025-01-05 17:49:57 -05:00
  • 22489aeff1 Merge branch 'dev' into dev-0.12 David Reid 2025-01-06 08:59:30 +10:00
  • bff9689b80 Moved null check to ma_close_stream__aaudio(). znakeeye 2025-01-05 00:47:31 +01:00
  • bea73835dd A very minor change for style consistency. David Reid 2025-01-04 18:16:38 +10:00
  • 6e1b0dbce4 AAudio: Explicitly stop the device in the event of a reroute failure. David Reid 2025-01-04 18:13:54 +10:00
  • 08152a6a6d AAudio: Adjustments to a compatibility workaround. David Reid 2025-01-04 10:05:37 +10:00
  • b6747d5efc Fix rare crash during uninit where the streams got closed by worker thread (re-routing) and never re-opened. znakeeye 2025-01-02 00:13:11 +01:00
  • cbabd2d13a AAudio re-routing slightly improved. Retrying re-routing at most three times. If some BlueTooth device goes nuts and toggles connection state back and forth, we bail out. znakeeye 2024-12-30 21:45:38 +01:00
  • 546e23c0fb Fix an edge case where the newly re-routed stream gets disconnected and fails to start. Re-routing (again) solves this very rare error. znakeeye 2024-12-30 17:08:17 +01:00
  • 1b6d634299 Changed log level for re-routing errors. znakeeye 2024-12-29 15:26:29 +01:00
  • 7f911f3d12 Add some logging when re-routing fails. Set device status to stopped. znakeeye 2024-12-29 14:37:15 +01:00
  • 75f46c6105 Fix re-routing issue where device inadvertently switches to legacy path after toggling devices. The legacy path (AudioStreamLegacy) has been proven to cause sudden disconnections with no callbacks being called, resulting in no audio. Also, when reading default device, we give the AAUDIO_PERFORMANCE_MODE_LOW_LATENCY hint, allowing for non-legacy path. znakeeye 2024-12-29 14:09:40 +01:00
  • 51e005369f Fix a possible deadlock. David Reid 2025-01-04 17:52:18 +10:00
  • d628284548 Fix a thread-safety error with ma_device_start/stop(). David Reid 2025-01-04 09:07:20 +10:00
  • 059a25d9c5 Minor update to tests build instructions for Emscripten. David Reid 2025-01-04 09:05:39 +10:00
  • 6a8a756b88 Fix typo in docs strager 2024-12-19 15:19:55 -05:00
  • 8b6611299e Fix a possible null pointer dereference. David Reid 2024-12-17 14:14:18 +10:00
  • ee506b17ea Update dr_libs. David Reid 2024-12-17 10:06:28 +10:00
  • 12a8d4e491 fixing issue: error: implicit conversion turns floating-point number into integer: 'const Float64' (aka 'const double') to 'ma_uint32' (aka 'unsigned int') [-Werror,-Wfloat-conversion] Brian Whitman 2024-08-30 19:31:54 -07:00