版本

menu_open
virtual AKRESULT AK::IAkAutoStream::QueryBufferingStatus ( AkUInt32 out_uNumBytesAvailable  )  [pure virtual]

Get the amount of buffering that the stream has. The buffering is defined as the number of bytes that the stream has buffered, excluding the number of bytes that is currently granted to the user (with GetBuffer()).

Remarks:
The returned value corresponds to the buffering status at that moment, and does not even guarantee that it will not shrink.
Returns:
  • AK_DataReady: Some data has been buffered (out_uNumBytesAvailable is greater than 0).
  • AK_NoDataReady: No data is available, and the end of file has not been reached.
  • AK_NoMoreData: Some or no data is available, but the end of file has been reached. The stream will not buffer any more data.
  • AK_Fail: The stream is invalid due to an I/O error.
Parameters:
out_uNumBytesAvailable  Number of bytes available in the stream's buffer(s).

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅