Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
03609aed
Commit
03609aed
authored
Aug 28, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a VLC_CODEC_ADPCM_MS for MS ADPCM
parent
e5fc0bfd
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
3 deletions
+8
-3
include/vlc_codecs.h
include/vlc_codecs.h
+1
-1
include/vlc_fourcc.h
include/vlc_fourcc.h
+1
-0
modules/codec/adpcm.c
modules/codec/adpcm.c
+1
-1
modules/demux/wav.c
modules/demux/wav.c
+1
-1
src/misc/fourcc.c
src/misc/fourcc.c
+4
-0
No files found.
include/vlc_codecs.h
View file @
03609aed
...
@@ -302,7 +302,7 @@ static const struct
...
@@ -302,7 +302,7 @@ static const struct
wave_format_tag_to_fourcc
[]
=
wave_format_tag_to_fourcc
[]
=
{
{
{
WAVE_FORMAT_PCM
,
VLC_FOURCC
(
'a'
,
'r'
,
'a'
,
'w'
),
"Raw audio"
},
{
WAVE_FORMAT_PCM
,
VLC_FOURCC
(
'a'
,
'r'
,
'a'
,
'w'
),
"Raw audio"
},
{
WAVE_FORMAT_ADPCM
,
VLC_
FOURCC
(
'm'
,
's'
,
0x00
,
0x02
),
"ADPCM"
},
{
WAVE_FORMAT_ADPCM
,
VLC_
CODEC_ADPCM_MS
,
"ADPCM"
},
{
WAVE_FORMAT_IEEE_FLOAT
,
VLC_FOURCC
(
'a'
,
'f'
,
'l'
,
't'
),
"IEEE Float audio"
},
{
WAVE_FORMAT_IEEE_FLOAT
,
VLC_FOURCC
(
'a'
,
'f'
,
'l'
,
't'
),
"IEEE Float audio"
},
{
WAVE_FORMAT_ALAW
,
VLC_CODEC_ALAW
,
"A-Law"
},
{
WAVE_FORMAT_ALAW
,
VLC_CODEC_ALAW
,
"A-Law"
},
{
WAVE_FORMAT_MULAW
,
VLC_CODEC_MULAW
,
"Mu-Law"
},
{
WAVE_FORMAT_MULAW
,
VLC_CODEC_MULAW
,
"Mu-Law"
},
...
...
include/vlc_fourcc.h
View file @
03609aed
...
@@ -221,6 +221,7 @@
...
@@ -221,6 +221,7 @@
#define VLC_CODEC_VMDAUDIO VLC_FOURCC('v','m','d','a')
#define VLC_CODEC_VMDAUDIO VLC_FOURCC('v','m','d','a')
#define VLC_CODEC_ADPCM_G726 VLC_FOURCC('g','7','2','6')
#define VLC_CODEC_ADPCM_G726 VLC_FOURCC('g','7','2','6')
#define VLC_CODEC_ADPCM_SWF VLC_FOURCC('S','W','F','a')
#define VLC_CODEC_ADPCM_SWF VLC_FOURCC('S','W','F','a')
#define VLC_CODEC_ADPCM_MS VLC_FOURCC('m','s',0x00,0x02)
#define VLC_CODEC_AMR_NB VLC_FOURCC('s','a','m','r')
#define VLC_CODEC_AMR_NB VLC_FOURCC('s','a','m','r')
#define VLC_CODEC_AMR_WB VLC_FOURCC('s','a','w','b')
#define VLC_CODEC_AMR_WB VLC_FOURCC('s','a','w','b')
#define VLC_CODEC_ALAC VLC_FOURCC('a','l','a','c')
#define VLC_CODEC_ALAC VLC_FOURCC('a','l','a','c')
...
...
modules/codec/adpcm.c
View file @
03609aed
...
@@ -177,7 +177,7 @@ static int OpenDecoder( vlc_object_t *p_this )
...
@@ -177,7 +177,7 @@ static int OpenDecoder( vlc_object_t *p_this )
case
VLC_FOURCC
(
'm'
,
's'
,
0x00
,
0x11
):
/* IMA ADPCM */
case
VLC_FOURCC
(
'm'
,
's'
,
0x00
,
0x11
):
/* IMA ADPCM */
p_sys
->
codec
=
ADPCM_IMA_WAV
;
p_sys
->
codec
=
ADPCM_IMA_WAV
;
break
;
break
;
case
VLC_
FOURCC
(
'm'
,
's'
,
0x00
,
0x02
)
:
/* MS ADPCM */
case
VLC_
CODEC_ADPCM_MS
:
/* MS ADPCM */
p_sys
->
codec
=
ADPCM_MS
;
p_sys
->
codec
=
ADPCM_MS
;
break
;
break
;
case
VLC_FOURCC
(
'm'
,
's'
,
0x00
,
0x61
):
/* Duck DK4 ADPCM */
case
VLC_FOURCC
(
'm'
,
's'
,
0x00
,
0x61
):
/* Duck DK4 ADPCM */
...
...
modules/demux/wav.c
View file @
03609aed
...
@@ -318,7 +318,7 @@ static int Open( vlc_object_t * p_this )
...
@@ -318,7 +318,7 @@ static int Open( vlc_object_t * p_this )
&
p_sys
->
fmt
)
)
&
p_sys
->
fmt
)
)
goto
error
;
goto
error
;
break
;
break
;
case
VLC_
FOURCC
(
'm'
,
's'
,
0x00
,
0x02
)
:
case
VLC_
CODEC_ADPCM_MS
:
if
(
FrameInfo_MS_ADPCM
(
&
p_sys
->
i_frame_size
,
&
p_sys
->
i_frame_samples
,
if
(
FrameInfo_MS_ADPCM
(
&
p_sys
->
i_frame_size
,
&
p_sys
->
i_frame_samples
,
&
p_sys
->
fmt
)
)
&
p_sys
->
fmt
)
)
goto
error
;
goto
error
;
...
...
src/misc/fourcc.c
View file @
03609aed
...
@@ -893,6 +893,10 @@ static const entry_t p_list_audio[] = {
...
@@ -893,6 +893,10 @@ static const entry_t p_list_audio[] = {
B
(
VLC_CODEC_ADPCM_IMA_WS
,
"Westwood IMA ADPCM audio"
),
B
(
VLC_CODEC_ADPCM_IMA_WS
,
"Westwood IMA ADPCM audio"
),
A
(
"AIWS"
),
A
(
"AIWS"
),
/* MS ADPCM */
B
(
VLC_CODEC_ADPCM_MS
,
"MS ADPCM audio"
),
A
(
"ms
\x00\x02
"
),
/* Sierra VMD */
/* Sierra VMD */
B
(
VLC_CODEC_VMDAUDIO
,
"Sierra VMD Audio"
),
B
(
VLC_CODEC_VMDAUDIO
,
"Sierra VMD Audio"
),
A
(
"vmda"
),
A
(
"vmda"
),
...
...
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