Lines Matching refs:bufferqueueState
84 SLBufferQueueState bufferqueueState; member in TestBufferQueue
207 res = (*playerBufferQueue)->GetState(playerBufferQueue, &bufferqueueState); in PrepareValidBuffer()
209 ASSERT_EQ((SLuint32) 0, bufferqueueState.count); in PrepareValidBuffer()
210 ASSERT_EQ((SLuint32) 0, bufferqueueState.playIndex); in PrepareValidBuffer()
220 res = (*playerBufferQueue)->GetState(playerBufferQueue, &bufferqueueState); in EnqueueMaxBuffer()
222 ASSERT_EQ(j + 1, bufferqueueState.count); in EnqueueMaxBuffer()
223 ASSERT_EQ((SLuint32) 0, bufferqueueState.playIndex); in EnqueueMaxBuffer()
232 res = (*playerBufferQueue)->GetState(playerBufferQueue, &bufferqueueState); in EnqueueExtraBuffer()
234 ASSERT_EQ(numBuffers, bufferqueueState.count); in EnqueueExtraBuffer()
235 ASSERT_EQ((SLuint32) 0, bufferqueueState.playIndex); in EnqueueExtraBuffer()
256 res = (*playerBufferQueue)->GetState(playerBufferQueue, &bufferqueueState); in ClearQueue()
258 ASSERT_EQ((SLuint32) 0, bufferqueueState.count); in ClearQueue()
259 ASSERT_EQ((SLuint32) 0, bufferqueueState.playIndex); in ClearQueue()
264 res = (*playerBufferQueue)->GetState(playerBufferQueue, &bufferqueueState); in CheckBufferCount()
266 ASSERT_EQ(ExpectedCount, bufferqueueState.count); in CheckBufferCount()
267 ASSERT_EQ(ExpectedPlayIndex, bufferqueueState.playIndex); in CheckBufferCount()
283 res = (*playerBufferQueue)->GetState(playerBufferQueue, &bufferqueueState); in PlayBufferQueue()
285 ASSERT_EQ((SLuint32) 1, bufferqueueState.count); in PlayBufferQueue()
286 ASSERT_EQ((SLuint32) 0, bufferqueueState.playIndex); in PlayBufferQueue()
297 res = (*playerBufferQueue)->GetState(playerBufferQueue, &bufferqueueState); in PlayBufferQueue()
299 ASSERT_EQ((SLuint32) 0, bufferqueueState.count); in PlayBufferQueue()
300 ASSERT_EQ((SLuint32) 1, bufferqueueState.playIndex); in PlayBufferQueue()