implemented audio decoder and some of the audio node functionality

This commit is contained in:
itsmattkc
2019-10-24 21:33:46 +11:00
parent af702835da
commit 076f2699c5
12 changed files with 98 additions and 43 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ void MediaInput::Release()
decoder_ = nullptr;
}
StreamPtr MediaInput::Footage()
StreamPtr MediaInput::footage()
{
return footage_input_->get_value(0).value<StreamPtr>();
}
@@ -52,7 +52,7 @@ bool MediaInput::SetupDecoder()
}
// Get currently selected Footage
StreamPtr stream = Footage();
StreamPtr stream = footage();
// If no footage is selected, return nothing
if (stream == nullptr) {