在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

Having Difficulties with default IO streaming

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.
最新提问 3月 21, 2016 分类: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.
最新回答 3月 27, 2016 用户: Miles F. (250 分)
采纳于 4月 2, 2016 用户:Fabien B. (Audiokinetic)
...