Searched refs:mGlobalRefCount (Results 1 – 2 of 2) sorted by relevance
228 mOutput1(0), mOutput2(0), mDirectOpenCount(0), mGlobalRefCount(0) in SwAudioOutputDescriptor()310 uint32_t oldGlobalRefCount = mGlobalRefCount; in changeRefCount()311 if ((delta + (int)mGlobalRefCount) < 0) { in changeRefCount()312 ALOGW("changeRefCount() invalid delta %d globalRefCount %d", delta, mGlobalRefCount); in changeRefCount()313 mGlobalRefCount = 0; in changeRefCount()315 mGlobalRefCount += delta; in changeRefCount()317 if ((oldGlobalRefCount == 0) && (mGlobalRefCount > 0)) { in changeRefCount()324 } else if ((oldGlobalRefCount > 0) && (mGlobalRefCount == 0)) { in changeRefCount()
126 uint32_t mGlobalRefCount; // non-stream-specific ref count variable