Home
last modified time | relevance | path

Searched refs:mCursor (Results 1 – 2 of 2) sorted by relevance

/system/media/audio_utils/spdif/
DFrameScanner.cpp35 , mCursor(0) in FrameScanner()
54 ALOGV("FrameScanner: byte = 0x%02X, mCursor = %d\n", byte, mCursor); in scan()
55 assert(mCursor < sizeof(mHeaderBuffer)); in scan()
56 if (mCursor < mSyncLength) { in scan()
58 if (byte == mSyncBytes[mCursor]) { in scan()
59 mHeaderBuffer[mCursor++] = byte; in scan()
62 mCursor = 0; in scan()
64 } else if (mCursor < mHeaderLength) { in scan()
66 mHeaderBuffer[mCursor++] = byte; in scan()
67 if (mCursor >= mHeaderLength) { in scan()
[all …]
/system/media/audio_utils/include/audio_utils/spdif/
DFrameScanner.h111 uint32_t mCursor; // position in the mHeaderBuffer variable