- 03 Sep, 2022 2 commits
-
-
Fabio Arnold authored
-
Jan Polák authored
When there are no capture nor playback devices, pContext->pDeviceInfos is NULL and pContext->playbackDeviceInfoCount is 0. Unfortunately, any arithmetic on NULL is UB, including trivial +0, which triggers UB sanitizer. This can lead to crashes, for example when compiling with Zig, which enables UBsan by default.
-
- 02 Sep, 2022 1 commit
-
-
David Reid authored
-
- 29 Aug, 2022 2 commits
-
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/527
-
David Reid authored
-
- 25 Aug, 2022 2 commits
-
-
David Reid authored
-
David Reid authored
-
- 24 Aug, 2022 2 commits
-
-
David Reid authored
-
Manuel Graf authored
-
- 20 Aug, 2022 1 commit
-
-
David Reid authored
-
- 18 Aug, 2022 1 commit
-
-
David Reid authored
This is being forced when ma_ios_session_category_default is specified.
-
- 16 Aug, 2022 1 commit
-
-
David Reid authored
-
- 11 Aug, 2022 16 commits
-
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/506
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
Steven Noonan authored
Signed-off-by:Steven Noonan <steven@uplinklabs.net>
-
David Reid authored
-
Steven Noonan authored
We already map the in:out 1:1 mappings above the switch statement, but the code for "simple" mapping stomps on the mappings. Also, even before that loop was added, mix mode "simple" did not necessarily map to the same channel types you'd expect. For example, if you have a 6-channel input and 8-channel output, you would get something like this with "simple": Correct: CHANNEL_FRONT_LEFT -> CHANNEL_FRONT_LEFT Correct: CHANNEL_FRONT_RIGHT -> CHANNEL_FRONT_RIGHT Correct: CHANNEL_FRONT_CENTER -> CHANNEL_FRONT_CENTER Correct: CHANNEL_LFE -> CHANNEL_LFE Wrong: CHANNEL_SIDE_LEFT -> CHANNEL_BACK_LEFT Wrong: CHANNEL_SIDE_RIGHT -> CHANNEL_BACK_RIGHT Instead of just assuming the input channel map is a truncation of the output channel map and has channels in the same order, just keep the existing 1:1 mappings and hope that's sufficient. Signed-off-by:Steven Noonan <steven@uplinklabs.net>
-
David Reid authored
This is disabled by default for backwards compatibility. Use the `calculateLFEFromSpatialChannels` config option to enable this.
-
David Reid authored
-
Steven Noonan authored
If the LFE channel exists in the output channel map but not the input channel map, we would previously just give it a weight of 0, which caused it to not be filled. This gives LFE a weight of 1.0f/$NumberOfSpatialChannels and basically makes it omnidirectional. Signed-off-by:Steven Noonan <steven@uplinklabs.net>
-
David Reid authored
The error here is that exactly-matching channels were not having a weight calculated which resulted in them being silenced. Public issue https://github.com/mackron/miniaudio/issues/480
-
- 05 Aug, 2022 1 commit
-
-
Clownacy authored
-
- 01 Aug, 2022 1 commit
-
-
Zvicii authored
Cast from 'void*' to pointer to non-'void' requires explicit type cast error under msvc compiler
-
- 28 Jul, 2022 2 commits
-
-
jongwoon-100 authored
-
jongwoon-100 authored
-
- 27 Jul, 2022 1 commit
-
-
jongwoon-100 authored
-
- 21 Jul, 2022 1 commit
-
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/500
-
- 20 Jul, 2022 2 commits
-
-
David Reid authored
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/499
-
- 16 Jul, 2022 3 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/493
-
- 07 Jul, 2022 1 commit
-
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/494
-