Skip to content

Commit b93a1cb

Browse files
committed
fix TTSSystem
1 parent 5f145ed commit b93a1cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Content.Client/_Stories/TTS/TTSSystem.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ private void OnPlayTTS(PlayTTSEvent ev)
8383
if (ev.SourceUid != null)
8484
{
8585
var sourceUid = GetEntity(ev.SourceUid.Value);
86-
_audio.PlayEntity(audioResource.AudioStream, sourceUid, audioParams);
86+
_audio.PlayEntity(audioResource.AudioStream, sourceUid, new ResolvedPathSpecifier(filePath), audioParams);
8787
}
8888
else
8989
{
90-
_audio.PlayGlobal(audioResource.AudioStream, audioParams);
90+
_audio.PlayGlobal(audioResource.AudioStream, new ResolvedPathSpecifier(filePath), audioParams);
9191
}
9292

9393
_contentRoot.RemoveFile(filePath);

0 commit comments

Comments
 (0)