Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
miniaudio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
miniaudio
Commits
f6f2c442
Commit
f6f2c442
authored
Jul 25, 2021
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust some assumptions.
parent
e6da1c52
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
miniaudio.h
miniaudio.h
+6
-6
No files found.
miniaudio.h
View file @
f6f2c442
...
...
@@ -40530,7 +40530,7 @@ static MA_INLINE void ma_biquad_process_pcm_frame_f32__direct_form_2_transposed(
const float a1 = pBQ->a1.f32;
const float a2 = pBQ->a2.f32;
MA_ASSUME(channels >
= MA_MIN_CHANNELS && channels <= MA_MAX_CHANNELS
);
MA_ASSUME(channels >
0
);
for (c = 0; c < channels; c += 1) {
float r1 = pBQ->pR1[c].f32;
float r2 = pBQ->pR2[c].f32;
...
...
@@ -40562,7 +40562,7 @@ static MA_INLINE void ma_biquad_process_pcm_frame_s16__direct_form_2_transposed(
const ma_int32 a1 = pBQ->a1.s32;
const ma_int32 a2 = pBQ->a2.s32;
MA_ASSUME(channels >
= MA_MIN_CHANNELS && channels <= MA_MAX_CHANNELS
);
MA_ASSUME(channels >
0
);
for (c = 0; c < channels; c += 1) {
ma_int32 r1 = pBQ->pR1[c].s32;
ma_int32 r2 = pBQ->pR2[c].s32;
...
...
@@ -40825,7 +40825,7 @@ static MA_INLINE void ma_lpf1_process_pcm_frame_f32(ma_lpf1* pLPF, float* pY, co
const float a = pLPF->a.f32;
const float b = 1 - a;
MA_ASSUME(channels >
= MA_MIN_CHANNELS && channels <= MA_MAX_CHANNELS
);
MA_ASSUME(channels >
0
);
for (c = 0; c < channels; c += 1) {
float r1 = pLPF->pR1[c].f32;
float x = pX[c];
...
...
@@ -40845,7 +40845,7 @@ static MA_INLINE void ma_lpf1_process_pcm_frame_s16(ma_lpf1* pLPF, ma_int16* pY,
const ma_int32 a = pLPF->a.s32;
const ma_int32 b = ((1 << MA_BIQUAD_FIXED_POINT_SHIFT) - a);
MA_ASSUME(channels >
= MA_MIN_CHANNELS && channels <= MA_MAX_CHANNELS
);
MA_ASSUME(channels >
0
);
for (c = 0; c < channels; c += 1) {
ma_int32 r1 = pLPF->pR1[c].s32;
ma_int32 x = pX[c];
...
...
@@ -41495,7 +41495,7 @@ static MA_INLINE void ma_hpf1_process_pcm_frame_f32(ma_hpf1* pHPF, float* pY, co
const float a = 1 - pHPF->a.f32;
const float b = 1 - a;
MA_ASSUME(channels >
= MA_MIN_CHANNELS && channels <= MA_MAX_CHANNELS
);
MA_ASSUME(channels >
0
);
for (c = 0; c < channels; c += 1) {
float r1 = pHPF->pR1[c].f32;
float x = pX[c];
...
...
@@ -41515,7 +41515,7 @@ static MA_INLINE void ma_hpf1_process_pcm_frame_s16(ma_hpf1* pHPF, ma_int16* pY,
const ma_int32 a = ((1 << MA_BIQUAD_FIXED_POINT_SHIFT) - pHPF->a.s32);
const ma_int32 b = ((1 << MA_BIQUAD_FIXED_POINT_SHIFT) - a);
MA_ASSUME(channels >
= MA_MIN_CHANNELS && channels <= MA_MAX_CHANNELS
);
MA_ASSUME(channels >
0
);
for (c = 0; c < channels; c += 1) {
ma_int32 r1 = pHPF->pR1[c].s32;
ma_int32 x = pX[c];
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment