diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2022-06-04 05:59:02 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-03 15:59:02 -0400 |
| commit | e989cb7ace48435ef1de1ea10f8e81c61a8a46e2 (patch) | |
| tree | 54540a0c3f4082fcd8b3b712cdd75638077de548 /src/code/audio_data.c | |
| parent | 1738b19d63d65afd01e1043a5359502ffef2e40e (diff) | |
Audio Misc Docs and Cleanup (#1221)
* Audio Cleanup
* more
* missed one
* Audio docs imported from MM
* Suggestions from Discord
* Small fix
* Fix sizes in z64audio.h
* numSamples
* Cleanup comments
* Revert overlap with soundFont PR
* revert Audio_AdsrUpdate cleanup (move to different PR)
* PR Suggestion
* Mainly typos
* PR suggestion, vol -> volume
* Better description
* Name sampling frequency
* A good number of PR suggestions
* Missed a suggestion
* More PR Suggestions
Co-authored-by: fig02 <fig02srl@gmail.com>
Diffstat (limited to 'src/code/audio_data.c')
| -rw-r--r-- | src/code/audio_data.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/audio_data.c b/src/code/audio_data.c index 4798ea47c..ed0ecb699 100644 --- a/src/code/audio_data.c +++ b/src/code/audio_data.c @@ -625,7 +625,7 @@ f32 gDefaultPanVolume[] = { 0.086471f, 0.074143f, 0.061803f, 0.049454f, 0.037097f, 0.024734f, 0.012368f, 0.0f, }; -s16 sLowPassFilterData[16 * 8] = { +s16 gLowPassFilterData[16 * 8] = { /* 0x0 */ 0, 0, 0, 32767, 0, 0, 0, 0, // Identity filter (delta function) /* 0x1 */ 3854, 4188, 4398, 4469, 4398, 4188, 3854, 3416, /* 0x2 */ 3415, 4314, 4915, 5126, 4915, 4314, 3415, 2351, @@ -644,7 +644,7 @@ s16 sLowPassFilterData[16 * 8] = { /* 0xF */ 841, -853, 863, 26829, 863, -853, 841, -820, }; -s16 sHighPassFilterData[15 * 8] = { +s16 gHighPassFilterData[15 * 8] = { /* 0x0 */ -289, -291, -289, 30736, -289, -291, -289, -290, /* 0x1 */ -464, -467, -467, 29506, -467, -467, -464, -463, /* 0x2 */ -662, -670, -672, 28101, -672, -670, -662, -656, |
