Commit Graph

2934 Commits

Author SHA1 Message Date
David Reid 40d89f90c7 Merge branch 'dev' into dev-0.11 2021-12-05 08:32:53 +10:00
David Reid 0ffceeefcf PulseAudio: Fix a possible division by zero. 2021-12-05 08:32:13 +10:00
David Reid 60290e6fd2 Remove an incorrect revision note. 2021-11-17 19:42:36 +10:00
David Reid db1de8e299 iOS: Don't fail on older versions when a session category is specified. 2021-11-17 19:41:29 +10:00
David Reid 1964144a46 Merge pull request #373 from orx/dev-0.11
Fixed compiling for iOS 11.x and earlier
2021-11-17 19:36:20 +10:00
David Reid eccbbdd0ec Merge branch 'dev' into dev-0.11 2021-11-17 19:19:16 +10:00
David Reid cf02c9e9a2 WebAudio: Fix errors in strict mode.
Public issue https://github.com/mackron/miniaudio/issues/363
2021-11-17 19:18:35 +10:00
iarwain 8e092f375a Fixed compiling for iOS 11.x and earlier 2021-11-16 03:12:51 -05:00
David Reid f225ae945c Merge branch 'dev' into dev-0.11 2021-11-14 17:51:29 +10:00
David Reid c221402e9c Update revision history. 2021-11-14 17:50:53 +10:00
David Reid 3f483f61fc ALSA: Fix enumeration of devices that support playback and capture.
It looks like IOID will be null when both modes are supported.

Public issue https://github.com/mackron/miniaudio/issues/365
2021-11-14 17:50:34 +10:00
David Reid 77cd309e0b Merge branch 'dev' into dev-0.11 2021-11-14 17:35:15 +10:00
David Reid 45622bd777 Update revision history. 2021-11-14 17:34:20 +10:00
David Reid ac60f859f2 Merge pull request #371 from cdsteinkuehler/uninitialized
Fix use of uninitialized variables
2021-11-14 17:34:11 +10:00
David Reid 75a6b8191c Add support for disabling listeners. 2021-11-14 17:04:07 +10:00
David Reid 2002913d9e Merge pull request #372 from orx/dev-0.11
Fixed compilation warnings & errors on iOS
2021-11-14 16:38:15 +10:00
David Reid 19a3eb69bc Update documentation for the UWP build. 2021-11-14 16:04:51 +10:00
David Reid 49a3ddcb59 Fix a crash in the UWP build. 2021-11-14 16:03:08 +10:00
David Reid 1bd6a43899 Fix compilation errors with the UWP build. 2021-11-14 14:58:35 +10:00
David Reid 1d91958e76 Add support for setting initial range/looping state at init time.
This applies for resource manager data source and sounds.
2021-11-14 14:21:47 +10:00
David Reid adf18f2db3 Add support for data sources to self manage loop points and ranges.
This addresses an issue where data streams can have a delay between
loop points due to it's asynchronous loading mechanism. With this
change, streams should now have a clean loop transition.
2021-11-14 10:36:17 +10:00
David Reid bb4078cc26 Fix a bug when reading from a looped data source with a range. 2021-11-14 09:27:45 +10:00
iarwain 7d84ec56eb Fixed compilation warnings on iOS with MRR (Manual Retain Release) 2021-11-10 21:05:48 -05:00
iarwain 4610482a70 Fixed missing [super dealloc] call on iOS 2021-11-10 05:16:22 -05:00
iarwain 54f6800288 Fixed some printf/Wformat warnings with llvm/32bit targets 2021-11-10 05:07:06 -05:00
iarwain 4c92d684dd Fixed misaligned atomic accesses on iOS/32bit targets 2021-11-10 05:02:02 -05:00
iarwain 32ae4f9384 Fixed a compilation warning with llvm 2021-11-10 04:24:38 -05:00
iarwain 760fa4c84a Fixed compilation errors on iOS 2021-11-10 02:39:36 -05:00
Charles Steinkuehler 51059e935c Fix use of uninitialized variables
When shutting down, the resultALSA variable can be used when
uninitialized in the ma_device_read__alsa and ma_device_write__alsa
routines.  This has been verified by both gcc warnings and in
application code (we were occasionally seeing segfaults when our
callback routine was being passed a crazy large value for the number of
frames read when shutting down).

Signed-off-by: Charles Steinkuehler <charles@steinkuehler.net>
2021-11-08 23:55:11 +00:00
David Reid efa95d998f Remove the loop parameter from ma_data_source_read_pcm_frames(). 2021-10-13 18:51:17 +10:00
David Reid 80cdee58ae Add ma_data_source_set_looping().
This is used for giving the data source a hint as to whether or not
it'll be used in a looping situations. It's required for some data
sources which need to know about it's looping state for caching or
whatnot.
2021-10-12 19:48:09 +10:00
David Reid e78ce5e32a Add experimental support for setting an initial seek point for sounds.
The API for the resource management part of this commit may change.
2021-10-11 10:50:55 +10:00
David Reid 0edf83565e Expose seek tables for MP3 decoding. 2021-10-11 10:14:14 +10:00
David Reid 26db06adca Update device IO test. 2021-10-10 20:07:36 +10:00
David Reid debf3ac672 Fix some compilation errors with C89. 2021-10-10 15:40:32 +10:00
David Reid 42e949c0ff Fix some unused result warnings. 2021-10-10 15:33:05 +10:00
David Reid 64183b07e1 Add support for using native channel count for sound output channels. 2021-10-10 14:32:18 +10:00
David Reid 6e962ec588 Fix a compilation error on the Apple build. 2021-10-10 14:17:23 +10:00
David Reid 32271f6da3 Fix an error on older versions of GCC. 2021-10-10 14:10:04 +10:00
David Reid 4e29283025 Fix a bug where streamed data sources do not use custom backends. 2021-10-10 13:40:55 +10:00
David Reid 7a3d58ea0f Fix an underflow error when using continuous processing on a node. 2021-10-10 11:26:40 +10:00
David Reid 80611af3e4 Clean up some incompatible code. 2021-10-08 10:32:21 +10:00
David Reid e341251e8e Fix validation errors with LPF, HPF and BPF. 2021-10-08 10:25:38 +10:00
David Reid b5975a70e5 Fix compilation error with 32-bit GCC builds. 2021-10-04 12:03:24 +10:00
David Reid 2bd7693908 Silence some unused function warnings. 2021-10-04 11:25:58 +10:00
David Reid 7b50c136c3 Fix a bug in engine node resampling due to an invalid pointer offset. 2021-10-04 11:25:32 +10:00
David Reid 6319d2d977 Fix a typo. 2021-10-04 09:35:32 +10:00
David Reid 063be8c003 Fix compilation errors when certain compile time options are enabled. 2021-08-28 13:00:56 +10:00
David Reid fee3e69d93 Merge branch 'master' into dev-0.11 2021-08-22 19:14:08 +10:00
David Reid dbca7a3b44 Version 0.10.42 2021-08-22 19:12:59 +10:00