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
1f3133d2
Commit
1f3133d2
authored
Aug 07, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Constify some variables.
parent
4a21ad9f
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
16 additions
and
10 deletions
+16
-10
control.c
dlls/quartz/control.c
+1
-1
dsoundrender.c
dlls/quartz/dsoundrender.c
+1
-1
filtergraph.c
dlls/quartz/filtergraph.c
+1
-1
filtermapper.c
dlls/quartz/filtermapper.c
+1
-1
memallocator.c
dlls/quartz/memallocator.c
+1
-1
parser.c
dlls/quartz/parser.c
+2
-1
parser.h
dlls/quartz/parser.h
+2
-1
pin.c
dlls/quartz/pin.c
+2
-1
pin.h
dlls/quartz/pin.h
+2
-1
transform.c
dlls/quartz/transform.c
+3
-1
No files found.
dlls/quartz/control.c
View file @
1f3133d2
...
...
@@ -163,7 +163,7 @@ HRESULT WINAPI MediaSeekingImpl_ConvertTimeFormat(IMediaSeeking * iface, LONGLON
return
E_INVALIDARG
;
}
static
inline
LONGLONG
Adjust
(
LONGLONG
value
,
LONGLONG
*
pModifier
,
DWORD
dwFlags
)
static
inline
LONGLONG
Adjust
(
LONGLONG
value
,
const
LONGLONG
*
pModifier
,
DWORD
dwFlags
)
{
switch
(
dwFlags
&
AM_SEEKING_PositioningBitsMask
)
{
...
...
dlls/quartz/dsoundrender.c
View file @
1f3133d2
...
...
@@ -146,7 +146,7 @@ static inline HRESULT DSoundRender_GetPos(DSoundRenderImpl *This, DWORD *pPlayPo
return
hr
;
}
static
HRESULT
DSoundRender_SendSampleData
(
DSoundRenderImpl
*
This
,
LPBYTE
data
,
DWORD
size
)
static
HRESULT
DSoundRender_SendSampleData
(
DSoundRenderImpl
*
This
,
const
BYTE
*
data
,
DWORD
size
)
{
HRESULT
hr
;
LPBYTE
lpbuf1
=
NULL
;
...
...
dlls/quartz/filtergraph.c
View file @
1f3133d2
...
...
@@ -89,7 +89,7 @@ static int EventsQueue_Destroy(EventsQueue* omr)
return
TRUE
;
}
static
int
EventsQueue_PutEvent
(
EventsQueue
*
omr
,
Event
*
evt
)
static
int
EventsQueue_PutEvent
(
EventsQueue
*
omr
,
const
Event
*
evt
)
{
EnterCriticalSection
(
&
omr
->
msg_crst
);
if
((
omr
->
msg_toget
==
((
omr
->
msg_tosave
+
1
)
%
omr
->
ring_buffer_size
)))
...
...
dlls/quartz/filtermapper.c
View file @
1f3133d2
...
...
@@ -189,7 +189,7 @@ static int add_data(struct Vector * v, const BYTE * pData, int size)
return
index
;
}
static
int
find_data
(
struct
Vector
*
v
,
const
BYTE
*
pData
,
int
size
)
static
int
find_data
(
const
struct
Vector
*
v
,
const
BYTE
*
pData
,
int
size
)
{
int
index
;
for
(
index
=
0
;
index
<
v
->
current
;
index
++
)
...
...
dlls/quartz/memallocator.c
View file @
1f3133d2
...
...
@@ -32,7 +32,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
quartz
);
void
dump_AM_SAMPLE2_PROPERTIES
(
AM_SAMPLE2_PROPERTIES
*
pProps
)
void
dump_AM_SAMPLE2_PROPERTIES
(
const
AM_SAMPLE2_PROPERTIES
*
pProps
)
{
if
(
!
pProps
)
{
...
...
dlls/quartz/parser.c
View file @
1f3133d2
...
...
@@ -495,7 +495,8 @@ static const IBaseFilterVtbl Parser_Vtbl =
Parser_QueryVendorInfo
};
HRESULT
Parser_AddPin
(
ParserImpl
*
This
,
PIN_INFO
*
piOutput
,
ALLOCATOR_PROPERTIES
*
props
,
AM_MEDIA_TYPE
*
amt
,
float
fSamplesPerSec
,
DWORD
dwSampleSize
,
DWORD
dwLength
)
HRESULT
Parser_AddPin
(
ParserImpl
*
This
,
const
PIN_INFO
*
piOutput
,
ALLOCATOR_PROPERTIES
*
props
,
const
AM_MEDIA_TYPE
*
amt
,
float
fSamplesPerSec
,
DWORD
dwSampleSize
,
DWORD
dwLength
)
{
IPin
**
ppOldPins
;
HRESULT
hr
;
...
...
dlls/quartz/parser.h
View file @
1f3133d2
...
...
@@ -55,5 +55,6 @@ typedef struct Parser_OutputPin
MediaSeekingImpl
mediaSeeking
;
}
Parser_OutputPin
;
HRESULT
Parser_AddPin
(
ParserImpl
*
This
,
PIN_INFO
*
piOutput
,
ALLOCATOR_PROPERTIES
*
props
,
AM_MEDIA_TYPE
*
amt
,
float
fSamplesPerSec
,
DWORD
dwSampleSize
,
DWORD
dwLength
);
HRESULT
Parser_AddPin
(
ParserImpl
*
This
,
const
PIN_INFO
*
piOutput
,
ALLOCATOR_PROPERTIES
*
props
,
const
AM_MEDIA_TYPE
*
amt
,
float
fSamplesPerSec
,
DWORD
dwSampleSize
,
DWORD
dwLength
);
HRESULT
Parser_Create
(
ParserImpl
*
,
const
CLSID
*
,
PFN_PROCESS_SAMPLE
,
PFN_QUERY_ACCEPT
,
PFN_PRE_CONNECT
,
PFN_CLEANUP
);
dlls/quartz/pin.c
View file @
1f3133d2
...
...
@@ -178,7 +178,8 @@ HRESULT InputPin_Init(const PIN_INFO * pPinInfo, SAMPLEPROC pSampleProc, LPVOID
return
S_OK
;
}
HRESULT
OutputPin_Init
(
const
PIN_INFO
*
pPinInfo
,
ALLOCATOR_PROPERTIES
*
props
,
LPVOID
pUserData
,
QUERYACCEPTPROC
pQueryAccept
,
LPCRITICAL_SECTION
pCritSec
,
OutputPin
*
pPinImpl
)
HRESULT
OutputPin_Init
(
const
PIN_INFO
*
pPinInfo
,
const
ALLOCATOR_PROPERTIES
*
props
,
LPVOID
pUserData
,
QUERYACCEPTPROC
pQueryAccept
,
LPCRITICAL_SECTION
pCritSec
,
OutputPin
*
pPinImpl
)
{
TRACE
(
"
\n
"
);
...
...
dlls/quartz/pin.h
View file @
1f3133d2
...
...
@@ -89,7 +89,8 @@ typedef struct PullPin
/*** Initializers ***/
HRESULT
InputPin_Init
(
const
PIN_INFO
*
pPinInfo
,
SAMPLEPROC
pSampleProc
,
LPVOID
pUserData
,
QUERYACCEPTPROC
pQueryAccept
,
LPCRITICAL_SECTION
pCritSec
,
InputPin
*
pPinImpl
);
HRESULT
OutputPin_Init
(
const
PIN_INFO
*
pPinInfo
,
ALLOCATOR_PROPERTIES
*
props
,
LPVOID
pUserData
,
QUERYACCEPTPROC
pQueryAccept
,
LPCRITICAL_SECTION
pCritSec
,
OutputPin
*
pPinImpl
);
HRESULT
OutputPin_Init
(
const
PIN_INFO
*
pPinInfo
,
const
ALLOCATOR_PROPERTIES
*
props
,
LPVOID
pUserData
,
QUERYACCEPTPROC
pQueryAccept
,
LPCRITICAL_SECTION
pCritSec
,
OutputPin
*
pPinImpl
);
HRESULT
PullPin_Init
(
const
PIN_INFO
*
pPinInfo
,
SAMPLEPROC
pSampleProc
,
LPVOID
pUserData
,
QUERYACCEPTPROC
pQueryAccept
,
LPCRITICAL_SECTION
pCritSec
,
PullPin
*
pPinImpl
);
/*** Constructors ***/
...
...
dlls/quartz/transform.c
View file @
1f3133d2
...
...
@@ -110,7 +110,9 @@ static HRESULT TransformFilter_InputPin_Construct(const PIN_INFO * pPinInfo, SAM
return
E_FAIL
;
}
static
HRESULT
TransformFilter_OutputPin_Construct
(
const
PIN_INFO
*
pPinInfo
,
ALLOCATOR_PROPERTIES
*
props
,
LPVOID
pUserData
,
QUERYACCEPTPROC
pQueryAccept
,
LPCRITICAL_SECTION
pCritSec
,
IPin
**
ppPin
)
static
HRESULT
TransformFilter_OutputPin_Construct
(
const
PIN_INFO
*
pPinInfo
,
const
ALLOCATOR_PROPERTIES
*
props
,
LPVOID
pUserData
,
QUERYACCEPTPROC
pQueryAccept
,
LPCRITICAL_SECTION
pCritSec
,
IPin
**
ppPin
)
{
OutputPin
*
pPinImpl
;
...
...
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