Home
last modified time | relevance | path

Searched refs:SLint32 (Results 1 – 22 of 22) sorted by relevance

/frameworks/wilhelm/include/SLES/
DOpenSLES_AndroidConfiguration.h58 #define SL_ANDROID_STREAM_VOICE ((SLint32) 0x00000000)
60 #define SL_ANDROID_STREAM_SYSTEM ((SLint32) 0x00000001)
62 #define SL_ANDROID_STREAM_RING ((SLint32) 0x00000002)
64 #define SL_ANDROID_STREAM_MEDIA ((SLint32) 0x00000003)
66 #define SL_ANDROID_STREAM_ALARM ((SLint32) 0x00000004)
68 #define SL_ANDROID_STREAM_NOTIFICATION ((SLint32) 0x00000005)
DOpenSLES.h70 typedef sl_int32_t SLint32; /* 32 bit signed integer */ typedef
81 typedef SLint32 SLmillimeter;
82 typedef SLint32 SLmillidegree;
136 #define SL_PRIORITY_LOWEST ((SLint32) (-0x7FFFFFFF-1))
137 #define SL_PRIORITY_VERYLOW ((SLint32) -0x60000000)
138 #define SL_PRIORITY_LOW ((SLint32) -0x40000000)
139 #define SL_PRIORITY_BELOWNORMAL ((SLint32) -0x20000000)
140 #define SL_PRIORITY_NORMAL ((SLint32) 0x00000000)
141 #define SL_PRIORITY_ABOVENORMAL ((SLint32) 0x20000000)
142 #define SL_PRIORITY_HIGH ((SLint32) 0x40000000)
[all …]
DOpenSLES_Android.h363 SLint32 fd;
/frameworks/wilhelm/src/itf/
DIDeviceVolume.c23 SLint32 *pMinValue, SLint32 *pMaxValue, SLboolean *pIsMillibelScale) in IDeviceVolume_GetVolumeScale()
49 static SLresult IDeviceVolume_SetVolume(SLDeviceVolumeItf self, SLuint32 deviceID, SLint32 volume) in IDeviceVolume_SetVolume()
78 static SLresult IDeviceVolume_GetVolume(SLDeviceVolumeItf self, SLuint32 deviceID, SLint32 *pVolume) in IDeviceVolume_GetVolume()
96 SLint32 volume = thiz->mVolume[~deviceID]; in IDeviceVolume_GetVolume()
DIAudioIODeviceCapabilities.c25 SLAudioIODeviceCapabilitiesItf self, SLint32 *pNumInputs, SLuint32 *pInputDeviceIDs) in IAudioIODeviceCapabilities_GetAvailableAudioInputs()
88 SLAudioIODeviceCapabilitiesItf self, SLint32 *pNumOutputs, SLuint32 *pOutputDeviceIDs) in IAudioIODeviceCapabilities_GetAvailableAudioOutputs()
176 SLint32 *pNumAudioInputs, SLuint32 *pAudioInputDeviceIDs) in IAudioIODeviceCapabilities_GetAssociatedAudioInputs()
194 SLint32 *pNumAudioOutputs, SLuint32 *pAudioOutputDeviceIDs) in IAudioIODeviceCapabilities_GetAssociatedAudioOutputs()
212 SLint32 *pNumAudioDevices, SLuint32 *pAudioDeviceIDs) in IAudioIODeviceCapabilities_GetDefaultAudioDevices()
262 SLint32 *pSampleFormats, SLint32 *pNumOfSampleFormats) in IAudioIODeviceCapabilities_QuerySampleFormatsSupported()
DIOutputMix.c23 SLint32 *pNumDevices, SLuint32 *pDeviceIDs) in IOutputMix_GetDestinationOutputDeviceIDs()
63 static SLresult IOutputMix_ReRoute(SLOutputMixItf self, SLint32 numOutputDevices, in IOutputMix_ReRoute()
DIMetadataTraversal.c86 SLint32 *pNodeID, SLuint32 *pType, SLuint32 size, SLchar *pMimeType) in IMetadataTraversal_GetChildInfo()
DIObject.c642 static SLresult IObject_SetPriority(SLObjectItf self, SLint32 priority, SLboolean preemptable) in IObject_SetPriority()
661 static SLresult IObject_GetPriority(SLObjectItf self, SLint32 *pPriority, SLboolean *pPreemptable) in IObject_GetPriority()
671 SLint32 priority = thiz->mPriority; in IObject_GetPriority()
/frameworks/wilhelm/tests/mimeUri/
DslesTestPlayStreamType.cpp48 void TestStreamTypeConfiguration( SLObjectItf sl, const char* path, const SLint32 type) in TestStreamTypeConfiguration()
141 SL_ANDROID_KEY_STREAM_TYPE, &type, sizeof(SLint32)); in TestStreamTypeConfiguration()
193 SLint32 currentType = -1; in TestStreamTypeConfiguration()
194 SLuint32 valueSize = sizeof(SLint32) * 2; // trying too big on purpose in TestStreamTypeConfiguration()
198 if (valueSize != sizeof(SLint32)) { in TestStreamTypeConfiguration()
200 valueSize, sizeof(SLint32)); in TestStreamTypeConfiguration()
265 TestStreamTypeConfiguration(sl, argv[1], (SLint32)atoi(argv[2])); in main()
DslesTestGetPositionUri.cpp283 if (((SLint32)posInMsec > (counter*1000 + TIME_TOLERANCE_MS)) || in TestGetPositionUri()
284 ((SLint32)posInMsec < (counter*1000 - TIME_TOLERANCE_MS))) { in TestGetPositionUri()
/frameworks/wilhelm/src/
Ditfstruct.h39 SLint32 mPriority;
255 SLint32 mVolume[MAX_DEVICE];
/frameworks/wilhelm/tests/examples/
DslesTestPlayFdPath.cpp137 locatorFd.fd = (SLint32) fd; in TestPlayPathFromFD()
DslesTestBassBoostPath.cpp123 locatorFd.fd = (SLint32) fd; in TestBassBoostPathFromFD()
DslesTestVirtualizerPath.cpp124 locatorFd.fd = (SLint32) fd; in TestVirtualizerPathFromFD()
DslesTestEqFdPath.cpp128 locatorFd.fd = (SLint32) fd; in TestEQPathFromFD()
DslesTestEqOutputPath.cpp135 locatorFd.fd = (SLint32) fd; in TestEQPathFromFD()
DslesTestSendToPresetReverb.cpp182 locatorFd.fd = (SLint32) fd; in TestSendToPresetReverb()
/frameworks/wilhelm/tests/
DmimeUri_test.cpp219 SLint32 durationDiffMsec = durationInMsec - MP3_DURATION; in TestPlayUri()
/frameworks/wilhelm/tests/sandbox/
Doutputmix.c182 SLint32 numDevices = 1; in main()
/frameworks/wilhelm/tests/sandbox/streamSource/
DslesTestPlayStream.cpp184 SLint32 numOutputs = 0; in TestPlayStream()
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.cpp36 #define KEY_STREAM_TYPE_PARAMSIZE sizeof(SLint32)
445 SLresult audioPlayer_setStreamType(CAudioPlayer* ap, SLint32 type) { in audioPlayer_setStreamType()
489 SLresult audioPlayer_getStreamType(CAudioPlayer* ap, SLint32 *pType) { in audioPlayer_getStreamType()
1365 result = audioPlayer_getStreamType(ap, (SLint32*)pConfigValue); in android_audioPlayer_getConfig()
/frameworks/base/docs/html/ndk/guides/audio/
Dopensl-for-android.jd690 You may need to change a parameter type from {@code SLint32} to {@code SLuint32} or similar, or
851 SLint32 streamType = SL_ANDROID_STREAM_ALARM;
853 SL_ANDROID_KEY_STREAM_TYPE, &amp;streamType, sizeof(SLint32));