Searched refs:thiz (Results 1 - 25 of 157) sorted by last modified time

1234567

/frameworks/wilhelm/src/desktop/
H A DOutputMixExt.h46 extern SLresult IOutputMixExt_checkAudioPlayerSourceSink(CAudioPlayer *thiz);
47 extern void audioPlayerGainUpdate(CAudioPlayer *thiz);
H A DSLSndFile.h21 extern SLresult SndFile_checkAudioPlayerSourceSink(CAudioPlayer *thiz);
22 extern void audioPlayerTransportUpdate(CAudioPlayer *thiz);
23 extern SLresult SndFile_Realize(CAudioPlayer *thiz);
24 extern void SndFile_Destroy(CAudioPlayer *thiz);
H A DSndFile.cpp35 struct SndFile *thiz = &thisAP->mSndFile; local
37 pthread_mutex_lock(&thiz->mMutex);
38 if (thiz->mEOF) {
39 pthread_mutex_unlock(&thiz->mMutex);
42 short *pBuffer = &thiz->mBuffer[thiz->mWhich * SndFile_BUFSIZE];
43 if (++thiz->mWhich >= SndFile_NUMBUFS) {
44 thiz->mWhich = 0;
47 count = sf_read_short(thiz->mSNDFILE, pBuffer, (sf_count_t) SndFile_BUFSIZE);
48 pthread_mutex_unlock(&thiz
137 SndFile_checkAudioPlayerSourceSink(CAudioPlayer *thiz) argument
239 SndFile_Realize(CAudioPlayer *thiz) argument
277 SndFile_Destroy(CAudioPlayer *thiz) argument
[all...]
/frameworks/wilhelm/src/
H A Dentry.cpp89 CEngine *thiz = theOneTrueEngine; local
90 if (NULL != thiz) {
100 object_lock_exclusive(&thiz->mObject);
104 SLuint8 *interfaceStateP = thiz->mObject.mInterfaceStates;
115 if ((NULL == expose) || (*expose)((char *) thiz + x->mOffset)) {
128 object_unlock_exclusive(&thiz->mObject);
130 *pEngine = &thiz->mObject.mItf;
141 thiz = (CEngine *) construct(pCEngine_class, exposedMask, NULL);
142 if (NULL == thiz) {
149 memset(&thiz
[all...]
H A Dhandler_bodies.cpp25 unsigned handler_AudioPlayer_gain(IObject *thiz) argument
27 CAudioPlayer *ap = (CAudioPlayer *) thiz;
34 unsigned handler_OutputMix_gain(IObject *thiz) argument
43 unsigned handler_MidiPlayer_gain(IObject *thiz) argument
51 unsigned handler_MediaPlayer_gain(IObject *thiz) argument
53 CMediaPlayer *mp = (CMediaPlayer *) thiz;
60 unsigned handler_AudioPlayer_position(IObject *thiz) argument
63 ap = (CAudioPlayer *) thiz;
71 unsigned handler_MidiPlayer_position(IObject *thiz) argument
79 unsigned handler_AudioPlayer_transport(IObject *thiz) argument
88 handler_AudioPlayer_play_state(IObject *thiz) argument
97 handler_AudioRecorder_transport(IObject *thiz) argument
106 handler_MediaPlayer_transport(IObject *thiz) argument
115 handler_MediaPlayer_play_state(IObject *thiz) argument
127 handler_AudioPlayer_bq_enqueue(IObject *thiz) argument
138 handler_AudioPlayer_abq_enqueue(IObject *thiz) argument
149 handler_MediaPlayer_abq_enqueue(IObject *thiz) argument
159 handler_MediaPlayer_position(IObject *thiz) argument
170 handler_AudioPlayer_gain(IObject *thiz) argument
[all...]
H A Dhandlers.h27 extern unsigned handler_MediaPlayer_gain(IObject *thiz);
29 extern unsigned handler_MediaPlayer_transport(IObject *thiz);
30 extern unsigned handler_MediaPlayer_position(IObject *thiz);
31 extern unsigned handler_MediaPlayer_abq_enqueue(IObject *thiz);
32 extern unsigned handler_MediaPlayer_play_state(IObject *thiz);
33 extern unsigned handler_AudioPlayer_gain(IObject *thiz);
34 extern unsigned handler_AudioPlayer_transport(IObject *thiz);
35 extern unsigned handler_AudioPlayer_position(IObject *thiz);
36 extern unsigned handler_AudioPlayer_bq_enqueue(IObject *thiz);
37 extern unsigned handler_AudioPlayer_abq_enqueue(IObject *thiz);
[all...]
/frameworks/wilhelm/src/itf/
H A DI3DCommit.cpp26 I3DCommit *thiz = (I3DCommit *) self; local
27 IObject *thisObject = InterfaceToIObject(thiz);
29 if (thiz->mDeferred) {
30 SLuint32 myGeneration = thiz->mGeneration;
32 ++thiz->mWaiting;
34 } while (thiz->mGeneration == myGeneration);
47 I3DCommit *thiz = (I3DCommit *) self; local
48 IObject *thisObject = InterfaceToIObject(thiz);
50 thiz->mDeferred = SL_BOOLEAN_FALSE != deferred; // normalize
65 I3DCommit *thiz local
[all...]
H A DI3DDoppler.cpp29 I3DDoppler *thiz = (I3DDoppler *) self; local
31 interface_lock_exclusive(thiz);
32 thiz->mVelocityCartesian = velocityCartesian;
33 thiz->mVelocityActive = CARTESIAN_SET_SPHERICAL_UNKNOWN;
34 interface_unlock_exclusive(thiz);
47 I3DDoppler *thiz = (I3DDoppler *) self; local
48 interface_lock_exclusive(thiz);
49 thiz->mVelocitySpherical.mAzimuth = azimuth;
50 thiz->mVelocitySpherical.mElevation = elevation;
51 thiz
67 I3DDoppler *thiz = (I3DDoppler *) self; local
114 I3DDoppler *thiz = (I3DDoppler *) self; local
131 I3DDoppler *thiz = (I3DDoppler *) self; local
153 I3DDoppler *thiz = (I3DDoppler *) self; local
[all...]
H A DI3DGrouping.cpp37 I3DGrouping *thiz = (I3DGrouping *) self; local
38 IObject *thisObject = InterfaceToIObject(thiz);
44 interface_lock_exclusive(thiz);
45 C3DGroup *oldGroup = thiz->mGroup;
66 thiz->mGroup = newGroup;
68 interface_unlock_exclusive(thiz);
82 I3DGrouping *thiz = (I3DGrouping *) self; local
83 interface_lock_shared(thiz);
84 C3DGroup *group = thiz->mGroup;
86 interface_unlock_shared(thiz);
101 I3DGrouping *thiz = (I3DGrouping *) self; local
108 I3DGrouping *thiz = (I3DGrouping *) self; local
[all...]
H A DI3DLocation.cpp29 I3DLocation *thiz = (I3DLocation *) self; local
31 interface_lock_exclusive(thiz);
32 thiz->mLocationCartesian = locationCartesian;
33 thiz->mLocationActive = CARTESIAN_SET_SPHERICAL_UNKNOWN;
34 interface_unlock_exclusive(thiz);
52 I3DLocation *thiz = (I3DLocation *) self; local
53 interface_lock_exclusive(thiz);
54 thiz->mLocationSpherical.mAzimuth = azimuth;
55 thiz->mLocationSpherical.mElevation = elevation;
56 thiz
73 I3DLocation *thiz = (I3DLocation *) self; local
120 I3DLocation *thiz = (I3DLocation *) self; local
174 I3DLocation *thiz = (I3DLocation *) self; local
198 I3DLocation *thiz = (I3DLocation *) self; local
222 I3DLocation *thiz = (I3DLocation *) self; local
249 I3DLocation *thiz = (I3DLocation *) self; local
276 I3DLocation *thiz = (I3DLocation *) self; local
[all...]
H A DI3DMacroscopic.cpp32 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local
33 interface_lock_exclusive(thiz);
34 thiz->mSize.mWidth = width;
35 thiz->mSize.mHeight = height;
36 thiz->mSize.mDepth = depth;
37 interface_unlock_exclusive(thiz);
53 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local
54 interface_lock_shared(thiz);
55 SLmillimeter width = thiz->mSize.mWidth;
56 SLmillimeter height = thiz
79 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local
103 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local
131 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local
154 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local
213 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local
[all...]
H A DI3DSource.cpp26 I3DSource *thiz = (I3DSource *) self; local
27 interface_lock_poke(thiz);
28 thiz->mHeadRelative = SL_BOOLEAN_FALSE != headRelative; // normalize
29 interface_unlock_poke(thiz);
43 I3DSource *thiz = (I3DSource *) self; local
44 interface_lock_peek(thiz);
45 SLboolean headRelative = thiz->mHeadRelative;
46 interface_unlock_peek(thiz);
64 I3DSource *thiz = (I3DSource *) self; local
65 interface_lock_exclusive(thiz);
84 I3DSource *thiz = (I3DSource *) self; interface_lock_shared(thiz); local
101 I3DSource *thiz = (I3DSource *) self; local
118 I3DSource *thiz = (I3DSource *) self; local
137 I3DSource *thiz = (I3DSource *) self; local
152 I3DSource *thiz = (I3DSource *) self; local
170 I3DSource *thiz = (I3DSource *) self; local
185 I3DSource *thiz = (I3DSource *) self; local
204 I3DSource *thiz = (I3DSource *) self; local
224 I3DSource *thiz = (I3DSource *) self; local
245 I3DSource *thiz = (I3DSource *) self; local
266 I3DSource *thiz = (I3DSource *) self; local
301 I3DSource *thiz = (I3DSource *) self; local
[all...]
H A DIAcousticEchoCancellation.cpp35 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local
36 interface_lock_exclusive(thiz);
37 thiz->mEnabled = (SLboolean) enabled;
38 if (NO_ECHOCANCEL(thiz)) {
41 android::status_t status = thiz->mAECEffect->setEnabled((bool) thiz->mEnabled);
44 interface_unlock_exclusive(thiz);
58 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local
59 interface_lock_exclusive(thiz);
60 if (NO_ECHOCANCEL(thiz)) {
79 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local
89 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local
96 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local
[all...]
H A DIAndroidBufferQueue.cpp30 static SLuint32 getAssociatedState(IAndroidBufferQueue *thiz) argument
33 switch (InterfaceToObjectID(thiz)) {
35 state = ((CMediaPlayer *) thiz->mThis)->mPlay.mState;
38 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState;
240 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local
242 interface_lock_exclusive(thiz);
245 if (SL_PLAYSTATE_STOPPED == getAssociatedState(thiz)) {
246 thiz->mCallback = callback;
247 thiz->mContext = pContext;
254 interface_unlock_exclusive(thiz);
265 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local
319 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local
403 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local
424 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local
447 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local
471 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local
491 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local
[all...]
H A DIAndroidConfiguration.cpp38 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local
39 interface_lock_exclusive(thiz);
42 switch (IObjectToObjectID((thiz)->mThis)) {
46 result = android_audioRecorder_setConfig((CAudioRecorder *) thiz->mThis, configKey,
52 result = android_audioPlayer_setConfig((CAudioPlayer *) thiz->mThis, configKey,
60 interface_unlock_exclusive(thiz);
79 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local
80 interface_lock_exclusive(thiz);
83 switch (IObjectToObjectID((thiz)->mThis)) {
85 result = android_audioRecorder_getConfig((CAudioRecorder *) thiz
387 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local
393 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local
[all...]
H A DIAndroidEffect.cpp28 IAndroidEffect *thiz = (IAndroidEffect *) self; local
29 if (SL_OBJECTID_AUDIOPLAYER == IObjectToObjectID(thiz->mThis)) {
30 CAudioPlayer *ap = (CAudioPlayer *)thiz->mThis;
32 result = android_genericFx_createEffect(thiz, effectImplementationId, ap->mSessionId);
36 } else if (SL_OBJECTID_OUTPUTMIX == IObjectToObjectID(thiz->mThis)) {
37 result = android_genericFx_createEffect(thiz, effectImplementationId,
54 IAndroidEffect *thiz = (IAndroidEffect *) self; local
55 result = android_genericFx_releaseEffect(thiz, effectImplementationId);
66 IAndroidEffect *thiz = (IAndroidEffect *) self; local
67 result = android_genericFx_setEnabled(thiz, effectImplementationI
78 IAndroidEffect *thiz = (IAndroidEffect *) self; local
91 IAndroidEffect *thiz = (IAndroidEffect *) self; local
109 IAndroidEffect *thiz = (IAndroidEffect *) self; local
117 IAndroidEffect *thiz = (IAndroidEffect *) self; local
[all...]
H A DIAndroidEffectCapabilities.cpp30 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local
31 interface_lock_shared(thiz);
33 *pNumSupportedAudioEffects = thiz->mNumFx;
36 interface_unlock_shared(thiz);
49 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local
50 if (index > thiz->mNumFx) {
53 interface_lock_shared(thiz);
55 *pEffectType = (SLInterfaceID) &thiz->mFxDescriptors[index].type;
58 *pEffectImplementation = (SLInterfaceID) &thiz->mFxDescriptors[index].uuid;
61 int len = strlen(thiz
81 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local
91 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local
133 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local
[all...]
H A DIAndroidEffectSend.cpp32 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local
33 interface_lock_exclusive(thiz);
35 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ?
36 (CAudioPlayer *) thiz->mThis : NULL;
48 thiz->mSendLevel = initialLevel;
49 thiz->mEnabled = enable;
52 interface_unlock_exclusive(thiz);
67 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local
68 interface_lock_shared(thiz);
70 SLboolean enable = thiz
90 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local
123 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local
151 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local
190 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local
231 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local
[all...]
H A DIAudioDecoderCapabilities.cpp67 IAudioDecoderCapabilities *thiz = (IAudioDecoderCapabilities *) self; local
68 thiz->mItf = &IAudioDecoderCapabilities_Itf;
H A DIAudioEncoder.cpp30 IAudioEncoder *thiz = (IAudioEncoder *) self; local
32 interface_lock_exclusive(thiz);
33 thiz->mSettings = settings;
34 interface_unlock_exclusive(thiz);
50 IAudioEncoder *thiz = (IAudioEncoder *) self; local
51 interface_lock_shared(thiz);
52 SLAudioEncoderSettings settings = thiz->mSettings;
53 interface_unlock_shared(thiz);
69 IAudioEncoder *thiz = (IAudioEncoder *) self; local
70 thiz
[all...]
H A DIAudioEncoderCapabilities.cpp68 IAudioEncoderCapabilities *thiz = (IAudioEncoderCapabilities *) self; local
69 thiz->mItf = &IAudioEncoderCapabilities_Itf;
H A DIAudioIODeviceCapabilities.cpp76 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local
77 interface_lock_exclusive(thiz);
78 thiz->mAvailableAudioInputsChangedCallback = callback;
79 thiz->mAvailableAudioInputsChangedContext = pContext;
80 interface_unlock_exclusive(thiz);
146 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local
147 interface_lock_exclusive(thiz);
148 thiz->mAvailableAudioOutputsChangedCallback = callback;
149 thiz->mAvailableAudioOutputsChangedContext = pContext;
150 interface_unlock_exclusive(thiz);
163 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local
315 IAudioIODeviceCapabilities *thiz = (IAudioIODeviceCapabilities *) self; local
[all...]
H A DIAutomaticGainControl.cpp34 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local
35 interface_lock_exclusive(thiz);
36 thiz->mEnabled = (SLboolean) enabled;
37 if (NO_AUTOGAIN(thiz)) {
40 android::status_t status = thiz->mAGCEffect->setEnabled((bool) thiz->mEnabled);
43 interface_unlock_exclusive(thiz);
56 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local
57 interface_lock_exclusive(thiz);
58 if (NO_AUTOGAIN(thiz)) {
76 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local
86 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local
93 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local
[all...]
H A DIBassBoost.cpp42 IBassBoost *thiz = (IBassBoost *) self; local
43 interface_lock_exclusive(thiz);
44 thiz->mEnabled = (SLboolean) enabled;
48 if (NO_BASSBOOST(thiz)) {
51 android::status_t status = thiz->mBassBoostEffect->setEnabled((bool) thiz->mEnabled);
55 interface_unlock_exclusive(thiz);
68 IBassBoost *thiz = (IBassBoost *) self; local
69 interface_lock_exclusive(thiz);
71 SLboolean enabled = thiz
96 IBassBoost *thiz = (IBassBoost *) self; local
124 IBassBoost *thiz = (IBassBoost *) self; local
187 IBassBoost *thiz = (IBassBoost *) self; local
201 IBassBoost *thiz = (IBassBoost *) self; local
210 IBassBoost *thiz = (IBassBoost *) self; local
[all...]
H A DIBufferQueue.cpp26 static SLuint32 getAssociatedState(IBufferQueue *thiz) argument
29 switch (InterfaceToObjectID(thiz)) {
31 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState;
34 state = ((CAudioRecorder *) thiz->mThis)->mRecord.mState;
55 IBufferQueue *thiz = (IBufferQueue *) self; local
56 interface_lock_exclusive(thiz);
57 BufferHeader *oldRear = thiz->mRear, *newRear;
58 if ((newRear = oldRear + 1) == &thiz->mArray[thiz->mNumBuffers + 1]) {
59 newRear = thiz
84 IBufferQueue *thiz = (IBufferQueue *) self; local
131 IBufferQueue *thiz = (IBufferQueue *) self; local
154 IBufferQueue *thiz = (IBufferQueue *) self; local
179 IBufferQueue *thiz = (IBufferQueue *) self; local
209 IBufferQueue *thiz = (IBufferQueue *) self; local
[all...]

Completed in 1293 milliseconds

1234567