Home
last modified time | relevance | path

Searched refs:SLuint32 (Results 1 – 25 of 98) sorted by relevance

1234

/frameworks/wilhelm/include/SLES/
DOpenSLES.h71 typedef sl_uint32_t SLuint32; /* 32 bit unsigned integer */ typedef
73 typedef SLuint32 SLboolean;
79 typedef SLuint32 SLmillisecond;
80 typedef SLuint32 SLmilliHertz;
84 typedef SLuint32 SLmicrosecond;
85 typedef SLuint32 SLresult;
95 SLuint32 time_low;
109 #define SL_OBJECTID_ENGINE ((SLuint32) 0x00001001)
110 #define SL_OBJECTID_LEDDEVICE ((SLuint32) 0x00001002)
111 #define SL_OBJECTID_VIBRADEVICE ((SLuint32) 0x00001003)
[all …]
DOpenSLES_Android.h64 SLuint32 command,
65 SLuint32 commandSize,
67 SLuint32 *replySize,
130 SLuint32 *pNumSupportedEffects);
134 SLuint32 index,
157 SLuint32 valueSize);
161 SLuint32 *pValueSize,
184 SLuint32 count;
185 SLuint32 index;
193 SLuint32 size
[all …]
DOpenSLES_AndroidConfiguration.h34 #define SL_ANDROID_RECORDING_PRESET_NONE ((SLuint32) 0x00000000)
36 #define SL_ANDROID_RECORDING_PRESET_GENERIC ((SLuint32) 0x00000001)
39 #define SL_ANDROID_RECORDING_PRESET_CAMCORDER ((SLuint32) 0x00000002)
41 #define SL_ANDROID_RECORDING_PRESET_VOICE_RECOGNITION ((SLuint32) 0x00000003)
43 #define SL_ANDROID_RECORDING_PRESET_VOICE_COMMUNICATION ((SLuint32) 0x00000004)
/frameworks/wilhelm/src/android/
Dandroid_sles_conversions.h24 static inline SLuint32 android_to_sles_streamType(int type) { in android_to_sles_streamType()
25 return (SLuint32) type; in android_to_sles_streamType()
29 static inline SLuint32 android_to_sles_sampleRate(uint32_t srHz) { in android_to_sles_sampleRate()
31 return (SLuint32) srHz*1000; in android_to_sles_sampleRate()
38 static inline int sles_to_android_streamType(SLuint32 type) { in sles_to_android_streamType()
43 static inline uint32_t sles_to_android_sampleRate(SLuint32 sampleRateMilliHertz) { in sles_to_android_sampleRate()
47 static inline audio_format_t sles_to_android_sampleFormat(SLuint32 pcmFormat) { in sles_to_android_sampleFormat()
65 static inline int sles_to_android_channelMaskIn(SLuint32 nbChannels, SLuint32 channelMask) { in sles_to_android_channelMaskIn()
71 static inline int sles_to_android_channelMaskOut(SLuint32 nbChannels, SLuint32 channelMask) { in sles_to_android_channelMaskOut()
DAudioPlayer_to_android.h53 const void *pConfigValue, SLuint32 valueSize);
65 SLuint32* pValueSize, void *pConfigValue);
75 SLpermille rate, SLuint32 constraints);
98 SLuint32 *pItemCount);
101 SLuint32 index, SLuint32 *pKeySize);
104 SLuint32 index, SLuint32 size, SLMetadataInfo *pKey);
107 SLuint32 index, SLuint32 *pValueSize);
110 SLuint32 index, SLuint32 size, SLMetadataInfo *pValue);
Dandroid_defs.h129 #define ANDROID_MP2TSEVENT_NONE ((SLuint32) 0x0)
131 #define ANDROID_MP2TSEVENT_EOS ((SLuint32) 0x1)
133 #define ANDROID_MP2TSEVENT_DISCONTINUITY ((SLuint32) 0x1 << 1)
136 #define ANDROID_MP2TSEVENT_DISCON_NEWPTS ((SLuint32) 0x1 << 2)
138 #define ANDROID_MP2TSEVENT_FORMAT_CHANGE_FULL ((SLuint32) 0x1 << 3)
139 #define ANDROID_MP2TSEVENT_FORMAT_CHANGE_VIDEO ((SLuint32) 0x1 << 4)
DAudioRecorder_to_android.cpp32 #define KEY_RECORDING_SOURCE_PARAMSIZE sizeof(SLuint32)
33 #define KEY_RECORDING_PRESET_PARAMSIZE sizeof(SLuint32)
39 SLresult audioRecorder_setPreset(CAudioRecorder* ar, SLuint32 recordPreset) { in audioRecorder_setPreset()
76 SLresult audioRecorder_getPreset(CAudioRecorder* ar, SLuint32* pPreset) { in audioRecorder_getPreset()
167 if (SL_DATALOCATOR_ANDROIDSIMPLEBUFFERQUEUE != *(SLuint32 *)pAudioSnk->pLocator) { in android_audioRecorder_checkSourceSinkSupport()
172 SLuint32 formatType = *(SLuint32 *)pAudioSnk->pFormat; in android_audioRecorder_checkSourceSinkSupport()
189 if (SL_DATALOCATOR_IODEVICE != *(SLuint32 *)pAudioSrc->pLocator) { in android_audioRecorder_checkSourceSinkSupport()
303 const SLuint32 sourceLocatorType = *(SLuint32 *)pAudioSrc->pLocator; in android_audioRecorder_create()
304 const SLuint32 sinkLocatorType = *(SLuint32 *)pAudioSnk->pLocator; in android_audioRecorder_create()
326 const void *pConfigValue, SLuint32 valueSize) { in android_audioRecorder_setConfig()
[all …]
/frameworks/wilhelm/tests/automated/
DBufferQueue_test.cpp47 static const SLuint32 invalidNumBuffers[] = { 0, 0xFFFFFFFF, 0x80000000, 0x10002, 0x102,
49 static const SLuint32 validNumBuffers[] = { 1, 2, 3, 4, 5, 6, 7, 8, 255 };
88 SLuint32 playerState;
136 SLuint32 i; in SetUp()
172 SLuint32 numBuffers = invalidNumBuffers[i]; in InvalidBuffer()
185 void PrepareValidBuffer(SLuint32 numBuffers) { in PrepareValidBuffer()
209 ASSERT_EQ((SLuint32) 0, bufferqueueState.count); in PrepareValidBuffer()
210 ASSERT_EQ((SLuint32) 0, bufferqueueState.playIndex); in PrepareValidBuffer()
213 void EnqueueMaxBuffer(SLuint32 numBuffers) { in EnqueueMaxBuffer()
214 SLuint32 j; in EnqueueMaxBuffer()
[all …]
/frameworks/wilhelm/src/
Dsles_allinclusive.h207 SLuint32 mInterfaceCount; // number of possible interfaces
225 SLuint32 mSize;
232 SLuint32 mTsCmdCode;
239 SLuint32 mAdtsCmdCode;
254 SLuint32 mDataSize;
255 SLuint32 mDataSizeConsumed;
275 SLuint32 mWhich; // which buffer to use next
298 SLuint32 numInterfaces, const SLInterfaceID *pInterfaceIds,
302 extern const ClassTable *objectIDtoClass(SLuint32 objectID);
304 extern SLuint32 IObjectToObjectID(IObject *object);
[all …]
Ditfstruct.h29 SLuint32 mInstanceID; // const for debugger and for RPC, 0 means unpublished
70 SLuint32 mGeneration; // incremented each master clock cycle
71 SLuint32 mWaiting; // number of threads waiting in Commit
239 SLuint32 mSizeConsumed;
294 SLuint32 mInstanceCount;
309 SLuint32 mMaxIndexLED;
310 SLuint32 mMaxIndexVibra;
363 SLuint32 mLightMask;
372 SLuint32 mKeySize;
374 SLuint32 mKeyEncoding;
[all …]
Ddevices.h21 SLuint32 id;
26 SLuint32 id;
31 SLuint32 id;
36 SLuint32 id;
47 SLuint32 mCodecID; ///< The codec ID
60 extern const SLuint32 * const Decoder_IDs, * const Encoder_IDs;
64 extern SLresult GetCodecCapabilities(SLuint32 decoderId, SLuint32 *pIndex,
Ddata.h20 SLuint32 mLocatorType;
35 SLuint32 mFormatType;
88 DataLocatorFormat *myDataSourceLocator, SLuint32 allowedDataLocatorMask,
89 SLuint32 allowedDataFormatMask);
91 DataLocatorFormat *myDataSinkLocator, SLuint32 allowedDataLocatorMask,
92 SLuint32 allowedDataFormatMask);
Ddevices.c114 static const SLuint32 Codec_IDs[] = {
126 const SLuint32 * const Decoder_IDs = Codec_IDs;
127 const SLuint32 * const Encoder_IDs = Codec_IDs;
130 static const SLuint32 VideoCodecIds[] = {
143 const SLuint32 * const VideoDecoderIds = VideoCodecIds;
209 SLresult GetCodecCapabilities(SLuint32 codecId, SLuint32 *pIndex, in GetCodecCapabilities()
216 SLuint32 index; in GetCodecCapabilities()
Dentry.c28 LI_API SLresult liCreateEngine(SLObjectItf *pEngine, SLuint32 numOptions, in liCreateEngine()
29 const SLEngineOption *pEngineOptions, SLuint32 numInterfaces, in liCreateEngine()
59 SLuint32 i; in liCreateEngine()
106 SLuint32 index; in liCreateEngine()
180 LI_API SLresult liQueryNumSupportedInterfaces(SLuint32 *pNumSupportedInterfaces, in liQueryNumSupportedInterfaces()
188 SLuint32 count = 0; in liQueryNumSupportedInterfaces()
189 SLuint32 i; in liQueryNumSupportedInterfaces()
215 LI_API SLresult liQuerySupportedInterfaces(SLuint32 index, SLInterfaceID *pInterfaceId, in liQuerySupportedInterfaces()
225 SLuint32 i; in liQuerySupportedInterfaces()
Dsl_entry.c21 SL_API SLresult SLAPIENTRY slCreateEngine(SLObjectItf *pEngine, SLuint32 numOptions, in slCreateEngine()
22 const SLEngineOption *pEngineOptions, SLuint32 numInterfaces, in slCreateEngine()
37 SL_API SLresult SLAPIENTRY slQueryNumSupportedEngineInterfaces(SLuint32 *pNumSupportedInterfaces) in slQueryNumSupportedEngineInterfaces()
52 SL_API SLresult SLAPIENTRY slQuerySupportedEngineInterfaces(SLuint32 index, in slQuerySupportedEngineInterfaces()
/frameworks/wilhelm/src/itf/
DIMIDITime.c22 static SLresult IMIDITime_GetDuration(SLMIDITimeItf self, SLuint32 *pDuration) in IMIDITime_GetDuration()
30 SLuint32 duration = thiz->mDuration; in IMIDITime_GetDuration()
39 static SLresult IMIDITime_SetPosition(SLMIDITimeItf self, SLuint32 position) in IMIDITime_SetPosition()
58 static SLresult IMIDITime_GetPosition(SLMIDITimeItf self, SLuint32 *pPosition) in IMIDITime_GetPosition()
67 SLuint32 position = thiz->mPosition; in IMIDITime_GetPosition()
77 static SLresult IMIDITime_SetLoopPoints(SLMIDITimeItf self, SLuint32 startTick, SLuint32 numTicks) in IMIDITime_SetLoopPoints()
83 SLuint32 duration = thiz->mDuration; in IMIDITime_SetLoopPoints()
98 static SLresult IMIDITime_GetLoopPoints(SLMIDITimeItf self, SLuint32 *pStartTick, in IMIDITime_GetLoopPoints()
99 SLuint32 *pNumTicks) in IMIDITime_GetLoopPoints()
108 SLuint32 startTick = thiz->mStartTick; in IMIDITime_GetLoopPoints()
[all …]
DIMetadataTraversal.c22 static SLresult IMetadataTraversal_SetMode(SLMetadataTraversalItf self, SLuint32 mode) in IMetadataTraversal_SetMode()
46 static SLresult IMetadataTraversal_GetChildCount(SLMetadataTraversalItf self, SLuint32 *pCount) in IMetadataTraversal_GetChildCount()
55 SLuint32 count = thiz->mCount; in IMetadataTraversal_GetChildCount()
66 SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize) in IMetadataTraversal_GetChildMIMETypeSize()
75 SLuint32 size = thiz->mSize; in IMetadataTraversal_GetChildMIMETypeSize()
85 static SLresult IMetadataTraversal_GetChildInfo(SLMetadataTraversalItf self, SLuint32 index, in IMetadataTraversal_GetChildInfo()
86 SLint32 *pNodeID, SLuint32 *pType, SLuint32 size, SLchar *pMimeType) in IMetadataTraversal_GetChildInfo()
97 static SLresult IMetadataTraversal_SetActiveNode(SLMetadataTraversalItf self, SLuint32 index) in IMetadataTraversal_SetActiveNode()
DIMetadataExtraction.c22 static SLresult IMetadataExtraction_GetItemCount(SLMetadataExtractionItf self, SLuint32 *pItemCount) in IMetadataExtraction_GetItemCount()
47 SLuint32 index, SLuint32 *pKeySize) in IMetadataExtraction_GetKeySize()
72 SLuint32 index, SLuint32 keySize, SLMetadataInfo *pKey) in IMetadataExtraction_GetKey()
97 SLuint32 index, SLuint32 *pValueSize) in IMetadataExtraction_GetValueSize()
122 SLuint32 index, SLuint32 valueSize, SLMetadataInfo *pValue) in IMetadataExtraction_GetValue()
147 SLuint32 keySize, const void *pKey, SLuint32 keyEncoding, in IMetadataExtraction_AddKeyFilter()
148 const SLchar *pValueLangCountry, SLuint32 valueEncoding, SLuint8 filterMask) in IMetadataExtraction_AddKeyFilter()
DIAudioDecoderCapabilities.c23 SLuint32 *pNumDecoders, SLuint32 *pDecoderIds) in IAudioDecoderCapabilities_GetAudioDecoders()
32 SLuint32 numDecoders = *pNumDecoders; in IAudioDecoderCapabilities_GetAudioDecoders()
39 memcpy(pDecoderIds, Decoder_IDs, numDecoders * sizeof(SLuint32)); in IAudioDecoderCapabilities_GetAudioDecoders()
49 SLAudioDecoderCapabilitiesItf self, SLuint32 decoderId, SLuint32 *pIndex, in IAudioDecoderCapabilities_GetAudioDecoderCapabilities()
DIAudioEncoderCapabilities.c23 SLuint32 *pNumEncoders, SLuint32 *pEncoderIds) in IAudioEncoderCapabilities_GetAudioEncoders()
32 SLuint32 numEncoders = *pNumEncoders; in IAudioEncoderCapabilities_GetAudioEncoders()
39 memcpy(pEncoderIds, Encoder_IDs, numEncoders * sizeof(SLuint32)); in IAudioEncoderCapabilities_GetAudioEncoders()
49 SLAudioEncoderCapabilitiesItf self, SLuint32 encoderId, SLuint32 *pIndex, in IAudioEncoderCapabilities_GetAudioEncoderCapabilities()
DIAudioIODeviceCapabilities.c25 SLAudioIODeviceCapabilitiesItf self, SLint32 *pNumInputs, SLuint32 *pInputDeviceIDs) in IAudioIODeviceCapabilities_GetAvailableAudioInputs()
48 SLAudioIODeviceCapabilitiesItf self, SLuint32 deviceID, SLAudioInputDescriptor *pDescriptor) in IAudioIODeviceCapabilities_QueryAudioInputCapabilities()
88 SLAudioIODeviceCapabilitiesItf self, SLint32 *pNumOutputs, SLuint32 *pOutputDeviceIDs) in IAudioIODeviceCapabilities_GetAvailableAudioOutputs()
114 SLAudioIODeviceCapabilitiesItf self, SLuint32 deviceID, SLAudioOutputDescriptor *pDescriptor) in IAudioIODeviceCapabilities_QueryAudioOutputCapabilities()
175 SLAudioIODeviceCapabilitiesItf self, SLuint32 deviceID, in IAudioIODeviceCapabilities_GetAssociatedAudioInputs()
176 SLint32 *pNumAudioInputs, SLuint32 *pAudioInputDeviceIDs) in IAudioIODeviceCapabilities_GetAssociatedAudioInputs()
193 SLAudioIODeviceCapabilitiesItf self, SLuint32 deviceID, in IAudioIODeviceCapabilities_GetAssociatedAudioOutputs()
194 SLint32 *pNumAudioOutputs, SLuint32 *pAudioOutputDeviceIDs) in IAudioIODeviceCapabilities_GetAssociatedAudioOutputs()
211 SLAudioIODeviceCapabilitiesItf self, SLuint32 defaultDeviceID, in IAudioIODeviceCapabilities_GetDefaultAudioDevices()
212 SLint32 *pNumAudioDevices, SLuint32 *pAudioDeviceIDs) in IAudioIODeviceCapabilities_GetDefaultAudioDevices()
[all …]
DIEngineCapabilities.c103 SLuint32 *pIndex, SLuint32 *pLEDDeviceID, SLLEDDescriptor *pDescriptor) in IEngineCapabilities_QueryLEDCapabilities()
109 SLuint32 index; in IEngineCapabilities_QueryLEDCapabilities()
128 SLuint32 id = *pLEDDeviceID; in IEngineCapabilities_QueryLEDCapabilities()
145 SLuint32 *pIndex, SLuint32 *pVibraDeviceID, SLVibraDescriptor *pDescriptor) in IEngineCapabilities_QueryVibraCapabilities()
151 SLuint32 index; in IEngineCapabilities_QueryVibraCapabilities()
170 SLuint32 id = *pVibraDeviceID; in IEngineCapabilities_QueryVibraCapabilities()
/frameworks/wilhelm/tests/examples/
DslesTestFeedback.cpp34 static SLuint32 rxBufCount = 2; // -r#
35 static SLuint32 txBufCount = 2; // -t#
36 static SLuint32 bufSizeInFrames = 512; // -f#
37 static SLuint32 channels = 1; // -c#
38 static SLuint32 sampleRate = 44100; // -s#
39 static SLuint32 exitAfterSeconds = 60; // -e#
40 static SLuint32 freeBufCount = 0; // calculated
41 static SLuint32 bufSizeInBytes = 0; // calculated
49 static SLuint32 rxFront; // oldest recording
50 static SLuint32 rxRear; // next to be recorded
[all …]
/frameworks/ex/variablespeed/jni/
Dvariablespeed.h61 void DecodingEventCallback(SLPlayItf caller, SLuint32 event);
62 void PrefetchEventCallback(SLPrefetchStatusItf caller, SLuint32 event);
87 SLuint32 GetSLSampleRate();
88 SLuint32 GetSLChannels();
117 SLuint32 mSampleRate;
118 SLuint32 mChannels;
/frameworks/wilhelm/src/desktop/
DOutputMixExt.h32 void (*FillBuffer)(SLOutputMixExtItf self, void *pBuffer, SLuint32 size);
41 SLuint32 mAvail; ///< Number of available bytes in the current buffer
43 SLuint32 mFramesMixed; ///< Number of sample frames mixed from track; reset periodically
48 extern void IOutputMixExt_FillBuffer(SLOutputMixExtItf self, void *pBuffer, SLuint32 size);

1234