Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Cai
wine
Commits
055057e3
Commit
055057e3
authored
23 years ago
by
Hidenori Takeshima
Committed by
Alexandre Julliard
23 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added MPEG1WAVEFORMAT and MPEGLAYER3WAVEFORMAT.
parent
3bbeb72d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/mmreg.h
+50
-1
50 additions, 1 deletion
include/mmreg.h
with
50 additions
and
1 deletion
include/mmreg.h
+
50
−
1
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 */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment