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
fa42210c
Commit
fa42210c
authored
Feb 17, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
faudio: Import upstream release 24.02.
parent
6e9d2140
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
38 additions
and
31 deletions
+38
-31
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
+3
-3
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
+1
-1
FACT3D.c
libs/faudio/src/FACT3D.c
+1
-1
FACT_internal.c
libs/faudio/src/FACT_internal.c
+1
-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
+1
-1
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
FAudio_platform_win32.c
libs/faudio/src/FAudio_platform_win32.c
+9
-2
No files found.
libs/faudio/LICENSE
View file @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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
...
...
@@ -493,8 +493,8 @@ extern FAudioGUID DATAFORMAT_SUBTYPE_IEEE_FLOAT;
#define FAUDIO_TARGET_VERSION 8
/* Targeting compatibility with XAudio 2.8 */
#define FAUDIO_ABI_VERSION 0
#define FAUDIO_MAJOR_VERSION 2
3
#define FAUDIO_MINOR_VERSION
1
2
#define FAUDIO_MAJOR_VERSION 2
4
#define FAUDIO_MINOR_VERSION
2
#define FAUDIO_PATCH_VERSION 0
#define FAUDIO_COMPILED_VERSION ( \
...
...
libs/faudio/include/FAudioFX.h
View file @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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/FACT3D.c
View file @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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.h
View file @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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.h
View file @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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 @
fa42210c
/* FAudio - XAudio Reimplementation for FNA
*
* Copyright (c) 2011-202
3
Ethan Lee, Luigi Auriemma, and the MonoGame Team
* Copyright (c) 2011-202
4
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_platform_win32.c
View file @
fa42210c
...
...
@@ -1300,6 +1300,7 @@ error:
uint32_t
FAudio_WMADEC_init
(
FAudioSourceVoice
*
voice
,
uint32_t
type
)
{
static
const
uint8_t
fake_codec_data
[
16
]
=
{
0
,
0
,
0
,
0
,
31
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
uint8_t
fake_codec_data_wma3
[
18
]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
224
,
0
,
0
,
0
};
const
FAudioWaveFormatExtensible
*
wfx
=
(
FAudioWaveFormatExtensible
*
)
voice
->
src
.
format
;
struct
FAudioWMADEC
*
impl
;
MFT_OUTPUT_STREAM_INFO
info
=
{
0
};
...
...
@@ -1361,11 +1362,17 @@ uint32_t FAudio_WMADEC_init(FAudioSourceVoice *voice, uint32_t type)
FAudio_assert
(
!
FAILED
(
hr
)
&&
"Failed set input block align!"
);
break
;
case
FAUDIO_FORMAT_WMAUDIO3
:
*
(
uint16_t
*
)
fake_codec_data_wma3
=
voice
->
src
.
format
->
wBitsPerSample
;
for
(
i
=
0
;
i
<
voice
->
src
.
format
->
nChannels
;
i
++
)
{
fake_codec_data_wma3
[
2
]
<<=
1
;
fake_codec_data_wma3
[
2
]
|=
1
;
}
hr
=
IMFMediaType_SetBlob
(
media_type
,
&
MF_MT_USER_DATA
,
(
void
*
)
&
wfx
->
Samples
,
wfx
->
Format
.
cbSize
(
void
*
)
fake_codec_data_wma3
,
sizeof
(
fake_codec_data_wma3
)
);
FAudio_assert
(
!
FAILED
(
hr
)
&&
"Failed set codec private data!"
);
hr
=
IMFMediaType_SetGUID
(
...
...
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