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
d2ff007a
Commit
d2ff007a
authored
Sep 15, 2021
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Sep 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add ISpAudio interface.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
15eb6a25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
sapi.idl
include/sapi.idl
+29
-0
No files found.
include/sapi.idl
View file @
d2ff007a
...
...
@@ -492,6 +492,13 @@ typedef [hidden] enum SPFILEMODE
SPFM_NUM_MODES
}
SPFILEMODE
;
typedef
[
restricted
,
hidden
]
struct
SPAUDIOBUFFERINFO
{
ULONG
ulMsMinNotification
;
ULONG
ulMsBufferSize
;
ULONG
ulMsEventBias
;
}
SPAUDIOBUFFERINFO
;
cpp_quote
(
"#if defined(__GNUC__)"
)
cpp_quote
(
"#define SPCAT_AUDIOOUT (const WCHAR []){ 'H','K','E','Y','_','L','O','C','A','L','_','M','A','C','H','I','N','E','\\\\','S','O','F','T','W','A','R','E','\\\\','M','i','c','r','o','s','o','f','t','\\\\','S','p','e','e','c','h','\\\\','A','u','d','i','o','O','u','t','p','u','t',0 }"
)
...
...
@@ -996,6 +1003,28 @@ interface ISpStreamFormat : IStream
[
object
,
uuid
(
c05c768f
-
fae8
-
4
ec2
-
8
e07
-
338321
c12452
),
pointer_default
(
unique
),
local
,
restricted
]
interface
ISpAudio
:
ISpStreamFormat
{
HRESULT
SetState
(
[
in
]
SPAUDIOSTATE
state
,
[
in
]
ULONGLONG
reserved
)
;
HRESULT
SetFormat
(
[
in
]
REFGUID
guid
,
[
in
]
const
WAVEFORMATEX
*
wave
)
;
HRESULT
GetStatus
(
[
out
]
SPAUDIOSTATUS
*
status
)
;
HRESULT
SetBufferInfo
(
[
in
]
const
SPAUDIOBUFFERINFO
*
buffer
)
;
HRESULT
GetBufferInfo
(
[
out
]
SPAUDIOBUFFERINFO
*
buffer
)
;
HRESULT
GetDefaultFormat
(
[
out
]
GUID
*
guid
,
[
out
]
WAVEFORMATEX
**
wave
)
;
HANDLE
EventHandle
()
;
HRESULT
GetVolumeLevel
(
[
out
]
ULONG
*
level
)
;
HRESULT
SetVolumeLevel
(
[
in
]
ULONG
level
)
;
HRESULT
GetBufferNotifySize
(
[
out
]
ULONG
*
size
)
;
HRESULT
SetBufferNotifySize
(
[
in
]
ULONG
size
)
;
}
;
[
object
,
uuid
(
5b4
fb971
-
b115
-
4
de1
-
ad97
-
e482e3bf6ee4
),
pointer_default
(
unique
),
local
,
...
...
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