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
055057e3
Commit
055057e3
authored
Oct 14, 2001
by
Hidenori Takeshima
Committed by
Alexandre Julliard
Oct 14, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added MPEG1WAVEFORMAT and MPEGLAYER3WAVEFORMAT.
parent
3bbeb72d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
1 deletion
+50
-1
mmreg.h
include/mmreg.h
+50
-1
No files found.
include/mmreg.h
View file @
055057e3
/*
* mmreg.h - Declarations for
???
* mmreg.h - Declarations for
MultiMedia-REGistration
*/
#ifndef __WINE_MMREG_H
...
...
@@ -89,6 +89,7 @@ typedef struct _WAVEFORMATEX {
#define WAVE_FORMAT_NMS_VBXADPCM 0x0038
/* Natural MicroSystems */
#define WAVE_FORMAT_G721_ADPCM 0x0040
/* Antex Electronics Corporation */
#define WAVE_FORMAT_MPEG 0x0050
/* Microsoft Corporation */
#define WAVE_FORMAT_MPEGLAYER3 0x0055
#define WAVE_FORMAT_CREATIVE_ADPCM 0x0200
/* Creative Labs, Inc */
#define WAVE_FORMAT_CREATIVE_FASTSPEECH8 0x0202
/* Creative Labs, Inc */
#define WAVE_FORMAT_CREATIVE_FASTSPEECH10 0x0203
/* Creative Labs, Inc */
...
...
@@ -101,4 +102,52 @@ typedef struct _WAVEFORMATEX {
#define WAVE_FORMAT_DEVELOPMENT (0xFFFF)
typedef
struct
{
WAVEFORMATEX
wfx
;
WORD
fwHeadLayer
;
DWORD
dwHeadBitrate
;
WORD
fwHeadMode
;
WORD
fwHeadModeExt
;
WORD
wHeadEmphasis
;
WORD
fwHeadFlags
;
DWORD
dwPTSLow
;
DWORD
dwPTSHigh
;
}
MPEG1WAVEFORMAT
,
*
PMPEG1WAVEFORMAT
;
#define ACM_MPEG_LAYER1 0x0001
#define ACM_MPEG_LAYER2 0x0002
#define ACM_MPEG_LAYER3 0x0004
#define ACM_MPEG_STEREO 0x0001
#define ACM_MPEG_JOINTSTEREO 0x0002
#define ACM_MPEG_DUALCHANNEL 0x0004
#define ACM_MPEG_SINGLECHANNEL 0x0008
#define ACM_MPEG_PRIVATEBIT 0x0001
#define ACM_MPEG_COPYRIGHT 0x0002
#define ACM_MPEG_ORIGINALHOME 0x0004
#define ACM_MPEG_PROTECTIONBIT 0x0008
#define ACM_MPEG_ID_MPEG1 0x0010
typedef
struct
{
WAVEFORMATEX
wfx
;
WORD
wID
;
DWORD
fdwFlags
;
WORD
nBlockSize
;
WORD
nFramesPerBlock
;
WORD
nCodecDelay
;
}
MPEGLAYER3WAVEFORMAT
;
#define MPEGLAYER3_ID_MPEG 1
#define MPEGLAYER3_ID_CONSTANTFRAMESIZE 2
#define MPEGLAYER3_FLAG_PADDING_ISO 0x00000000
#define MPEGLAYER3_FLAG_PADDING_ON 0x00000001
#define MPEGLAYER3_FLAG_PADDING_OFF 0x00000002
#endif
/* __WINE_MMREG_H */
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