Version

menu_open
Wwise SDK 2022.1.11

◆ Write()

virtual AKRESULT AK::IAkStdStream::Write ( void *  in_pBuffer,
AkUInt32  in_uReqSize,
bool  in_bWait,
AkPriority  in_priority,
AkReal32  in_fDeadline,
AkUInt32 out_uSize 
)
pure virtual

Schedule a write request.

Warning
Use only with a multiple of the block size, queried via AK::IAkStdStream::GetBlockSize().
Remarks
If the call is asynchronous (in_bWait = false), wait until GetStatus() stops returning AK_StmStatusPending.
Returns
AK_Success if the operation was successfully scheduled
See also
Parameters
in_pBufferUser buffer address
in_uReqSizeRequested write size
in_bWaitBlock until the operation is complete
in_priorityHeuristic: operation priority
in_fDeadlineHeuristic: operation deadline (ms)
out_uSizeThe size that was actually written

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise