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
43e43fa5
Commit
43e43fa5
authored
Apr 07, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cleanup
parent
101bafe4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/demux/xa.c
modules/demux/xa.c
+2
-3
No files found.
modules/demux/xa.c
View file @
43e43fa5
...
...
@@ -107,10 +107,9 @@ static int Open( vlc_object_t * p_this )
/* skip XA header -- cannot fail */
stream_Read
(
p_demux
->
s
,
NULL
,
sizeof
(
p_xa
)
);
es_format_Init
(
&
p_sys
->
fmt
,
AUDIO_ES
,
0
);
es_format_Init
(
&
p_sys
->
fmt
,
AUDIO_ES
,
VLC_FOURCC
(
'X'
,
'A'
,
'J'
,
0
)
);
msg_Dbg
(
p_demux
,
"assuming EA ADPCM audio format"
);
p_sys
->
fmt
.
i_codec
=
VLC_FOURCC
(
'X'
,
'A'
,
'J'
,
0
);
msg_Dbg
(
p_demux
,
"assuming EA ADPCM audio codec"
);
p_sys
->
fmt
.
audio
.
i_rate
=
GetDWLE
(
&
p_xa
.
nSamplesPerSec
);
p_sys
->
fmt
.
audio
.
i_bytes_per_frame
=
15
*
GetWLE
(
&
p_xa
.
nChannels
);
p_sys
->
fmt
.
audio
.
i_frame_length
=
28
;
/* 28 samples of 4 bits each */
...
...
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