/frameworks/ex/variablespeed/jni/ |
H A D | variablespeed.cc | 58 const SLuint32 kPrefetchErrorCandidate = 151 static void PrefetchEventCb(SLPrefetchStatusItf caller, void*, SLuint32 event) { 160 static void DecodingEventCb(SLPlayItf caller, void*, SLuint32 event) { 225 SLuint32 *sampleRateOut, SLuint32 *channelsOut) { 227 SLuint32 itemCount; 229 SLuint32 i, keySize, valueSize; 245 SLuint32 sampleRate = *(reinterpret_cast<SLuint32*>(value->data)); 249 SLuint32 channel [all...] |
H A D | variablespeed.h | 61 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/include/SLES/ |
H A D | OpenSLES.h | 71 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) [all...] |
H A D | OpenSLES_Android.h | 64 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 siz [all...] |
H A D | OpenSLES_AndroidConfiguration.h | 34 #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/ |
H A D | AudioPlayer_to_android.cpp | 29 template class android::KeyedVector<SLuint32, android::AudioEffect* > ; 42 SLresult aplayer_setPlayState(const android::sp<android::GenericPlayer> &ap, SLuint32 playState, 558 const SLuint32 sinkLocatorType = *(SLuint32 *)pAudioSink->pLocator; 559 const SLuint32 sinkFormatType = *(SLuint32 *)pAudioSink->pFormat; 593 const SLuint32 sourceLocatorType = *(SLuint32 *)pAudioSrc->pLocator; 594 const SLuint32 sinkLocatorType = *(SLuint32 *)pAudioSn [all...] |
H A D | AudioPlayer_to_android.h | 53 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 *pValueSiz [all...] |
H A D | AudioRecorder_to_android.cpp | 32 #define KEY_RECORDING_SOURCE_PARAMSIZE sizeof(SLuint32) 33 #define KEY_RECORDING_PRESET_PARAMSIZE sizeof(SLuint32) 39 SLresult audioRecorder_setPreset(CAudioRecorder* ar, SLuint32 recordPreset) { 76 SLresult audioRecorder_getPreset(CAudioRecorder* ar, SLuint32* pPreset) { 167 if (SL_DATALOCATOR_ANDROIDSIMPLEBUFFERQUEUE != *(SLuint32 *)pAudioSnk->pLocator) { 172 SLuint32 formatType = *(SLuint32 *)pAudioSnk->pFormat; 189 if (SL_DATALOCATOR_IODEVICE != *(SLuint32 *)pAudioSrc->pLocator) { 303 const SLuint32 sourceLocatorType = *(SLuint32 *)pAudioSr [all...] |
H A D | AudioRecorder_to_android.h | 32 const void *pConfigValue, SLuint32 valueSize); 44 SLuint32* pValueSize, void *pConfigValue); 54 extern void android_audioRecorder_setRecordState(CAudioRecorder* ar, SLuint32 state);
|
H A D | BufferQueueSource.cpp | 32 const SLuint32 BufferQueueSource::kItemProcessed[NB_BUFFEREVENT_ITEM_FIELDS] = { 34 sizeof(SLuint32), // item size 154 NB_BUFFEREVENT_ITEM_FIELDS * sizeof(SLuint32) /* itemsLength */ );
|
H A D | BufferQueueSource.h | 22 // number of SLuint32 fields to store a buffer event message in an item, by mapping each 23 // to the item key (SLuint32), the item size (SLuint32), and the item data (mask on SLuint32) 34 static const SLuint32 kItemProcessed[NB_BUFFEREVENT_ITEM_FIELDS];
|
H A D | MediaPlayer_to_android.cpp | 258 (*callback)(&mp->mPlay.mItf, callbackPContext, (SLuint32) data1); // SL_PLAYEVENT_HEAD* 312 const SLuint32 sourceLocatorType = *(SLuint32 *)pSrc->pLocator; 313 const SLuint32 sourceFormatType = *(SLuint32 *)pSrc->pFormat; 314 const SLuint32 audioSinkLocatorType = *(SLuint32 *)pAudioSnk->pLocator; 315 //const SLuint32 sinkFormatType = *(SLuint32 *)pAudioSnk->pFormat; 414 const SLuint32 sourceLocato [all...] |
H A D | MediaPlayer_to_android.h | 68 SLuint32 playState,
|
H A D | android_Effect.cpp | 43 static inline SLuint32 KEY_FROM_GUID(SLInterfaceID pUuid) { 679 SLresult android_genericFx_queryNumEffects(SLuint32 *pNumSupportedAudioEffects) { 712 SLresult android_genericFx_queryEffect(SLuint32 index, effect_descriptor_t* pDescriptor) { 830 SLuint32 command, SLuint32 commandSize, void* pCommandData, 831 SLuint32 *replySize, void *pReplyData) {
|
H A D | android_Effect.h | 75 extern SLresult android_genericFx_queryNumEffects(SLuint32 *pNumSupportedAudioEffects); 77 extern SLresult android_genericFx_queryEffect(SLuint32 index, effect_descriptor_t* pDescriptor); 91 SLuint32 command, SLuint32 commandSize, void* pCommandData, 92 SLuint32 *replySize, void *pReplyData);
|
H A D | android_StreamPlayer.cpp | 53 const SLuint32 StreamSourceAppProxy::kItemProcessed[NB_BUFFEREVENT_ITEM_FIELDS] = { 55 sizeof(SLuint32), // item size 285 NB_BUFFEREVENT_ITEM_FIELDS *sizeof(SLuint32) /* itemsLength */ );
|
H A D | android_StreamPlayer.h | 21 // number of SLuint32 fields to store a buffer event message in an item, by mapping each 22 // to the item key (SLuint32), the item size (SLuint32), and the item data (mask on SLuint32) 40 static const SLuint32 kItemProcessed[NB_BUFFEREVENT_ITEM_FIELDS];
|
H A D | android_defs.h | 129 #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)
|
H A D | android_sles_conversions.h | 24 static inline SLuint32 android_to_sles_streamType(int type) { 25 return (SLuint32) type; 29 static inline SLuint32 android_to_sles_sampleRate(uint32_t srHz) { 31 return (SLuint32) srHz*1000; 38 static inline int sles_to_android_streamType(SLuint32 type) { 43 static inline uint32_t sles_to_android_sampleRate(SLuint32 sampleRateMilliHertz) { 47 static inline audio_format_t sles_to_android_sampleFormat(SLuint32 pcmFormat) { 65 static inline audio_channel_mask_t sles_to_android_channelMaskIn(SLuint32 nbChannels, SLuint32 channelMask) { 71 static inline audio_channel_mask_t sles_to_android_channelMaskOut(SLuint32 nbChannel [all...] |
/frameworks/wilhelm/src/ |
H A D | classes.c | 504 LI_API const ClassTable *objectIDtoClass(SLuint32 objectID) 508 SLuint32 slObjectID0 = slClasses[0]->mSLObjectID; 514 SLuint32 xaObjectID0 = xaClasses[0]->mXAObjectID;
|
H A D | classes.h | 76 SLuint32 mSampleRateMilliHz;// initially UNKNOWN_SAMPLERATE, then const once it is known 147 SLuint32 mSampleRateMilliHz;// initially UNKNOWN_SAMPLERATE, then const once it is known 189 SLuint32 mEqNumPresets; 202 SLuint32 mDeviceID; 303 SLuint32 mDeviceID;
|
H A D | data.c | 25 SLuint32 allowedDataLocatorMask) 30 SLuint32 locatorType; 34 locatorType = *(SLuint32 *)pLocator; 65 SLuint32 deviceType = pDataLocator->mIODevice.deviceType; 69 SLuint32 expectedObjectID; 103 SLuint32 deviceID = pDataLocator->mIODevice.deviceID; 256 SLuint32 actualMask; 337 SLuint32 allowedDataFormatMask) 342 SLuint32 formatType; 346 formatType = *(SLuint32 *)pForma [all...] |
H A D | data.h | 20 SLuint32 mLocatorType; 35 SLuint32 mFormatType; 88 DataLocatorFormat *myDataSourceLocator, SLuint32 allowedDataLocatorMask, 89 SLuint32 allowedDataFormatMask); 91 DataLocatorFormat *myDataSinkLocator, SLuint32 allowedDataLocatorMask, 92 SLuint32 allowedDataFormatMask);
|
/frameworks/wilhelm/src/desktop/ |
H A D | OutputMixExt.h | 32 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);
|
H A D | SDL.c | 36 IOutputMixExt_FillBuffer(OutputMixExt, stream, (SLuint32) len);
|