/system/media/opensles/libopensles/ |
H A D | C3DGroup.c | 5 * you may not use this file except in compliance with the License. 26 C3DGroup *this = (C3DGroup *) self; local 28 if (0 == this->mMemberMask) { 31 SL_LOGE("Object::Destroy(%p) for 3DGroup ignored; mMemberMask=0x%x", this, this->mMemberMask);
|
H A D | locks.h | 5 * you may not use this file except in compliance with the License. 20 extern void object_lock_exclusive_(IObject *this, const char *file, int line); 21 extern void object_unlock_exclusive_(IObject *this, const char *file, int line); 22 extern void object_unlock_exclusive_attributes_(IObject *this, unsigned attr, 24 extern void object_cond_wait_(IObject *this, const char *file, int line); 26 extern void object_lock_exclusive(IObject *this); 27 extern void object_unlock_exclusive(IObject *this); 28 extern void object_unlock_exclusive_attributes(IObject *this, unsigned attr); 29 extern void object_cond_wait(IObject *this); 31 extern void object_cond_signal(IObject *this); [all...] |
H A D | IThreadSync.c | 5 * you may not use this file except in compliance with the License. 26 IThreadSync *this = (IThreadSync *) self; local 27 interface_lock_exclusive(this); 29 if (this->mInCriticalSection) { 30 if (!pthread_equal(this->mOwner, pthread_self())) { 31 ++this->mWaiting; 32 interface_cond_wait(this); 39 this->mInCriticalSection = SL_BOOLEAN_TRUE; 40 this->mOwner = pthread_self(); 44 interface_unlock_exclusive(this); 54 IThreadSync *this = (IThreadSync *) self; local 80 IThreadSync *this = (IThreadSync *) self; local 89 IThreadSync *this = (IThreadSync *) self; local [all...] |
H A D | IBufferQueue.c | 5 * you may not use this file except in compliance with the License. 26 static SLuint32 getAssociatedState(IBufferQueue *this) argument 29 switch (InterfaceToObjectID(this)) { 31 state = ((CAudioPlayer *) this->mThis)->mPlay.mState; 34 state = ((CAudioRecorder *) this->mThis)->mRecord.mState; 56 IBufferQueue *this = (IBufferQueue *) self; local 57 interface_lock_exclusive(this); 58 BufferHeader *oldRear = this->mRear, *newRear; 59 if ((newRear = oldRear + 1) == &this->mArray[this 85 IBufferQueue *this = (IBufferQueue *) self; local 127 IBufferQueue *this = (IBufferQueue *) self; local 150 IBufferQueue *this = (IBufferQueue *) self; local 175 IBufferQueue *this = (IBufferQueue *) self; local 204 IBufferQueue *this = (IBufferQueue *) self; local [all...] |
H A D | I3DCommit.c | 5 * you may not use this file except in compliance with the License. 26 I3DCommit *this = (I3DCommit *) self; local 27 IObject *thisObject = InterfaceToIObject(this); 29 if (this->mDeferred) { 30 SLuint32 myGeneration = this->mGeneration; 32 ++this->mWaiting; 34 } while (this->mGeneration == myGeneration); 47 I3DCommit *this = (I3DCommit *) self; local 48 IObject *thisObject = InterfaceToIObject(this); 50 this 65 I3DCommit *this = (I3DCommit *) self; local [all...] |
H A D | I3DDoppler.c | 5 * you may not use this file except in compliance with the License. 29 I3DDoppler *this = (I3DDoppler *) self; local 31 interface_lock_exclusive(this); 32 this->mVelocityCartesian = velocityCartesian; 33 this->mVelocityActive = CARTESIAN_SET_SPHERICAL_UNKNOWN; 34 interface_unlock_exclusive(this); 47 I3DDoppler *this = (I3DDoppler *) self; local 48 interface_lock_exclusive(this); 49 this->mVelocitySpherical.mAzimuth = azimuth; 50 this 67 I3DDoppler *this = (I3DDoppler *) self; local 114 I3DDoppler *this = (I3DDoppler *) self; local 131 I3DDoppler *this = (I3DDoppler *) self; local 153 I3DDoppler *this = (I3DDoppler *) self; local [all...] |
H A D | IPrefetchStatus.c | 5 * you may not use this file except in compliance with the License. 29 IPrefetchStatus *this = (IPrefetchStatus *) self; local 30 interface_lock_peek(this); 31 SLuint32 status = this->mStatus; 32 interface_unlock_peek(this); 48 IPrefetchStatus *this = (IPrefetchStatus *) self; local 49 interface_lock_peek(this); 50 SLpermille level = this->mLevel; 51 interface_unlock_peek(this); 65 IPrefetchStatus *this local 80 IPrefetchStatus *this = (IPrefetchStatus *) self; local 98 IPrefetchStatus *this = (IPrefetchStatus *) self; local 117 IPrefetchStatus *this = (IPrefetchStatus *) self; local 135 IPrefetchStatus *this = (IPrefetchStatus *) self; local 159 IPrefetchStatus *this = (IPrefetchStatus *) self; local [all...] |
H A D | IMIDITempo.c | 5 * you may not use this file except in compliance with the License. 29 IMIDITempo *this = (IMIDITempo *) self; local 30 interface_lock_poke(this); 31 this->mTicksPerQuarterNote = tpqn; 32 interface_unlock_poke(this); 47 IMIDITempo *this = (IMIDITempo *) self; local 48 interface_lock_peek(this); 49 SLuint32 ticksPerQuarterNote = this->mTicksPerQuarterNote; 50 interface_unlock_peek(this); 67 IMIDITempo *this local 85 IMIDITempo *this = (IMIDITempo *) self; local 106 IMIDITempo *this = (IMIDITempo *) self; local [all...] |
H A D | I3DLocation.c | 5 * you may not use this file except in compliance with the License. 29 I3DLocation *this = (I3DLocation *) self; local 31 interface_lock_exclusive(this); 32 this->mLocationCartesian = locationCartesian; 33 this->mLocationActive = CARTESIAN_SET_SPHERICAL_UNKNOWN; 34 interface_unlock_exclusive(this); 52 I3DLocation *this = (I3DLocation *) self; local 53 interface_lock_exclusive(this); 54 this->mLocationSpherical.mAzimuth = azimuth; 55 this 73 I3DLocation *this = (I3DLocation *) self; local 120 I3DLocation *this = (I3DLocation *) self; local 174 I3DLocation *this = (I3DLocation *) self; local 198 I3DLocation *this = (I3DLocation *) self; local 222 I3DLocation *this = (I3DLocation *) self; local 249 I3DLocation *this = (I3DLocation *) self; local 276 I3DLocation *this = (I3DLocation *) self; local [all...] |
H A D | IMIDIMessage.c | 5 * you may not use this file except in compliance with the License. 30 //IMIDIMessage *this = (IMIDIMessage *) self; 43 IMIDIMessage *this = (IMIDIMessage *) self; local 44 interface_lock_exclusive(this); 45 this->mMetaEventCallback = callback; 46 this->mMetaEventContext = pContext; 47 interface_unlock_exclusive(this); 59 IMIDIMessage *this = (IMIDIMessage *) self; local 60 interface_lock_exclusive(this); 61 this 85 IMIDIMessage *this = (IMIDIMessage *) self; local 105 IMIDIMessage *this = (IMIDIMessage *) self; local 125 IMIDIMessage *this = (IMIDIMessage *) self; local [all...] |
H A D | IMIDIMuteSolo.c | 5 * you may not use this file except in compliance with the License. 30 IMIDIMuteSolo *this = (IMIDIMuteSolo *) self; local 32 interface_lock_exclusive(this); 34 this->mChannelMuteMask |= mask; 36 this->mChannelMuteMask &= ~mask; 37 interface_unlock_exclusive(this); 53 IMIDIMuteSolo *this = (IMIDIMuteSolo *) self; local 54 interface_lock_peek(this); 55 SLuint16 mask = this->mChannelMuteMask; 56 interface_unlock_peek(this); 73 IMIDIMuteSolo *this = (IMIDIMuteSolo *) self; local 96 IMIDIMuteSolo *this = (IMIDIMuteSolo *) self; local 115 IMIDIMuteSolo *this = (IMIDIMuteSolo *) self; local 130 IMIDIMuteSolo *this = (IMIDIMuteSolo *) self; local 153 IMIDIMuteSolo *this = (IMIDIMuteSolo *) self; local 173 IMIDIMuteSolo *this = (IMIDIMuteSolo *) self; local 195 IMIDIMuteSolo *this = (IMIDIMuteSolo *) self; local 225 IMIDIMuteSolo *this = (IMIDIMuteSolo *) self; local [all...] |
H A D | CEngine.c | 5 * you may not use this file except in compliance with the License. 26 CEngine *this = (CEngine *) self; local 30 int err = pthread_create(&this->mSyncThread, (const pthread_attr_t *) NULL, sync_start, this); 36 result = ThreadPool_init(&this->mEngine.mThreadPool, 0, 0); 38 this->mEngine.mShutdown = SL_BOOLEAN_TRUE; 39 (void) pthread_join(this->mSyncThread, (void **) NULL); 43 SDL_open(&this->mEngine); 61 CEngine *this = (CEngine *) self; local 64 unsigned instanceCount = this [all...] |
H A D | I3DSource.c | 5 * you may not use this file except in compliance with the License. 26 I3DSource *this = (I3DSource *) self; local 27 interface_lock_poke(this); 28 this->mHeadRelative = SL_BOOLEAN_FALSE != headRelative; // normalize 29 interface_unlock_poke(this); 43 I3DSource *this = (I3DSource *) self; local 44 interface_lock_peek(this); 45 SLboolean headRelative = this->mHeadRelative; 46 interface_unlock_peek(this); 64 I3DSource *this local 84 I3DSource *this = (I3DSource *) self; interface_lock_shared(this); local 101 I3DSource *this = (I3DSource *) self; local 118 I3DSource *this = (I3DSource *) self; local 137 I3DSource *this = (I3DSource *) self; local 152 I3DSource *this = (I3DSource *) self; local 170 I3DSource *this = (I3DSource *) self; local 185 I3DSource *this = (I3DSource *) self; local 204 I3DSource *this = (I3DSource *) self; local 224 I3DSource *this = (I3DSource *) self; local 245 I3DSource *this = (I3DSource *) self; local 266 I3DSource *this = (I3DSource *) self; local 301 I3DSource *this = (I3DSource *) self; local [all...] |
H A D | CAudioRecorder.c | 5 * you may not use this file except in compliance with the License. 29 CAudioRecorder *this = (CAudioRecorder *) self; local 30 result = android_audioRecorder_realize(this, async); 49 CAudioRecorder *this = (CAudioRecorder *) self; local 50 freeDataLocatorFormat(&this->mDataSource); 51 freeDataLocatorFormat(&this->mDataSink); 53 android_audioRecorder_destroy(this);
|
H A D | ISeek.c | 5 * you may not use this file except in compliance with the License. 34 ISeek *this = (ISeek *) self; local 35 interface_lock_exclusive(this); 36 this->mPos = pos; 37 // at this point the seek is merely pending, so do not yet update other fields 38 interface_unlock_exclusive_attributes(this, ATTR_POSITION); 59 ISeek *this = (ISeek *) self; local 60 interface_lock_exclusive(this); 65 this->mLoopEnabled = SL_BOOLEAN_FALSE != loopEnable; // normalize 67 /*this 96 ISeek *this = (ISeek *) self; local 120 ISeek *this = (ISeek *) self; local [all...] |
H A D | IRecord.c | 5 * you may not use this file except in compliance with the License. 31 IRecord *this = (IRecord *) self; local 32 interface_lock_poke(this); 33 this->mState = state; 35 android_audioRecorder_setRecordState(InterfaceToCAudioRecorder(this), state); 37 interface_unlock_poke(this); 54 IRecord *this = (IRecord *) self; local 58 interface_lock_peek(this); 59 SLuint32 state = this->mState; 60 interface_unlock_peek(this); 73 IRecord *this = (IRecord *) self; local 94 IRecord *this = (IRecord *) self; local 121 IRecord *this = (IRecord *) self; local 145 IRecord *this = (IRecord *) self; local 167 IRecord *this = (IRecord *) self; local 183 IRecord *this = (IRecord *) self; local 201 IRecord *this = (IRecord *) self; local 222 IRecord *this = (IRecord *) self; local 241 IRecord *this = (IRecord *) self; local 263 IRecord *this = (IRecord *) self; local 292 IRecord *this = (IRecord *) self; local [all...] |
H A D | IPitch.c | 5 * you may not use this file except in compliance with the License. 26 IPitch *this = (IPitch *) self; local 28 if (!(this->mMinPitch <= pitch && pitch <= this->mMaxPitch)) { 31 interface_lock_poke(this); 32 this->mPitch = pitch; 33 interface_unlock_poke(this); 48 IPitch *this = (IPitch *) self; local 49 interface_lock_peek(this); 50 SLpermille pitch = this 70 IPitch *this = (IPitch *) self; local 92 IPitch *this = (IPitch *) self; local [all...] |
H A D | IRatePitch.c | 5 * you may not use this file except in compliance with the License. 26 IRatePitch *this = (IRatePitch *) self; local 27 if (!(this->mMinRate <= rate && rate <= this->mMaxRate)) { 30 interface_lock_poke(this); 31 this->mRate = rate; 32 interface_unlock_poke(this); 47 IRatePitch *this = (IRatePitch *) self; local 48 interface_lock_peek(this); 49 SLpermille rate = this 69 IRatePitch *this = (IRatePitch *) self; local 91 IRatePitch *this = (IRatePitch *) self; local [all...] |
H A D | IVolume.c | 5 * you may not use this file except in compliance with the License. 29 IVolume *this = (IVolume *) self; local 30 interface_lock_exclusive(this); 31 SLmillibel oldLevel = this->mLevel; 33 this->mLevel = level; 34 interface_unlock_exclusive_attributes(this, ATTR_GAIN); 36 interface_unlock_exclusive(this); 51 IVolume *this = (IVolume *) self; local 52 interface_lock_peek(this); 53 SLmillibel level = this 82 IVolume *this = (IVolume *) self; local 104 IVolume *this = (IVolume *) self; local 120 IVolume *this = (IVolume *) self; local 143 IVolume *this = (IVolume *) self; local 162 IVolume *this = (IVolume *) self; local 184 IVolume *this = (IVolume *) self; local 210 IVolume *this = (IVolume *) self; local [all...] |
H A D | I3DMacroscopic.c | 5 * you may not use this file except in compliance with the License. 32 I3DMacroscopic *this = (I3DMacroscopic *) self; local 33 interface_lock_exclusive(this); 34 this->mSize.mWidth = width; 35 this->mSize.mHeight = height; 36 this->mSize.mDepth = depth; 37 interface_unlock_exclusive(this); 53 I3DMacroscopic *this = (I3DMacroscopic *) self; local 54 interface_lock_shared(this); 55 SLmillimeter width = this 79 I3DMacroscopic *this = (I3DMacroscopic *) self; local 103 I3DMacroscopic *this = (I3DMacroscopic *) self; local 131 I3DMacroscopic *this = (I3DMacroscopic *) self; local 154 I3DMacroscopic *this = (I3DMacroscopic *) self; local 213 I3DMacroscopic *this = (I3DMacroscopic *) self; local [all...] |
H A D | locks.c | 5 * you may not use this file except in compliance with the License. 23 void object_lock_exclusive_(IObject *this, const char *file, int line) argument 26 ok = pthread_mutex_trylock(&this->mMutex); 33 ok = pthread_mutex_trylock(&this->mMutex); 38 file, line, this, *(void **)&this->mOwner, this->mFile, this->mLine); 39 // attempt one more time; maybe this time we will be successful 40 ok = pthread_mutex_lock(&this 63 object_lock_exclusive(IObject *this) argument 75 object_unlock_exclusive_(IObject *this, const char *file, int line) argument 88 object_unlock_exclusive(IObject *this) argument 102 object_unlock_exclusive_attributes_(IObject *this, unsigned attributes, const char *file, int line) argument 232 object_cond_wait_(IObject *this, const char *file, int line) argument 251 object_cond_wait(IObject *this) argument 262 object_cond_signal(IObject *this) argument 274 object_cond_broadcast(IObject *this) argument [all...] |
H A D | IPlay.c | 5 * you may not use this file except in compliance with the License. 31 IPlay *this = (IPlay *) self; local 34 CAudioPlayer *audioPlayer = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(this)) ? 35 (CAudioPlayer *) this->mThis : NULL; 36 interface_lock_exclusive(this); 38 for (;; interface_cond_wait(this)) { 43 switch ((this->mState << 2) | state) { 64 this->mState = state; 79 this->mState = SL_PLAYSTATE_STOPPING; 94 this 116 IPlay *this = (IPlay *) self; local 152 IPlay *this = (IPlay *) self; local 185 IPlay *this = (IPlay *) self; local 221 IPlay *this = (IPlay *) self; local 241 IPlay *this = (IPlay *) self; local 269 IPlay *this = (IPlay *) self; local 285 IPlay *this = (IPlay *) self; local 302 IPlay *this = (IPlay *) self; local 324 IPlay *this = (IPlay *) self; local 343 IPlay *this = (IPlay *) self; local 381 IPlay *this = (IPlay *) self; local 410 IPlay *this = (IPlay *) self; local [all...] |
H A D | IAudioEncoder.c | 5 * you may not use this file except in compliance with the License. 30 IAudioEncoder *this = (IAudioEncoder *) self; local 32 interface_lock_exclusive(this); 33 this->mSettings = settings; 34 interface_unlock_exclusive(this); 50 IAudioEncoder *this = (IAudioEncoder *) self; local 51 interface_lock_shared(this); 52 SLAudioEncoderSettings settings = this->mSettings; 53 interface_unlock_shared(this); 69 IAudioEncoder *this local [all...] |
H A D | IPlaybackRate.c | 5 * you may not use this file except in compliance with the License. 26 IPlaybackRate *this = (IPlaybackRate *) self; local 28 if (!(this->mMinRate <= rate && rate <= this->mMaxRate)) { 31 interface_lock_exclusive(this); 32 this->mRate = rate; 33 interface_unlock_exclusive(this); 35 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(this)) ? 36 (CAudioPlayer *) this->mThis : NULL; 58 IPlaybackRate *this local 74 IPlaybackRate *this = (IPlaybackRate *) self; local 106 IPlaybackRate *this = (IPlaybackRate *) self; local 126 IPlaybackRate *this = (IPlaybackRate *) self; local 160 IPlaybackRate *this = (IPlaybackRate *) self; local 189 IPlaybackRate *this = (IPlaybackRate *) self; local [all...] |
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/data_ctrl/Tx/ |
H A D | MsduList.c | 12 **| notice, this list of conditions and the following disclaimer. |** 14 **| notice, this list of conditions and the following disclaimer in |** 19 **| from this software without specific prior written permission. |** 95 INPUT: *this : A pointer to the list to configure 103 TI_STATUS msduList_ConfigMsduList( MsduList_t* this, TI_HANDLE hMemMgr, argument 107 this == NULL || hMemMgr == NULL) 110 this->hReport = hReport; 111 this->hMemMgr = hMemMgr; 112 this->hOs = hOs; 113 this 142 msduList_SetMsduListNumOfElements( MsduList_t* this, UINT16 maxNumOfElements) argument 165 msduList_SetMsduListOverFlowPolicy( MsduList_t* this, qOvFlowPolicy_e QueueOvFlowPolicy) argument 189 msduList_FreeMsduList( MsduList_t* this) argument 223 msduList_EmptyMsduList( MsduList_t* this) argument 391 msduList_GetFirst( MsduList_t *this, mem_MSDU_T **pMsdu) argument 428 msduList_WatchFirst( MsduList_t *this, mem_MSDU_T **pMsdu) argument 445 msduList_getCurrNumOfMsdu(MsduList_t *this) argument 453 printMsduList(MsduList_t *this) argument 473 printFullMsduList(MsduList_t *this) argument [all...] |