Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
acf815fd
Commit
acf815fd
authored
Jun 07, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
faudio: Import upstream release 22.06.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
dd4a92bc
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
44 additions
and
30 deletions
+44
-30
LICENSE
libs/faudio/LICENSE
+1
-1
F3DAudio.h
libs/faudio/include/F3DAudio.h
+1
-1
FACT.h
libs/faudio/include/FACT.h
+1
-1
FACT3D.h
libs/faudio/include/FACT3D.h
+1
-1
FAPO.h
libs/faudio/include/FAPO.h
+1
-1
FAPOBase.h
libs/faudio/include/FAPOBase.h
+1
-1
FAPOFX.h
libs/faudio/include/FAPOFX.h
+1
-1
FAudio.h
libs/faudio/include/FAudio.h
+2
-2
FAudioFX.h
libs/faudio/include/FAudioFX.h
+1
-1
F3DAudio.c
libs/faudio/src/F3DAudio.c
+1
-1
FACT.c
libs/faudio/src/FACT.c
+3
-1
FACT3D.c
libs/faudio/src/FACT3D.c
+1
-1
FACT_internal.c
libs/faudio/src/FACT_internal.c
+9
-1
FACT_internal.h
libs/faudio/src/FACT_internal.h
+1
-1
FAPOBase.c
libs/faudio/src/FAPOBase.c
+1
-1
FAPOFX.c
libs/faudio/src/FAPOFX.c
+1
-1
FAPOFX_echo.c
libs/faudio/src/FAPOFX_echo.c
+1
-1
FAPOFX_eq.c
libs/faudio/src/FAPOFX_eq.c
+1
-1
FAPOFX_masteringlimiter.c
libs/faudio/src/FAPOFX_masteringlimiter.c
+1
-1
FAPOFX_reverb.c
libs/faudio/src/FAPOFX_reverb.c
+1
-1
FAudio.c
libs/faudio/src/FAudio.c
+1
-1
FAudioFX_reverb.c
libs/faudio/src/FAudioFX_reverb.c
+1
-1
FAudioFX_volumemeter.c
libs/faudio/src/FAudioFX_volumemeter.c
+1
-1
FAudio_internal.c
libs/faudio/src/FAudio_internal.c
+7
-3
FAudio_internal.h
libs/faudio/src/FAudio_internal.h
+1
-1
FAudio_internal_simd.c
libs/faudio/src/FAudio_internal_simd.c
+1
-1
FAudio_operationset.c
libs/faudio/src/FAudio_operationset.c
+1
-1
No files found.
libs/faudio/LICENSE
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/include/F3DAudio.h
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/include/FACT.h
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/include/FACT3D.h
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/include/FAPO.h
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/include/FAPOBase.h
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/include/FAPOFX.h
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/include/FAudio.h
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
@@ -485,7 +485,7 @@ extern FAudioGUID DATAFORMAT_SUBTYPE_IEEE_FLOAT;
#define FAUDIO_ABI_VERSION 0
#define FAUDIO_MAJOR_VERSION 22
#define FAUDIO_MINOR_VERSION
2
#define FAUDIO_MINOR_VERSION
6
#define FAUDIO_PATCH_VERSION 0
#define FAUDIO_COMPILED_VERSION ( \
...
...
libs/faudio/include/FAudioFX.h
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/src/F3DAudio.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/src/FACT.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
@@ -2735,6 +2735,8 @@ uint32_t FACTCue_SetMatrixCoefficients(
}
}
FACT_INTERNAL_SendCueNotification
(
pCue
,
NOTIFY_CUESTOP
,
FACTNOTIFICATIONTYPE_CUESTOP
);
FAudio_PlatformUnlockMutex
(
pCue
->
parentBank
->
parentEngine
->
apiLock
);
return
0
;
}
...
...
libs/faudio/src/FACT3D.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/src/FACT_internal.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
@@ -463,6 +463,14 @@ void FACT_INTERNAL_GetNextWave(
track
->
frequency
,
cue
->
parentBank
->
parentEngine
->
audio
->
master
->
master
.
inputSampleRate
);
/* FIXME: For some reason the 0.67 Q Factor causes problems, but it's also
* the only possible value until ~1 so just clamp it for now.
*/
trackInst
->
upcomingWave
.
baseQFactor
=
FAudio_min
(
trackInst
->
upcomingWave
.
baseQFactor
,
1
.
0
f
);
}
/* Try to change loop counter at the very end */
...
...
libs/faudio/src/FACT_internal.h
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/src/FAPOBase.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/src/FAPOFX.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/src/FAPOFX_echo.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/src/FAPOFX_eq.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/src/FAPOFX_masteringlimiter.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/src/FAPOFX_reverb.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/src/FAudio.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/src/FAudioFX_reverb.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/src/FAudioFX_volumemeter.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/src/FAudio_internal.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
@@ -1862,7 +1862,7 @@ void FAudio_INTERNAL_DecodeMonoMSADPCM(
int32_t
midOffset
;
/* PCM block cache */
int16_t
blockCache
[
1012
];
/* Max block size */
int16_t
*
blockCache
;
/* Block size */
uint32_t
bsize
=
((
FAudioADPCMWaveFormat
*
)
voice
->
src
.
format
)
->
wSamplesPerBlock
;
...
...
@@ -1879,6 +1879,7 @@ void FAudio_INTERNAL_DecodeMonoMSADPCM(
midOffset
=
(
voice
->
src
.
curBufferOffset
%
bsize
);
/* Read in each block directly to the decode cache */
blockCache
=
(
int16_t
*
)
FAudio_alloca
(
bsize
*
sizeof
(
int16_t
));
while
(
done
<
samples
)
{
copy
=
FAudio_min
(
samples
-
done
,
bsize
-
midOffset
);
...
...
@@ -1896,6 +1897,7 @@ void FAudio_INTERNAL_DecodeMonoMSADPCM(
done
+=
copy
;
midOffset
=
0
;
}
FAudio_dealloca
(
blockCache
);
LOG_FUNC_EXIT
(
voice
->
audio
)
}
...
...
@@ -1913,7 +1915,7 @@ void FAudio_INTERNAL_DecodeStereoMSADPCM(
int32_t
midOffset
;
/* PCM block cache */
int16_t
blockCache
[
2024
];
/* Max block size */
int16_t
*
blockCache
;
/* Align, block size */
uint32_t
bsize
=
((
FAudioADPCMWaveFormat
*
)
voice
->
src
.
format
)
->
wSamplesPerBlock
;
...
...
@@ -1930,6 +1932,7 @@ void FAudio_INTERNAL_DecodeStereoMSADPCM(
midOffset
=
(
voice
->
src
.
curBufferOffset
%
bsize
);
/* Read in each block directly to the decode cache */
blockCache
=
(
int16_t
*
)
FAudio_alloca
(
bsize
*
2
*
sizeof
(
int16_t
));
while
(
done
<
samples
)
{
copy
=
FAudio_min
(
samples
-
done
,
bsize
-
midOffset
);
...
...
@@ -1947,6 +1950,7 @@ void FAudio_INTERNAL_DecodeStereoMSADPCM(
done
+=
copy
;
midOffset
=
0
;
}
FAudio_dealloca
(
blockCache
);
LOG_FUNC_EXIT
(
voice
->
audio
)
}
...
...
libs/faudio/src/FAudio_internal.h
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/src/FAudio_internal_simd.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
libs/faudio/src/FAudio_operationset.c
View file @
acf815fd
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
1
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
2
Ethan Lee, Luigi Auriemma, and the MonoGame Team
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from
...
...
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