Home
last modified time | relevance | path

Searched refs:SLuint32 (Results 1 – 25 of 99) 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.h42 #define SL_ANDROID_PCM_REPRESENTATION_SIGNED_INT ((SLuint32) 0x00000001)
43 #define SL_ANDROID_PCM_REPRESENTATION_UNSIGNED_INT ((SLuint32) 0x00000002)
44 #define SL_ANDROID_PCM_REPRESENTATION_FLOAT ((SLuint32) 0x00000003)
46 #define SL_ANDROID_DATAFORMAT_PCM_EX ((SLuint32) 0x00000004)
49 SLuint32 formatType;
50 SLuint32 numChannels;
51 SLuint32 sampleRate;
52 SLuint32 bitsPerSample;
53 SLuint32 containerSize;
54 SLuint32 channelMask;
[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)
45 #define SL_ANDROID_RECORDING_PRESET_UNPROCESSED ((SLuint32) 0x00000005)
90 #define SL_ANDROID_PERFORMANCE_NONE ((SLuint32) 0x00000000)
93 #define SL_ANDROID_PERFORMANCE_LATENCY ((SLuint32) 0x00000001)
95 #define SL_ANDROID_PERFORMANCE_LATENCY_EFFECTS ((SLuint32) 0x00000002)
98 #define SL_ANDROID_PERFORMANCE_POWER_SAVING ((SLuint32) 0x00000003)
/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.h31 SLuint32 mInstanceID; // const for debugger and for RPC, 0 means unpublished
72 SLuint32 mGeneration; // incremented each master clock cycle
73 SLuint32 mWaiting; // number of threads waiting in Commit
241 SLuint32 mSizeConsumed;
297 SLuint32 mInstanceCount;
305 SLuint32 mNativeEndianness; // one of SL_BYTEORDER_LITTLEENDIAN or SL_BYTEORDER_BIGENDIAN
313 SLuint32 mMaxIndexLED;
314 SLuint32 mMaxIndexVibra;
367 SLuint32 mLightMask;
376 SLuint32 mKeySize;
[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,
Ddevices.cpp92 (SLuint32) ~0 // colorMask
114 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;
169 (SLuint32) ~0, // maxBitRate
206 SLresult GetCodecCapabilities(SLuint32 codecId, SLuint32 *pIndex, in GetCodecCapabilities()
213 SLuint32 index; in GetCodecCapabilities()
Ddata.h23 SLuint32 mLocatorType;
38 SLuint32 mFormatType;
93 DataLocatorFormat *myDataSourceLocator, SLuint32 allowedDataLocatorMask,
94 SLuint32 allowedDataFormatMask);
96 DataLocatorFormat *myDataSinkLocator, SLuint32 allowedDataLocatorMask,
97 SLuint32 allowedDataFormatMask);
Dentry.cpp27 LI_API SLresult liCreateEngine(SLObjectItf *pEngine, SLuint32 numOptions, in liCreateEngine()
28 const SLEngineOption *pEngineOptions, SLuint32 numInterfaces, in liCreateEngine()
58 SLuint32 i; in liCreateEngine()
105 SLuint32 index; in liCreateEngine()
178 LI_API SLresult liQueryNumSupportedInterfaces(SLuint32 *pNumSupportedInterfaces, in liQueryNumSupportedInterfaces()
186 SLuint32 count = 0; in liQueryNumSupportedInterfaces()
187 SLuint32 i; in liQueryNumSupportedInterfaces()
213 LI_API SLresult liQuerySupportedInterfaces(SLuint32 index, SLInterfaceID *pInterfaceId, in liQuerySupportedInterfaces()
223 SLuint32 i; in liQuerySupportedInterfaces()
Dsl_entry.cpp21 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/android/
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);
Dchannels.h24 #define SL_ANDROID_INDEXED_SPEAKER_MASK_ALL ((SLuint32) \
58 extern SLuint32 sles_channel_out_mask_from_count(unsigned channelCount);
59 extern SLuint32 sles_channel_in_mask_from_count(unsigned channelCount);
60 extern SLuint32 sles_channel_count_from_mask(SLuint32 mask);
61 extern SLboolean sles_is_channel_mask_valid(SLuint32 mask);
63 extern audio_channel_representation_t sles_to_audio_channel_mask_representation(SLuint32 mask);
64 extern audio_channel_mask_t sles_to_audio_output_channel_mask(SLuint32 mask);
65 extern audio_channel_mask_t sles_to_audio_input_channel_mask(SLuint32 mask);
Dandroid_defs.h131 #define ANDROID_MP2TSEVENT_NONE ((SLuint32) 0x0)
133 #define ANDROID_MP2TSEVENT_EOS ((SLuint32) 0x1)
135 #define ANDROID_MP2TSEVENT_DISCONTINUITY ((SLuint32) 0x1 << 1)
138 #define ANDROID_MP2TSEVENT_DISCON_NEWPTS ((SLuint32) 0x1 << 2)
140 #define ANDROID_MP2TSEVENT_FORMAT_CHANGE_FULL ((SLuint32) 0x1 << 3)
141 #define ANDROID_MP2TSEVENT_FORMAT_CHANGE_VIDEO ((SLuint32) 0x1 << 4)
213 #define ANDROID_PERFORMANCE_MODE_NONE ((SLuint32) 0x1 << 0)
214 #define ANDROID_PERFORMANCE_MODE_LATENCY ((SLuint32) 0x1 << 1)
215 #define ANDROID_PERFORMANCE_MODE_LATENCY_EFFECTS ((SLuint32) 0x1 << 2)
216 #define ANDROID_PERFORMANCE_MODE_POWER_SAVING ((SLuint32) 0x1 << 3)
Dchannels.cpp30 SLuint32 sles_channel_out_mask_from_count(unsigned channelCount) in sles_channel_out_mask_from_count()
69 SLuint32 sles_channel_in_mask_from_count(unsigned channelCount) { in sles_channel_in_mask_from_count()
79 SLuint32 bitfield = (1 << channelCount) - 1; in sles_channel_in_mask_from_count()
93 SLuint32 sles_channel_count_from_mask(SLuint32 mask) { in sles_channel_count_from_mask()
113 audio_channel_representation_t sles_to_audio_channel_mask_representation(SLuint32 mask) { in sles_to_audio_channel_mask_representation()
123 SLuint32 sles;
164 SLuint32 mask, in sles_to_android_mask_helper()
219 audio_channel_mask_t sles_to_audio_output_channel_mask(SLuint32 mask) { in sles_to_audio_output_channel_mask()
226 audio_channel_mask_t sles_to_audio_input_channel_mask(SLuint32 mask) { in sles_to_audio_input_channel_mask()
235 SLboolean sles_is_channel_mask_valid(SLuint32 mask) { in sles_is_channel_mask_valid()
[all …]
DAudioRecorder_to_android.cpp28 #define KEY_RECORDING_SOURCE_PARAMSIZE sizeof(SLuint32)
29 #define KEY_RECORDING_PRESET_PARAMSIZE sizeof(SLuint32)
30 #define KEY_PERFORMANCE_MODE_PARAMSIZE sizeof(SLuint32)
36 SLresult audioRecorder_setPreset(CAudioRecorder* ar, SLuint32 recordPreset) { in audioRecorder_setPreset()
77 SLresult audioRecorder_setPerformanceMode(CAudioRecorder* ar, SLuint32 mode) { in audioRecorder_setPerformanceMode()
81 SLuint32 perfMode = ANDROID_PERFORMANCE_MODE_DEFAULT; in audioRecorder_setPerformanceMode()
114 SLresult audioRecorder_getPreset(CAudioRecorder* ar, SLuint32* pPreset) { in audioRecorder_getPreset()
150 SLresult audioRecorder_getPerformanceMode(CAudioRecorder* ar, SLuint32 *pMode) { in audioRecorder_getPerformanceMode()
233 const SLuint32 sinkLocatorType = *(SLuint32 *)pAudioSnk->pLocator; in android_audioRecorder_checkSourceSink()
234 const SLuint32 sinkFormatType = *(SLuint32 *)pAudioSnk->pFormat; in android_audioRecorder_checkSourceSink()
[all …]
/frameworks/wilhelm/src/itf/
DIMIDITime.cpp22 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.cpp22 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.cpp22 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.cpp23 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.cpp23 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.cpp25 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.cpp103 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.cpp37 static SLuint32 rxBufCount = 2; // -r#
38 static SLuint32 txBufCount = 2; // -t#
39 static SLuint32 bufSizeInFrames = 240; // -f#
40 static SLuint32 channels = 1; // -c#
41 static SLuint32 sampleRate = 48000; // -s#
42 static SLuint32 exitAfterSeconds = 60; // -e#
43 static SLuint32 freeBufCount = 0; // calculated
44 static SLuint32 bufSizeInBytes = 0; // calculated
52 static SLuint32 rxFront; // oldest recording
53 static SLuint32 rxRear; // next to be recorded
[all …]
/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