Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
94027d3b
Commit
94027d3b
authored
Feb 08, 2009
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
document ff_audio_interleave
Originally committed as revision 17066 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
0d20c3fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
audiointerleave.h
libavformat/audiointerleave.h
+9
-0
No files found.
libavformat/audiointerleave.h
View file @
94027d3b
...
...
@@ -42,6 +42,15 @@ void ff_audio_interleave_close(AVFormatContext *s);
int
ff_interleave_compare_dts
(
AVFormatContext
*
s
,
AVPacket
*
next
,
AVPacket
*
pkt
);
int
ff_interleave_new_audio_packet
(
AVFormatContext
*
s
,
AVPacket
*
pkt
,
int
stream_index
,
int
flush
);
/**
* Rechunk audio pcm packets per AudioInterleaveContext->samples_per_frame
* and interleave them correctly.
* AVStream->priv_data first element must be AudioInterleaveContext
* when using this function.
*
* @param get_packet function will output a packet when streams are correctly interleaved.
* @param compare_ts function will compare AVPackets and decide interleaving order.
*/
int
ff_audio_interleave
(
AVFormatContext
*
s
,
AVPacket
*
out
,
AVPacket
*
pkt
,
int
flush
,
int
(
*
get_packet
)(
AVFormatContext
*
,
AVPacket
*
,
AVPacket
*
,
int
),
int
(
*
compare_ts
)(
AVFormatContext
*
,
AVPacket
*
,
AVPacket
*
));
...
...
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