Skip to content
Snippets Groups Projects
Commit 4f5e85db authored by Jonathan Ehret's avatar Jonathan Ehret
Browse files

make VAAudiofileSignalSource more robust to not having a functioning VAServer connected

parent 710d46fa
Branches
No related tags found
No related merge requests found
...@@ -147,6 +147,10 @@ bool UVAAudiofileSignalSource::SetPlayBackPosition(const float Time) ...@@ -147,6 +147,10 @@ bool UVAAudiofileSignalSource::SetPlayBackPosition(const float Time)
bool UVAAudiofileSignalSource::SetPlayAction(const int Action) bool UVAAudiofileSignalSource::SetPlayAction(const int Action)
{ {
if (!bInitialized)
{
return false;
}
InterallyStoredPlayAction = Action; InterallyStoredPlayAction = Action;
StorePlayStateInternallyEvent.Send(Action); //also send this to all slaves, so potentially still pending send numbers from GetPlayAction are overwritten StorePlayStateInternallyEvent.Send(Action); //also send this to all slaves, so potentially still pending send numbers from GetPlayAction are overwritten
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment