Searched defs:offloadInfo (Results 1 - 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/
H A DAudioPlayer.cpp167 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; local
177 offloadInfo.duration_us = durationUs;
179 offloadInfo.duration_us = -1;
182 offloadInfo.sample_rate = mSampleRate;
183 offloadInfo.channel_mask = channelMask;
184 offloadInfo.format = audioFormat;
185 offloadInfo.stream_type = AUDIO_STREAM_MUSIC;
186 offloadInfo.bit_rate = avgBitRate;
187 offloadInfo.has_video = ((mCreateFlags & HAS_VIDEO) != 0);
188 offloadInfo
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyInterfaceImpl.cpp149 const audio_offload_info_t *offloadInfo)
160 format, channelMask, flags, offloadInfo);
144 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
/frameworks/av/media/libaudioclient/
H A DAudioSystem.cpp808 const audio_offload_info_t *offloadInfo)
812 return aps->getOutput(stream, samplingRate, format, channelMask, flags, offloadInfo);
803 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
H A DAudioTrack.cpp207 const audio_offload_info_t *offloadInfo,
224 offloadInfo, uid, pid, pAttributes, doNotReconnect, maxRequiredSpeed);
239 const audio_offload_info_t *offloadInfo,
255 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo,
301 const audio_offload_info_t *offloadInfo,
454 // Make copy of input parameter offloadInfo so that in the future:
457 if (offloadInfo != NULL) {
458 mOffloadInfoCopy = *offloadInfo;
195 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int32_t notificationFrames, audio_session_t sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument
227 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const sp<IMemory>& sharedBuffer, audio_output_flags_t flags, callback_t cbf, void* user, int32_t notificationFrames, audio_session_t sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument
287 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int32_t notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, audio_session_t sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument
H A DIAudioPolicyService.cpp167 const audio_offload_info_t *offloadInfo)
177 if (offloadInfo == NULL) {
181 data.write(offloadInfo, sizeof(audio_offload_info_t));
916 audio_offload_info_t offloadInfo; local
918 data.read(&offloadInfo, sizeof(audio_offload_info_t));
925 hasOffloadInfo ? &offloadInfo : NULL);
161 getOutput( audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp1899 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; local
1900 offloadInfo.duration_us = -1;
1902 "durationUs", &offloadInfo.duration_us);
1903 offloadInfo.sample_rate = sampleRate;
1904 offloadInfo.channel_mask = channelMask;
1905 offloadInfo.format = audioFormat;
1906 offloadInfo.stream_type = AUDIO_STREAM_MUSIC;
1907 offloadInfo.bit_rate = avgBitRate;
1908 offloadInfo.has_video = hasVideo;
1909 offloadInfo
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1811 const audio_offload_info_t *offloadInfo,
1819 // offloadInfo must be present if offload flag is set
1821 ((cb == NULL) || (offloadInfo == NULL))) {
1936 offloadInfo,
1806 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo, bool doNotReconnect, uint32_t suggestedFrameCount) argument
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp753 const audio_offload_info_t *offloadInfo)
761 channelMask, flags, offloadInfo);
858 const audio_offload_info_t *offloadInfo)
881 if (offloadInfo != NULL) {
882 config.offload_info = *offloadInfo;
988 if ((profile->getFlags() & AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD) && !offloadInfo) {
998 offloadInfo = &defaultOffloadInfo;
1009 if (offloadInfo != NULL) {
1010 config.offload_info = *offloadInfo;
2548 bool AudioPolicyManager::isOffloadSupported(const audio_offload_info_t& offloadInfo) argument
748 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
850 getOutputForDevice( audio_devices_t device, audio_session_t session, audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
[all...]

Completed in 2086 milliseconds