Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
A
AVMix
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
AVMix
Commits
33788f87
Commit
33788f87
authored
Apr 01, 2022
by
Linshizhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup update
parent
ca91b230
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
AudioTrackMerge.c
AudioTrackMerge.c
+2
-1
No files found.
AudioTrackMerge.c
View file @
33788f87
...
@@ -103,6 +103,7 @@ void filterCtx_Release(FilteringContext **f_ctx) {
...
@@ -103,6 +103,7 @@ void filterCtx_Release(FilteringContext **f_ctx) {
int
audioMixArbitary
(
int
numOfAudios
,
AudioFile
*
files
[],
AudioFile
*
o_file
)
{
int
audioMixArbitary
(
int
numOfAudios
,
AudioFile
*
files
[],
AudioFile
*
o_file
)
{
int
err
=
0
;
int
err
=
0
;
FilteringContext
*
filter_ctx
=
NULL
;
AudioStreamingContext
*
output_ctx
;
AudioStreamingContext
*
output_ctx
;
AudioStreamingContext
**
audio_ctx
=
AudioStreamingContext
**
audio_ctx
=
(
AudioStreamingContext
**
)
calloc
(
1
,
numOfAudios
*
sizeof
(
AudioStreamingContext
));
(
AudioStreamingContext
**
)
calloc
(
1
,
numOfAudios
*
sizeof
(
AudioStreamingContext
));
...
@@ -124,7 +125,7 @@ int audioMixArbitary(int numOfAudios, AudioFile *files[], AudioFile *o_file) {
...
@@ -124,7 +125,7 @@ int audioMixArbitary(int numOfAudios, AudioFile *files[], AudioFile *o_file) {
}
}
/* Create filter graph */
/* Create filter graph */
FilteringContext
*
filter_ctx
=
create_filter_context
(
numOfAudios
,
audio_ctx
);
filter_ctx
=
create_filter_context
(
numOfAudios
,
audio_ctx
);
if
(
filter_ctx
==
NULL
)
{
if
(
filter_ctx
==
NULL
)
{
printf
(
"Failed to create filter context
\n
"
);
printf
(
"Failed to create filter context
\n
"
);
goto
FAIL
;
goto
FAIL
;
...
...
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