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
de00535c
Commit
de00535c
authored
Oct 18, 2009
by
Jörg Höhle
Committed by
Alexandre Julliard
Nov 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciwave: Allow (again) to set wave format parameters prior to recording.
parent
518f4f8c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
mciwave.c
dlls/mciwave/mciwave.c
+0
-0
mci.c
dlls/winmm/tests/mci.c
+4
-1
No files found.
dlls/mciwave/mciwave.c
View file @
de00535c
This diff is collapsed.
Click to expand it.
dlls/winmm/tests/mci.c
View file @
de00535c
...
...
@@ -228,7 +228,7 @@ static void test_recordWAVE(HWND hwnd)
/* Check the default recording: 8-bits per sample, mono, 11kHz */
err
=
mciSendString
(
"status x samplespersec"
,
buf
,
sizeof
(
buf
),
NULL
);
todo_wine
ok
(
!
err
,
"mci status samplespersec returned error: %d
\n
"
,
err
);
ok
(
!
err
,
"mci status samplespersec returned error: %d
\n
"
,
err
);
if
(
!
err
)
ok
(
!
strcmp
(
buf
,
"11025"
),
"mci status samplespersec expected 11025, got: %s
\n
"
,
buf
);
/* MCI seems to solely support PCM, no need for ACM conversion. */
...
...
@@ -292,6 +292,9 @@ static void test_recordWAVE(HWND hwnd)
err
=
mciSendString
(
"save x tempfile.wav"
,
NULL
,
0
,
NULL
);
ok
(
!
err
,
"mci save returned error: %d
\n
"
,
err
);
err
=
mciSendString
(
"set x channels 2"
,
NULL
,
0
,
NULL
);
ok
(
err
==
MCIERR_NONAPPLICABLE_FUNCTION
,
"mci set channels after saving returned error: %d
\n
"
,
err
);
err
=
mciSendString
(
"close x"
,
NULL
,
0
,
NULL
);
ok
(
!
err
,
"mci close returned error: %d
\n
"
,
err
);
test_notification
(
hwnd
,
"record complete"
,
0
);
...
...
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