社区问答

欢迎来到 Audiokinetic 社区问答论坛。在此,Wwise 和 Strata 用户可互帮互助。如需我们团队直接提供协助,请前往技术支持申请单页面。若要报告问题,请在 Audiokinetic Launcher 中选择“报告错误”选项(注意,问答论坛并不会接收错误报告)。我们内部设有专门的错误报告系统,会有专人查看报告并设法解决问题。

要想尽快得到满意的解答,请在提问时注意以下几点:

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,Wwise 和游戏引擎版本以及所用操作系统等等。
  • 阐明所做努力:阐明自己为了排除故障都采取了哪些措施。
  • 聚焦问题本身:聚焦于问题本身的相关技术细节,以便别人可以快速找到解决方案。

0 投票
I'm implementing Wwise using the provided CAkDefaultIOHookBlocking (and I tried the file packaging version before that) and I'm having trouble getting streams to work.

I've been scanning through all the documentation I can on this, and based on the example code I feel like I have everything I need to get a simple streamed file to play, but I'm not getting anything.  Regular banks still work fine.  I see an event being posted in the profiler, and I'm also seeing the Streaming Device has been created.  However, I'm trying out 2 events from the same bank, and the one that is streamed is the only one that doesn't play.  I made sure to use the Copy Streamed Media tool to bring over the .wem files to the banks directory, same place I set the base path.

I'm not trying to do anything fancy here, I was under the impression that after calling AK::StreamMgr::Create() and CAkDefaultIOHookBlocking::Init(), along with all the default init settings for the other modules and such, that a streamed file should play just by calling PostEvent().

 

Am I missing something completely obvious? If so, please let me know.
分类:General Discussion | 用户: Miles F. (250 分)
Should add: I'm getting a File Not Found error when trying to play the streamed file, even though I'm using the Copy Streamed Files tool to bring the .wem's into the banks folder, and using the default streaming implementation that is supposedly intended to be used with said tool.  I am confused as to why it can't find my media, this seems like a simple process.

1个回答

0 投票
 
已采纳
I found the issue: I was apparently using an outdated version of AkFileLocationBase to do my location resolving, so it wasn't recognizing .wem files because I guess that used to not be a Codec ID.  That explains why I wasn't seeing anything in the documentation.  Everything works now.
用户: Miles F. (250 分)
采纳于 用户:Noemie P. (Audiokinetic)
...