Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. Contact Sales if your project requires a support plan.

Having Difficulties with default IO streaming

0 votes
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.
asked Mar 21, 2016 in General Discussion by Miles F. (240 points)
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 Answer

0 votes
 
Best answer
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.
answered Mar 27, 2016 by Miles F. (240 points)
selected Apr 2, 2016 by Fabien B. (Audiokinetic)
...