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
19b78a0e
Commit
19b78a0e
authored
Feb 22, 2005
by
Christian Costa
Committed by
Alexandre Julliard
Feb 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed ACM Wrapper.
parent
aef6fe31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
acmwrapper.c
dlls/quartz/acmwrapper.c
+4
-1
No files found.
dlls/quartz/acmwrapper.c
View file @
19b78a0e
...
@@ -187,7 +187,7 @@ static HRESULT ACMWrapper_ConnectInput(TransformFilterImpl* pTransformFilter, co
...
@@ -187,7 +187,7 @@ static HRESULT ACMWrapper_ConnectInput(TransformFilterImpl* pTransformFilter, co
This
->
pWfOut
=
(
WAVEFORMATEX
*
)
outpmt
->
pbFormat
;
This
->
pWfOut
=
(
WAVEFORMATEX
*
)
outpmt
->
pbFormat
;
This
->
pWfOut
->
wFormatTag
=
WAVE_FORMAT_PCM
;
This
->
pWfOut
->
wFormatTag
=
WAVE_FORMAT_PCM
;
This
->
pWfOut
->
wBitsPerSample
=
16
;
This
->
pWfOut
->
wBitsPerSample
=
16
;
This
->
pWfOut
->
nBlockAlign
=
1
;
This
->
pWfOut
->
nBlockAlign
=
4
;
This
->
pWfOut
->
cbSize
=
0
;
This
->
pWfOut
->
cbSize
=
0
;
This
->
pWfOut
->
nAvgBytesPerSec
=
This
->
pWfOut
->
nChannels
*
This
->
pWfOut
->
nSamplesPerSec
This
->
pWfOut
->
nAvgBytesPerSec
=
This
->
pWfOut
->
nChannels
*
This
->
pWfOut
->
nSamplesPerSec
*
(
This
->
pWfOut
->
wBitsPerSample
/
8
);
*
(
This
->
pWfOut
->
wBitsPerSample
/
8
);
...
@@ -202,6 +202,9 @@ static HRESULT ACMWrapper_ConnectInput(TransformFilterImpl* pTransformFilter, co
...
@@ -202,6 +202,9 @@ static HRESULT ACMWrapper_ConnectInput(TransformFilterImpl* pTransformFilter, co
}
}
TRACE
(
"input buffer size %ld
\n
"
,
This
->
max_size
);
TRACE
(
"input buffer size %ld
\n
"
,
This
->
max_size
);
/* Update buffer size of media samples in output */
((
OutputPin
*
)
This
->
tf
.
ppPins
[
1
])
->
allocProps
.
cbBuffer
=
OUTPUT_BUFFER_SIZE
;
TRACE
(
"Connection accepted
\n
"
);
TRACE
(
"Connection accepted
\n
"
);
return
S_OK
;
return
S_OK
;
...
...
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