Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
4d640861
Commit
4d640861
authored
Mar 22, 2015
by
Mark Harmstone
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Add EAX propset stubs.
parent
251a89b7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
69 additions
and
0 deletions
+69
-0
Makefile.in
dlls/dsound/Makefile.in
+1
-0
buffer.c
dlls/dsound/buffer.c
+6
-0
dsound_private.h
dlls/dsound/dsound_private.h
+8
-0
eax.c
dlls/dsound/eax.c
+54
-0
No files found.
dlls/dsound/Makefile.in
View file @
4d640861
...
...
@@ -9,6 +9,7 @@ C_SRCS = \
dsound_convert.c
\
dsound_main.c
\
duplex.c
\
eax.c
\
mixer.c
\
primary.c
\
propset.c
\
...
...
dlls/dsound/buffer.c
View file @
4d640861
...
...
@@ -1346,6 +1346,9 @@ static HRESULT WINAPI IKsPropertySetImpl_Get(IKsPropertySet *iface, REFGUID guid
TRACE
(
"(iface=%p,guidPropSet=%s,dwPropID=%ld,pInstanceData=%p,cbInstanceData=%ld,pPropData=%p,cbPropData=%ld,pcbReturned=%p)
\n
"
,
This
,
debugstr_guid
(
guidPropSet
),
dwPropID
,
pInstanceData
,
cbInstanceData
,
pPropData
,
cbPropData
,
pcbReturned
);
if
(
IsEqualGUID
(
&
DSPROPSETID_EAX_ReverbProperties
,
guidPropSet
)
||
IsEqualGUID
(
&
DSPROPSETID_EAXBUFFER_ReverbProperties
,
guidPropSet
))
return
EAX_Get
(
This
,
guidPropSet
,
dwPropID
,
pInstanceData
,
cbInstanceData
,
pPropData
,
cbPropData
,
pcbReturned
);
return
E_PROP_ID_UNSUPPORTED
;
}
...
...
@@ -1357,6 +1360,9 @@ static HRESULT WINAPI IKsPropertySetImpl_Set(IKsPropertySet *iface, REFGUID guid
TRACE
(
"(%p,%s,%ld,%p,%ld,%p,%ld)
\n
"
,
This
,
debugstr_guid
(
guidPropSet
),
dwPropID
,
pInstanceData
,
cbInstanceData
,
pPropData
,
cbPropData
);
if
(
IsEqualGUID
(
&
DSPROPSETID_EAX_ReverbProperties
,
guidPropSet
)
||
IsEqualGUID
(
&
DSPROPSETID_EAXBUFFER_ReverbProperties
,
guidPropSet
))
return
EAX_Set
(
This
,
guidPropSet
,
dwPropID
,
pInstanceData
,
cbInstanceData
,
pPropData
,
cbPropData
);
return
E_PROP_ID_UNSUPPORTED
;
}
...
...
dlls/dsound/dsound_private.h
View file @
4d640861
...
...
@@ -229,6 +229,14 @@ LONG capped_refcount_dec(LONG *ref) DECLSPEC_HIDDEN;
HRESULT
DSOUND_FullDuplexCreate
(
REFIID
riid
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
/* eax.c */
HRESULT
WINAPI
EAX_Get
(
IDirectSoundBufferImpl
*
buf
,
REFGUID
guidPropSet
,
ULONG
dwPropID
,
void
*
pInstanceData
,
ULONG
cbInstanceData
,
void
*
pPropData
,
ULONG
cbPropData
,
ULONG
*
pcbReturned
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
EAX_Set
(
IDirectSoundBufferImpl
*
buf
,
REFGUID
guidPropSet
,
ULONG
dwPropID
,
void
*
pInstanceData
,
ULONG
cbInstanceData
,
void
*
pPropData
,
ULONG
cbPropData
)
DECLSPEC_HIDDEN
;
/* mixer.c */
void
DSOUND_CheckEvent
(
const
IDirectSoundBufferImpl
*
dsb
,
DWORD
playpos
,
int
len
)
DECLSPEC_HIDDEN
;
void
DSOUND_RecalcVolPan
(
PDSVOLUMEPAN
volpan
)
DECLSPEC_HIDDEN
;
...
...
dlls/dsound/eax.c
0 → 100644
View file @
4d640861
/*
* Copyright (c) 2015 Mark Harmstone
*
* 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
*/
#include <stdarg.h>
#include <math.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "mmsystem.h"
#include "winternl.h"
#include "vfwmsgs.h"
#include "wine/debug.h"
#include "dsound.h"
#include "dsound_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
eax
);
HRESULT
WINAPI
EAX_Get
(
IDirectSoundBufferImpl
*
buf
,
REFGUID
guidPropSet
,
ULONG
dwPropID
,
void
*
pInstanceData
,
ULONG
cbInstanceData
,
void
*
pPropData
,
ULONG
cbPropData
,
ULONG
*
pcbReturned
)
{
TRACE
(
"(buf=%p,guidPropSet=%s,dwPropID=%lu,pInstanceData=%p,cbInstanceData=%lu,pPropData=%p,cbPropData=%lu,pcbReturned=%p)
\n
"
,
buf
,
debugstr_guid
(
guidPropSet
),
dwPropID
,
pInstanceData
,
cbInstanceData
,
pPropData
,
cbPropData
,
pcbReturned
);
*
pcbReturned
=
0
;
return
E_PROP_ID_UNSUPPORTED
;
}
HRESULT
WINAPI
EAX_Set
(
IDirectSoundBufferImpl
*
buf
,
REFGUID
guidPropSet
,
ULONG
dwPropID
,
void
*
pInstanceData
,
ULONG
cbInstanceData
,
void
*
pPropData
,
ULONG
cbPropData
)
{
TRACE
(
"(%p,%s,%lu,%p,%lu,%p,%lu)
\n
"
,
buf
,
debugstr_guid
(
guidPropSet
),
dwPropID
,
pInstanceData
,
cbInstanceData
,
pPropData
,
cbPropData
);
return
E_PROP_ID_UNSUPPORTED
;
}
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