コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

+5 支持

Hi there,

I need to access the raw PCM data for a number of events at runtime, and am wondering about the best way to achieve this.

I've tried building a couple of plugins to help with this (both in-place and out-of-place) but the problem I can't seem to get around is I'm only getting around 512 samples per frame to work with... nowhere near what I really need (a half second at a minimum).

A workaround that I might attempt is to use an out-of-place plugin to feed each 512 sample buffer back in to my code base. I could then buffer it up until I have enough to process, and then feed the result back to either a source plugin or the standard Wwise audio input plugin. This seems a little 'hacky' though so I'm hoping there's a more elegant solution.

A second partial solution I found is that I can use Wwise's streaming manager (IAkStreamMgr) to create an instance of the IAkAutoStream object and read the.wem files directly from disk. The trouble here is that the buffers I get from IAkAutoStream are (I assume) compressed audio and I'm having trouble tracking down anything in the Wwise SDK that I can use to convert said buffers in to the PCM format that I need.

Any ideas on a better approach I can take would be greatly appreciated!

Oliver S. (310 ポイント) General Discussion

Please sign-in or register to answer this question.

...