Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
138aee4f
Commit
138aee4f
authored
Apr 07, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add ISpatialAudioClient definition.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
034b5e70
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
101 additions
and
0 deletions
+101
-0
Makefile.in
include/Makefile.in
+1
-0
spatialaudioclient.idl
include/spatialaudioclient.idl
+100
-0
No files found.
include/Makefile.in
View file @
138aee4f
...
...
@@ -628,6 +628,7 @@ SOURCES = \
slpublic.h
\
snmp.h
\
softpub.h
\
spatialaudioclient.idl
\
sperror.h
\
sql.h
\
sqlext.h
\
...
...
include/spatialaudioclient.idl
0 → 100644
View file @
138aee4f
/*
*
Copyright
2020
Nikolay
Sivov
for
CodeWeavers
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
import
"unknwn.idl"
;
import
"audioclient.idl"
;
import
"propsys.idl"
;
typedef
[
v1_enum
]
enum
AudioObjectType
{
AudioObjectType_None
=
0
,
AudioObjectType_Dynamic
=
0
x00000001
,
AudioObjectType_FrontLeft
=
0
x00000002
,
AudioObjectType_FrontRight
=
0
x00000004
,
AudioObjectType_FrontCenter
=
0
x00000008
,
AudioObjectType_LowFrequency
=
0
x00000010
,
AudioObjectType_SideLeft
=
0
x00000020
,
AudioObjectType_SideRight
=
0
x00000040
,
AudioObjectType_BackLeft
=
0
x00000080
,
AudioObjectType_BackRight
=
0
x00000100
,
AudioObjectType_TopFrontLeft
=
0
x00000200
,
AudioObjectType_TopFrontRight
=
0
x00000400
,
AudioObjectType_TopBackLeft
=
0
x00000800
,
AudioObjectType_TopBackRight
=
0
x00001000
,
AudioObjectType_BottomFrontLeft
=
0
x00002000
,
AudioObjectType_BottomFrontRight
=
0
x00004000
,
AudioObjectType_BottomBackLeft
=
0
x00008000
,
AudioObjectType_BottomBackRight
=
0
x00010000
,
AudioObjectType_BackCenter
=
0
x00020000
,
}
AudioObjectType
;
[
object
,
uuid
(
dcdaa858
-
895
a
-
4
a22
-
a5eb
-
67b
da506096d
),
pointer_default
(
unique
),
local
]
interface
IAudioFormatEnumerator
:
IUnknown
{
HRESULT
GetCount
(
[
out
]
UINT32
*
count
)
;
HRESULT
GetFormat
(
[
in
]
UINT32
index
,
[
out
]
WAVEFORMATEX
**
format
)
;
}
[
object
,
uuid
(
bbf8e066
-
aaaa
-
49b
e
-
9
a4d
-
fd2a858ea27f
),
pointer_default
(
unique
),
local
]
interface
ISpatialAudioClient
:
IUnknown
{
HRESULT
GetStaticObjectPosition
(
[
in
]
AudioObjectType
type
,
[
out
]
float
*
x
,
[
out
]
float
*
y
,
[
out
]
float
*
z
)
;
HRESULT
GetNativeStaticObjectTypeMask
(
[
out
]
AudioObjectType
*
mask
)
;
HRESULT
GetMaxDynamicObjectCount
(
[
out
]
UINT32
*
value
)
;
HRESULT
GetSupportedAudioObjectFormatEnumerator
(
[
out
]
IAudioFormatEnumerator
**
enumerator
)
;
HRESULT
GetMaxFrameCount
(
[
in
]
WAVEFORMATEX
const
*
format
,
[
out
]
UINT32
*
count
)
;
HRESULT
IsAudioObjectFormatSupported
(
[
in
]
WAVEFORMATEX
const
*
format
)
;
HRESULT
IsSpatialAudioStreamAvailable
(
[
in
]
REFIID
stream_uuid
,
[
in
]
PROPVARIANT
const
*
info
)
;
HRESULT
ActivateSpatialAudioStream
(
[
in
]
PROPVARIANT
const
*
params
,
[
in
]
REFIID
riid
,
[
out
,
iid_is
(
riid
)
]
void
**
stream
)
;
}
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