Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLMC
Commits
25a39185
Commit
25a39185
authored
Jan 15, 2010
by
Hugo Beauzee-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Muting audio track is now functionnal.
parent
29f285ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
src/Workflow/TrackHandler.cpp
src/Workflow/TrackHandler.cpp
+11
-8
No files found.
src/Workflow/TrackHandler.cpp
View file @
25a39185
...
...
@@ -129,14 +129,17 @@ TrackHandler::getOutput( qint64 currentFrame, qint64 subFrame )
}
else
{
void
*
ret
=
m_tracks
[
i
]
->
getOutput
(
currentFrame
,
subFrame
);
//m_tmpAudioBuffer is NULl by default, so it will remain NULL if we continue;
if
(
ret
==
NULL
)
continue
;
StackedBuffer
<
AudioClipWorkflow
::
AudioSample
*>*
stackedBuffer
=
reinterpret_cast
<
StackedBuffer
<
AudioClipWorkflow
::
AudioSample
*>*>
(
ret
);
if
(
stackedBuffer
!=
NULL
)
m_tmpAudioBuffer
=
stackedBuffer
->
get
();
if
(
m_tracks
[
i
].
activated
()
==
true
)
{
void
*
ret
=
m_tracks
[
i
]
->
getOutput
(
currentFrame
,
subFrame
);
//m_tmpAudioBuffer is NULl by default, so it will remain NULL if we continue;
if
(
ret
==
NULL
)
continue
;
StackedBuffer
<
AudioClipWorkflow
::
AudioSample
*>*
stackedBuffer
=
reinterpret_cast
<
StackedBuffer
<
AudioClipWorkflow
::
AudioSample
*>*>
(
ret
);
if
(
stackedBuffer
!=
NULL
)
m_tmpAudioBuffer
=
stackedBuffer
->
get
();
}
}
}
}
...
...
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