Searched refs:SLuint32 (Results 1 – 15 of 15) sorted by relevance
71 typedef sl_uint32_t SLuint32; /* 32 bit unsigned integer */ typedef73 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 …]
38 SLuint32 size44 SLuint32 count;45 SLuint32 index;53 SLuint32 size65 SLuint32* size
72 typedef sl_uint32_t SLuint32; /* 32 bit unsigned integer */ typedef77 typedef SLuint32 SLboolean;82 typedef SLuint32 SLmillisecond;83 typedef SLuint32 SLmilliHertz;87 typedef SLuint32 SLmicrosecond;88 typedef SLuint32 SLresult;98 SLuint32 time_low;112 #define SL_OBJECTID_ENGINE ((SLuint32) 0x00001001)113 #define SL_OBJECTID_LEDDEVICE ((SLuint32) 0x00001002)114 #define SL_OBJECTID_VIBRADEVICE ((SLuint32) 0x00001003)[all …]
29 static SLuint32 OpenSLES_convertInputPreset(InputPreset oboePreset) { in OpenSLES_convertInputPreset()30 SLuint32 openslPreset = SL_ANDROID_RECORDING_PRESET_NONE; in OpenSLES_convertInputPreset()61 SLuint32 AudioInputStreamOpenSLES::channelCountToChannelMask(int channelCount) const { in channelCountToChannelMask()97 SLuint32 bitsPerSample = static_cast<SLuint32>(getBytesPerSample() * kBitsPerByte); in open()102 static_cast<SLuint32>(kBufferQueueLength)}; // numBuffers in open()107 static_cast<SLuint32>(mChannelCount), // numChannels in open()108 static_cast<SLuint32>(mSampleRate * kMillisPerSecond), // milliSamplesPerSec in open()125 SLuint32 representation = OpenSLES_ConvertFormatToRepresentation(getFormat()); in open()158 SLuint32 presetValue = OpenSLES_convertInputPreset(getInputPreset()); in open()162 sizeof(SLuint32)); in open()[all …]
31 static SLuint32 OpenSLES_convertOutputUsage(Usage oboeUsage) { in OpenSLES_convertOutputUsage()32 SLuint32 openslStream = SL_ANDROID_STREAM_MEDIA; in OpenSLES_convertOutputUsage()81 SLuint32 AudioOutputStreamOpenSLES::channelCountToChannelMask(int channelCount) const { in channelCountToChannelMask()82 SLuint32 channelMask = 0; in channelCountToChannelMask()140 SLuint32 bitsPerSample = static_cast<SLuint32>(getBytesPerSample() * kBitsPerByte); in open()145 static_cast<SLuint32>(kBufferQueueLength)}; // numBuffers in open()150 static_cast<SLuint32>(mChannelCount), // numChannels in open()151 static_cast<SLuint32>(mSampleRate * kMillisPerSecond), // milliSamplesPerSec in open()167 SLuint32 representation = OpenSLES_ConvertFormatToRepresentation(getFormat()); in open()194 SLuint32 presetValue = OpenSLES_convertOutputUsage(getUsage()); in open()[all …]
41 static constexpr SLuint32 kAudioChannelCountMax = 30; // TODO Why 30?42 static constexpr SLuint32 SL_ANDROID_UNKNOWN_CHANNELMASK = 0; // Matches name used internally.44 SLuint32 AudioStreamOpenSLES::channelCountToChannelMaskDefault(int channelCount) const { in channelCountToChannelMaskDefault()49 SLuint32 bitfield = (1 << channelCount) - 1; in channelCountToChannelMaskDefault()66 SLuint32 AudioStreamOpenSLES::getDefaultByteOrder() { in getDefaultByteOrder()143 SLuint32 AudioStreamOpenSLES::convertPerformanceMode(PerformanceMode oboeMode) const { in convertPerformanceMode()144 SLuint32 openslMode = SL_ANDROID_PERFORMANCE_NONE; in convertPerformanceMode()161 PerformanceMode AudioStreamOpenSLES::convertPerformanceMode(SLuint32 openslMode) const { in convertPerformanceMode()233 SLuint32 performanceMode = convertPerformanceMode(getPerformanceMode()); in configurePerformanceMode()248 SLuint32 performanceMode = 0; in updateStreamParameters()[all …]
83 SLuint32 channelCountToChannelMaskDefault(int channelCount) const;88 static SLuint32 getDefaultByteOrder();100 PerformanceMode convertPerformanceMode(SLuint32 openslMode) const;101 SLuint32 convertPerformanceMode(PerformanceMode oboeMode) const;
38 SLuint32 representation);40 SLuint32 OpenSLES_ConvertFormatToRepresentation(AudioFormat format);
56 SLuint32 channelCountToChannelMask(int chanCount) const;58 Result setRecordState_l(SLuint32 newState);
57 SLuint32 channelCountToChannelMask(int chanCount) const;69 Result setPlayState_l(SLuint32 newState);
67 SLDataFormat_PCM format, SLuint32 representation) { in OpenSLES_createExtendedFormat()80 SLuint32 OpenSLES_ConvertFormatToRepresentation(AudioFormat format) { in OpenSLES_ConvertFormatToRepresentation()
44 static inline SLuint3279 static inline SLuint32364 _opensles_player_event_cb (SLPlayItf caller, void *context, SLuint32 event) in _opensles_player_event_cb()783 SLuint32 deviceIDs[MAX_NUMBER_OUTPUT_DEVICES]; in gst_opensles_ringbuffer_open_device()967 SLuint32 state; in gst_opensles_ringbuffer_delay()
25 #define SL_ANDROID_RECORDING_PRESET_VOICE_COMMUNICATION ((SLuint32) 0x00000004)
115 SLuint32 outputDeviceIDs[MAX_NUMBER_OUTPUT_DEVICES]; in _opensles_query_capabilities()