버전

menu_open
AK::StreamMgr::IAkFileLocationResolver 클래스 참조

#include <AkStreamMgrModule.h>

Public 멤버 함수

virtual AKRESULT GetNextPreferredDevice (AkAsyncFileOpenData &in_FileOpen, AkDeviceID &io_idDevice)
 

Protected 멤버 함수

virtual ~IAkFileLocationResolver ()
 Virtual destructor on interface to avoid warnings. 더 자세히 ...
 

상세한 설명

File location resolver interface. There is one and only one File Location Resolver that is registered to the Stream Manager (using AK::StreamMgr::SetFileLocationResolver()). Its purpose is to resolve a file name or ID to a streaming device (I/O hook) that can handle the file. When your Low-Level I/O submodule uses a single device, you should create a standalone I/O hook which implements one of the I/O hooks defined above, as well as the File Location Resolver. You then register this object to the Stream Manager as the File Location Resolver. If you wish to create multiple devices, then you should have a separate object that implements AK::StreamMgr::IAkFileLocationResolver and registers to the Stream Manager as such. This object will be used to dispatch the file open request to the appropriate device. The strategy you will use to select the correct device is up to you to implement. There is a built-in mechanism of chaining devices through GetNextPreferredDevice(). If a device can't open a file GetNextPreferredDevice will be called again to get the next device to check.

AkStreamMgrModule.h 파일의 415 번째 라인에서 정의되었습니다.


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요