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
97e6f05c
Commit
97e6f05c
authored
Feb 10, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsdmo: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0f6fa730
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
23 deletions
+22
-23
Makefile.in
dlls/dsdmo/Makefile.in
+0
-1
main.c
dlls/dsdmo/main.c
+22
-22
No files found.
dlls/dsdmo/Makefile.in
View file @
97e6f05c
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
dsdmo.dll
MODULE
=
dsdmo.dll
IMPORTS
=
dmoguids strmiids uuid
IMPORTS
=
dmoguids strmiids uuid
...
...
dlls/dsdmo/main.c
View file @
97e6f05c
...
@@ -81,7 +81,7 @@ static ULONG WINAPI effect_inner_AddRef(IUnknown *iface)
...
@@ -81,7 +81,7 @@ static ULONG WINAPI effect_inner_AddRef(IUnknown *iface)
struct
effect
*
effect
=
impl_from_IUnknown
(
iface
);
struct
effect
*
effect
=
impl_from_IUnknown
(
iface
);
ULONG
refcount
=
InterlockedIncrement
(
&
effect
->
refcount
);
ULONG
refcount
=
InterlockedIncrement
(
&
effect
->
refcount
);
TRACE
(
"%p increasing refcount to %u.
\n
"
,
effect
,
refcount
);
TRACE
(
"%p increasing refcount to %
l
u.
\n
"
,
effect
,
refcount
);
return
refcount
;
return
refcount
;
}
}
...
@@ -90,7 +90,7 @@ static ULONG WINAPI effect_inner_Release(IUnknown *iface)
...
@@ -90,7 +90,7 @@ static ULONG WINAPI effect_inner_Release(IUnknown *iface)
struct
effect
*
effect
=
impl_from_IUnknown
(
iface
);
struct
effect
*
effect
=
impl_from_IUnknown
(
iface
);
ULONG
refcount
=
InterlockedDecrement
(
&
effect
->
refcount
);
ULONG
refcount
=
InterlockedDecrement
(
&
effect
->
refcount
);
TRACE
(
"%p decreasing refcount to %u.
\n
"
,
effect
,
refcount
);
TRACE
(
"%p decreasing refcount to %
l
u.
\n
"
,
effect
,
refcount
);
if
(
!
refcount
)
if
(
!
refcount
)
{
{
...
@@ -139,25 +139,25 @@ static HRESULT WINAPI effect_GetStreamCount(IMediaObject *iface, DWORD *input, D
...
@@ -139,25 +139,25 @@ static HRESULT WINAPI effect_GetStreamCount(IMediaObject *iface, DWORD *input, D
static
HRESULT
WINAPI
effect_GetInputStreamInfo
(
IMediaObject
*
iface
,
DWORD
index
,
DWORD
*
flags
)
static
HRESULT
WINAPI
effect_GetInputStreamInfo
(
IMediaObject
*
iface
,
DWORD
index
,
DWORD
*
flags
)
{
{
FIXME
(
"iface %p, index %u, flags %p, stub!
\n
"
,
iface
,
index
,
flags
);
FIXME
(
"iface %p, index %
l
u, flags %p, stub!
\n
"
,
iface
,
index
,
flags
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
effect_GetOutputStreamInfo
(
IMediaObject
*
iface
,
DWORD
index
,
DWORD
*
flags
)
static
HRESULT
WINAPI
effect_GetOutputStreamInfo
(
IMediaObject
*
iface
,
DWORD
index
,
DWORD
*
flags
)
{
{
FIXME
(
"iface %p, index %u, flags %p, stub!
\n
"
,
iface
,
index
,
flags
);
FIXME
(
"iface %p, index %
l
u, flags %p, stub!
\n
"
,
iface
,
index
,
flags
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
effect_GetInputType
(
IMediaObject
*
iface
,
DWORD
index
,
DWORD
type_index
,
DMO_MEDIA_TYPE
*
type
)
static
HRESULT
WINAPI
effect_GetInputType
(
IMediaObject
*
iface
,
DWORD
index
,
DWORD
type_index
,
DMO_MEDIA_TYPE
*
type
)
{
{
FIXME
(
"iface %p, index %
u, type_index %
u, type %p, stub!
\n
"
,
iface
,
index
,
type_index
,
type
);
FIXME
(
"iface %p, index %
lu, type_index %l
u, type %p, stub!
\n
"
,
iface
,
index
,
type_index
,
type
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
effect_GetOutputType
(
IMediaObject
*
iface
,
DWORD
index
,
DWORD
type_index
,
DMO_MEDIA_TYPE
*
type
)
static
HRESULT
WINAPI
effect_GetOutputType
(
IMediaObject
*
iface
,
DWORD
index
,
DWORD
type_index
,
DMO_MEDIA_TYPE
*
type
)
{
{
FIXME
(
"iface %p, index %
u, type_index %
u, type %p, stub!
\n
"
,
iface
,
index
,
type_index
,
type
);
FIXME
(
"iface %p, index %
lu, type_index %l
u, type %p, stub!
\n
"
,
iface
,
index
,
type_index
,
type
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -166,7 +166,7 @@ static HRESULT WINAPI effect_SetInputType(IMediaObject *iface, DWORD index, cons
...
@@ -166,7 +166,7 @@ static HRESULT WINAPI effect_SetInputType(IMediaObject *iface, DWORD index, cons
struct
effect
*
effect
=
impl_from_IMediaObject
(
iface
);
struct
effect
*
effect
=
impl_from_IMediaObject
(
iface
);
const
WAVEFORMATEX
*
format
;
const
WAVEFORMATEX
*
format
;
TRACE
(
"iface %p, index %
u, type %p, flags %#
x.
\n
"
,
iface
,
index
,
type
,
flags
);
TRACE
(
"iface %p, index %
lu, type %p, flags %#l
x.
\n
"
,
iface
,
index
,
type
,
flags
);
if
(
flags
&
DMO_SET_TYPEF_CLEAR
)
if
(
flags
&
DMO_SET_TYPEF_CLEAR
)
{
{
...
@@ -227,7 +227,7 @@ static HRESULT WINAPI effect_SetOutputType(IMediaObject *iface, DWORD index, con
...
@@ -227,7 +227,7 @@ static HRESULT WINAPI effect_SetOutputType(IMediaObject *iface, DWORD index, con
struct
effect
*
effect
=
impl_from_IMediaObject
(
iface
);
struct
effect
*
effect
=
impl_from_IMediaObject
(
iface
);
HRESULT
hr
;
HRESULT
hr
;
TRACE
(
"iface %p, index %
u, type %p, flags %#
x.
\n
"
,
iface
,
index
,
type
,
flags
);
TRACE
(
"iface %p, index %
lu, type %p, flags %#l
x.
\n
"
,
iface
,
index
,
type
,
flags
);
if
(
flags
&
DMO_SET_TYPEF_CLEAR
)
if
(
flags
&
DMO_SET_TYPEF_CLEAR
)
return
S_OK
;
return
S_OK
;
...
@@ -251,38 +251,38 @@ static HRESULT WINAPI effect_SetOutputType(IMediaObject *iface, DWORD index, con
...
@@ -251,38 +251,38 @@ static HRESULT WINAPI effect_SetOutputType(IMediaObject *iface, DWORD index, con
static
HRESULT
WINAPI
effect_GetInputCurrentType
(
IMediaObject
*
iface
,
DWORD
index
,
DMO_MEDIA_TYPE
*
type
)
static
HRESULT
WINAPI
effect_GetInputCurrentType
(
IMediaObject
*
iface
,
DWORD
index
,
DMO_MEDIA_TYPE
*
type
)
{
{
FIXME
(
"iface %p, index %u, type %p, stub!
\n
"
,
iface
,
index
,
type
);
FIXME
(
"iface %p, index %
l
u, type %p, stub!
\n
"
,
iface
,
index
,
type
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
effect_GetOutputCurrentType
(
IMediaObject
*
iface
,
DWORD
index
,
DMO_MEDIA_TYPE
*
type
)
static
HRESULT
WINAPI
effect_GetOutputCurrentType
(
IMediaObject
*
iface
,
DWORD
index
,
DMO_MEDIA_TYPE
*
type
)
{
{
FIXME
(
"iface %p, index %u, type %p, stub!
\n
"
,
iface
,
index
,
type
);
FIXME
(
"iface %p, index %
l
u, type %p, stub!
\n
"
,
iface
,
index
,
type
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
effect_GetInputSizeInfo
(
IMediaObject
*
iface
,
DWORD
index
,
static
HRESULT
WINAPI
effect_GetInputSizeInfo
(
IMediaObject
*
iface
,
DWORD
index
,
DWORD
*
size
,
DWORD
*
lookahead
,
DWORD
*
alignment
)
DWORD
*
size
,
DWORD
*
lookahead
,
DWORD
*
alignment
)
{
{
FIXME
(
"iface %p, index %u, size %p, lookahead %p, alignment %p, stub!
\n
"
,
iface
,
index
,
size
,
lookahead
,
alignment
);
FIXME
(
"iface %p, index %
l
u, size %p, lookahead %p, alignment %p, stub!
\n
"
,
iface
,
index
,
size
,
lookahead
,
alignment
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
effect_GetOutputSizeInfo
(
IMediaObject
*
iface
,
DWORD
index
,
DWORD
*
size
,
DWORD
*
alignment
)
static
HRESULT
WINAPI
effect_GetOutputSizeInfo
(
IMediaObject
*
iface
,
DWORD
index
,
DWORD
*
size
,
DWORD
*
alignment
)
{
{
FIXME
(
"iface %p, index %u, size %p, alignment %p, stub!
\n
"
,
iface
,
index
,
size
,
alignment
);
FIXME
(
"iface %p, index %
l
u, size %p, alignment %p, stub!
\n
"
,
iface
,
index
,
size
,
alignment
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
effect_GetInputMaxLatency
(
IMediaObject
*
iface
,
DWORD
index
,
REFERENCE_TIME
*
latency
)
static
HRESULT
WINAPI
effect_GetInputMaxLatency
(
IMediaObject
*
iface
,
DWORD
index
,
REFERENCE_TIME
*
latency
)
{
{
FIXME
(
"iface %p, index %u, latency %p, stub!
\n
"
,
iface
,
index
,
latency
);
FIXME
(
"iface %p, index %
l
u, latency %p, stub!
\n
"
,
iface
,
index
,
latency
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
effect_SetInputMaxLatency
(
IMediaObject
*
iface
,
DWORD
index
,
REFERENCE_TIME
latency
)
static
HRESULT
WINAPI
effect_SetInputMaxLatency
(
IMediaObject
*
iface
,
DWORD
index
,
REFERENCE_TIME
latency
)
{
{
FIXME
(
"iface %p, index %u, latency %s, stub!
\n
"
,
iface
,
index
,
wine_dbgstr_longlong
(
latency
));
FIXME
(
"iface %p, index %
l
u, latency %s, stub!
\n
"
,
iface
,
index
,
wine_dbgstr_longlong
(
latency
));
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -294,7 +294,7 @@ static HRESULT WINAPI effect_Flush(IMediaObject *iface)
...
@@ -294,7 +294,7 @@ static HRESULT WINAPI effect_Flush(IMediaObject *iface)
static
HRESULT
WINAPI
effect_Discontinuity
(
IMediaObject
*
iface
,
DWORD
index
)
static
HRESULT
WINAPI
effect_Discontinuity
(
IMediaObject
*
iface
,
DWORD
index
)
{
{
FIXME
(
"iface %p, index %u, stub!
\n
"
,
iface
,
index
);
FIXME
(
"iface %p, index %
l
u, stub!
\n
"
,
iface
,
index
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -312,14 +312,14 @@ static HRESULT WINAPI effect_FreeStreamingResources(IMediaObject *iface)
...
@@ -312,14 +312,14 @@ static HRESULT WINAPI effect_FreeStreamingResources(IMediaObject *iface)
static
HRESULT
WINAPI
effect_GetInputStatus
(
IMediaObject
*
iface
,
DWORD
index
,
DWORD
*
flags
)
static
HRESULT
WINAPI
effect_GetInputStatus
(
IMediaObject
*
iface
,
DWORD
index
,
DWORD
*
flags
)
{
{
FIXME
(
"iface %p, index %u, flags %p, stub!
\n
"
,
iface
,
index
,
flags
);
FIXME
(
"iface %p, index %
l
u, flags %p, stub!
\n
"
,
iface
,
index
,
flags
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
effect_ProcessInput
(
IMediaObject
*
iface
,
DWORD
index
,
static
HRESULT
WINAPI
effect_ProcessInput
(
IMediaObject
*
iface
,
DWORD
index
,
IMediaBuffer
*
buffer
,
DWORD
flags
,
REFERENCE_TIME
timestamp
,
REFERENCE_TIME
timelength
)
IMediaBuffer
*
buffer
,
DWORD
flags
,
REFERENCE_TIME
timestamp
,
REFERENCE_TIME
timelength
)
{
{
FIXME
(
"iface %p, index %
u, buffer %p, flags %#
x, timestamp %s, timelength %s, stub!
\n
"
,
FIXME
(
"iface %p, index %
lu, buffer %p, flags %#l
x, timestamp %s, timelength %s, stub!
\n
"
,
iface
,
index
,
buffer
,
flags
,
wine_dbgstr_longlong
(
timestamp
),
wine_dbgstr_longlong
(
timelength
));
iface
,
index
,
buffer
,
flags
,
wine_dbgstr_longlong
(
timestamp
),
wine_dbgstr_longlong
(
timelength
));
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -327,13 +327,13 @@ static HRESULT WINAPI effect_ProcessInput(IMediaObject *iface, DWORD index,
...
@@ -327,13 +327,13 @@ static HRESULT WINAPI effect_ProcessInput(IMediaObject *iface, DWORD index,
static
HRESULT
WINAPI
effect_ProcessOutput
(
IMediaObject
*
iface
,
DWORD
flags
,
static
HRESULT
WINAPI
effect_ProcessOutput
(
IMediaObject
*
iface
,
DWORD
flags
,
DWORD
count
,
DMO_OUTPUT_DATA_BUFFER
*
buffers
,
DWORD
*
status
)
DWORD
count
,
DMO_OUTPUT_DATA_BUFFER
*
buffers
,
DWORD
*
status
)
{
{
FIXME
(
"iface %p, flags %#
x, count %
u, buffers %p, status %p, stub!
\n
"
,
iface
,
flags
,
count
,
buffers
,
status
);
FIXME
(
"iface %p, flags %#
lx, count %l
u, buffers %p, status %p, stub!
\n
"
,
iface
,
flags
,
count
,
buffers
,
status
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
effect_Lock
(
IMediaObject
*
iface
,
LONG
lock
)
static
HRESULT
WINAPI
effect_Lock
(
IMediaObject
*
iface
,
LONG
lock
)
{
{
FIXME
(
"iface %p, lock %d, stub!
\n
"
,
iface
,
lock
);
FIXME
(
"iface %p, lock %
l
d, stub!
\n
"
,
iface
,
lock
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -391,7 +391,7 @@ static ULONG WINAPI effect_inplace_Release(IMediaObjectInPlace *iface)
...
@@ -391,7 +391,7 @@ static ULONG WINAPI effect_inplace_Release(IMediaObjectInPlace *iface)
static
HRESULT
WINAPI
effect_inplace_Process
(
IMediaObjectInPlace
*
iface
,
ULONG
size
,
static
HRESULT
WINAPI
effect_inplace_Process
(
IMediaObjectInPlace
*
iface
,
ULONG
size
,
BYTE
*
data
,
REFERENCE_TIME
start
,
DWORD
flags
)
BYTE
*
data
,
REFERENCE_TIME
start
,
DWORD
flags
)
{
{
FIXME
(
"iface %p, size %
u, data %p, start %s, flags %#
x, stub!
\n
"
,
FIXME
(
"iface %p, size %
lu, data %p, start %s, flags %#l
x, stub!
\n
"
,
iface
,
size
,
data
,
wine_dbgstr_longlong
(
start
),
flags
);
iface
,
size
,
data
,
wine_dbgstr_longlong
(
start
),
flags
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -599,7 +599,7 @@ static HRESULT WINAPI reverb_params_SetPreset(IDirectSoundFXI3DL2Reverb *iface,
...
@@ -599,7 +599,7 @@ static HRESULT WINAPI reverb_params_SetPreset(IDirectSoundFXI3DL2Reverb *iface,
{
{
struct
reverb
*
effect
=
impl_from_IDirectSoundFXI3DL2Reverb
(
iface
);
struct
reverb
*
effect
=
impl_from_IDirectSoundFXI3DL2Reverb
(
iface
);
FIXME
(
"effect %p, preset %u, stub!
\n
"
,
effect
,
preset
);
FIXME
(
"effect %p, preset %
l
u, stub!
\n
"
,
effect
,
preset
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -617,7 +617,7 @@ static HRESULT WINAPI reverb_params_SetQuality(IDirectSoundFXI3DL2Reverb *iface,
...
@@ -617,7 +617,7 @@ static HRESULT WINAPI reverb_params_SetQuality(IDirectSoundFXI3DL2Reverb *iface,
{
{
struct
reverb
*
effect
=
impl_from_IDirectSoundFXI3DL2Reverb
(
iface
);
struct
reverb
*
effect
=
impl_from_IDirectSoundFXI3DL2Reverb
(
iface
);
FIXME
(
"effect %p, quality %u, stub!
\n
"
,
effect
,
quality
);
FIXME
(
"effect %p, quality %
l
u, stub!
\n
"
,
effect
,
quality
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
...
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