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
48dacc49
Commit
48dacc49
authored
Jan 20, 2003
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure we always know about the 48 and 96kHz formats even if they
are not defined in the (old) Windows headers.
parent
18e7e0d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
wave.c
dlls/winmm/tests/wave.c
+11
-2
No files found.
dlls/winmm/tests/wave.c
View file @
48dacc49
...
...
@@ -35,6 +35,17 @@
* So this is only done if the test is being run in interactive mode.
*/
#ifndef WAVE_FORMAT_48M08
#define WAVE_FORMAT_48M08 0x00001000
/* 48 kHz, Mono, 8-bit */
#define WAVE_FORMAT_48S08 0x00002000
/* 48 kHz, Stereo, 8-bit */
#define WAVE_FORMAT_48M16 0x00004000
/* 48 kHz, Mono, 16-bit */
#define WAVE_FORMAT_48S16 0x00008000
/* 48 kHz, Stereo, 16-bit */
#define WAVE_FORMAT_96M08 0x00010000
/* 96 kHz, Mono, 8-bit */
#define WAVE_FORMAT_96S08 0x00020000
/* 96 kHz, Stereo, 8-bit */
#define WAVE_FORMAT_96M16 0x00040000
/* 96 kHz, Mono, 16-bit */
#define WAVE_FORMAT_96S16 0x00080000
/* 96 kHz, Stereo, 16-bit */
#endif
static
const
unsigned
int
win_formats
[][
4
]
=
{
{
WAVE_FORMAT_1M08
,
11025
,
8
,
1
},
{
WAVE_FORMAT_1S08
,
11025
,
8
,
2
},
...
...
@@ -48,7 +59,6 @@ static const unsigned int win_formats[][4]={
{
WAVE_FORMAT_4S08
,
44100
,
8
,
2
},
{
WAVE_FORMAT_4M16
,
44100
,
16
,
1
},
{
WAVE_FORMAT_4S16
,
44100
,
16
,
2
},
#ifdef WAVE_FORMAT_48M08
{
WAVE_FORMAT_48M08
,
48000
,
8
,
1
},
{
WAVE_FORMAT_48S08
,
48000
,
8
,
2
},
{
WAVE_FORMAT_48M16
,
48000
,
16
,
1
},
...
...
@@ -57,7 +67,6 @@ static const unsigned int win_formats[][4]={
{
WAVE_FORMAT_96S08
,
96000
,
8
,
2
},
{
WAVE_FORMAT_96M16
,
96000
,
16
,
1
},
{
WAVE_FORMAT_96S16
,
96000
,
16
,
2
}
#endif
};
#define NB_WIN_FORMATS (sizeof(win_formats)/sizeof(*win_formats))
...
...
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