Wwise SDK
_ak_fifo_queue_8h_source
버전
menu_open
link
AkFifoQueue.h
이 파일의 문서화 페이지로 가기
100 /// Returns false if the enqueue could not be performed. This can happen if the queue is "full", and some dequeue operations have to occur.
109 AkInt64 sequenceDelta = AkAtomicLoad64(&pBuffer[writePos & uQueueIndexMask].uSequence) - writePos;
110 // if we're in the right spot, and we can successfully write an updated write position, break out and write the handle into the queue
120 // we would have over-enqueued if we tried to write the position in. Return false; the user needs to decide how to handle things
125 // if it didn't work, reload writePos: someone else must have written to the sequence and we need to get caught up
137 /// \return true if a value was successfully dequeued, false otherwise (if false, io_value will not be written to)
146 AkInt64 sequenceDelta = AkAtomicLoad64(&pBuffer[readPos & uQueueIndexMask].uSequence) - (readPos + 1);
147 // if we're in the right spot, and we can successfully write an updated read position, break out and read the entry
169 AkAtomicStore64(&pBuffer[readPos & uQueueIndexMask].uSequence, readPos + m_uQueueIndexMask + 1);
178 AkInt64 sequenceDelta = AkAtomicLoad64(&m_buffer[readPos & m_uQueueIndexMask].uSequence) - (readPos + 1);
__forceinline int AkAtomicCas64(AkAtomic64 *pDest, long long proposed, long long expected)
Definition: AkAtomic.h:88
__forceinline void AkAtomicStore64(AkAtomic64 *pDest, long long value)
Definition: AkAtomic.h:80
AKSOUNDENGINE_API void Free(AkMemPoolId in_poolId, void *in_pMemAddress)
Definition: AkFifoQueue.h:38
이 페이지가 도움이 되었나요?
작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요