/frameworks/av/media/libstagefright/ |
H A D | AudioPlayer.cpp | 167 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 D | AudioPolicyClientImplLegacy.cpp | 72 const audio_offload_info_t *offloadInfo) 88 if (offloadInfo != NULL) { 89 config.offload_info = *offloadInfo; 98 if (offloadInfo != NULL) { 99 *((audio_offload_info_t *)offloadInfo) = config.offload_info; 126 const audio_offload_info_t *offloadInfo) 129 pLatencyMs, flags, offloadInfo); 65 open_output(audio_module_handle_t module, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask, uint32_t *pLatencyMs, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument 118 aps_open_output_on_module(void *service __unused, audio_module_handle_t module, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask, uint32_t *pLatencyMs, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
|
H A D | AudioPolicyInterfaceImpl.cpp | 135 const audio_offload_info_t *offloadInfo) 146 format, channelMask, flags, offloadInfo); 159 const audio_offload_info_t *offloadInfo) 174 format, channelMask, flags, selectedDeviceId, offloadInfo); 130 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 149 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uid_t uid, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, audio_port_handle_t selectedDeviceId, const audio_offload_info_t *offloadInfo) argument
|
H A D | AudioPolicyInterfaceImplLegacy.cpp | 136 const audio_offload_info_t *offloadInfo) 147 format, channelMask, flags, offloadInfo); 576 const audio_offload_info_t *offloadInfo) 586 flags, offloadInfo); 131 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 566 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session __unused, audio_stream_type_t *stream, uid_t uid __unused, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, audio_port_handle_t selectedDeviceId __unused, const audio_offload_info_t *offloadInfo) argument
|
H A D | AudioPolicyService.h | 78 const audio_offload_info_t *offloadInfo = NULL); 89 const audio_offload_info_t *offloadInfo = NULL);
|
H A D | AudioPolicyService.cpp | 1164 const audio_offload_info_t *offloadInfo);
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyInterface.h | 105 const audio_offload_info_t *offloadInfo) = 0; 116 const audio_offload_info_t *offloadInfo) = 0; 198 virtual bool isOffloadSupported(const audio_offload_info_t& offloadInfo) = 0;
|
/frameworks/av/include/media/ |
H A D | IAudioPolicyService.h | 60 const audio_offload_info_t *offloadInfo = NULL) = 0; 71 const audio_offload_info_t *offloadInfo = NULL) = 0;
|
H A D | AudioTrack.h | 206 * offloadInfo: If not NULL, provides offload parameters for 235 const audio_offload_info_t *offloadInfo = NULL, 265 const audio_offload_info_t *offloadInfo = NULL, 311 const audio_offload_info_t *offloadInfo = NULL,
|
H A D | AudioSystem.h | 214 const audio_offload_info_t *offloadInfo = NULL); 225 const audio_offload_info_t *offloadInfo = NULL);
|
H A D | MediaPlayerInterface.h | 118 const audio_offload_info_t *offloadInfo = NULL,
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 1793 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; local 1794 offloadInfo.duration_us = -1; 1796 "durationUs", &offloadInfo.duration_us); 1797 offloadInfo.sample_rate = sampleRate; 1798 offloadInfo.channel_mask = channelMask; 1799 offloadInfo.format = audioFormat; 1800 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; 1801 offloadInfo.bit_rate = avgBitRate; 1802 offloadInfo.has_video = hasVideo; 1803 offloadInfo [all...] |
/frameworks/av/media/libmedia/ |
H A D | IAudioPolicyService.cpp | 153 const audio_offload_info_t *offloadInfo) 163 if (offloadInfo == NULL) { 167 data.write(offloadInfo, sizeof(audio_offload_info_t)); 183 const audio_offload_info_t *offloadInfo) 221 if (offloadInfo == NULL) { 225 data.write(offloadInfo, sizeof(audio_offload_info_t)); 876 audio_offload_info_t offloadInfo; local 878 data.read(&offloadInfo, sizeof(audio_offload_info_t)); 885 hasOffloadInfo ? &offloadInfo : NULL); 911 audio_offload_info_t offloadInfo; local 147 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 173 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uid_t uid, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, audio_port_handle_t selectedDeviceId, const audio_offload_info_t *offloadInfo) argument [all...] |
H A D | AudioSystem.cpp | 783 const audio_offload_info_t *offloadInfo) 787 return aps->getOutput(stream, samplingRate, format, channelMask, flags, offloadInfo); 800 const audio_offload_info_t *offloadInfo) 806 flags, selectedDeviceId, offloadInfo); 778 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 790 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uid_t uid, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, audio_port_handle_t selectedDeviceId, const audio_offload_info_t *offloadInfo) argument
|
H A D | AudioTrack.cpp | 199 const audio_offload_info_t *offloadInfo, 215 offloadInfo, uid, pid, pAttributes, doNotReconnect, maxRequiredSpeed); 230 const audio_offload_info_t *offloadInfo, 245 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo, 291 const audio_offload_info_t *offloadInfo, 440 // Make copy of input parameter offloadInfo so that in the future: 443 if (offloadInfo != NULL) { 444 mOffloadInfoCopy = *offloadInfo; 187 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, int uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument 218 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, int uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument 277 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, int uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument
|
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.h | 108 const audio_offload_info_t *offloadInfo); 119 const audio_offload_info_t *offloadInfo); 196 virtual bool isOffloadSupported(const audio_offload_info_t& offloadInfo); 619 const audio_offload_info_t *offloadInfo);
|
H A D | AudioPolicyManager.cpp | 673 const audio_offload_info_t *offloadInfo) 682 flags, offloadInfo); 695 const audio_offload_info_t *offloadInfo) 758 flags, offloadInfo); 775 const audio_offload_info_t *offloadInfo) 799 if (offloadInfo != NULL) { 800 config.offload_info = *offloadInfo; 897 if ((profile->getFlags() & AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD) && !offloadInfo) { 907 offloadInfo = &defaultOffloadInfo; 918 if (offloadInfo ! 668 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 685 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uid_t uid, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, audio_port_handle_t selectedDeviceId, const audio_offload_info_t *offloadInfo) argument 767 getOutputForDevice( audio_devices_t device, audio_session_t session __unused, 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 2257 isOffloadSupported(const audio_offload_info_t& offloadInfo) argument [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.h | 102 const audio_offload_info_t *offloadInfo = NULL,
|
H A D | MediaPlayerService.cpp | 1656 const audio_offload_info_t *offloadInfo, 1664 // offloadInfo must be present if offload flag is set 1666 ((cb == NULL) || (offloadInfo == NULL))) { 1781 offloadInfo, 1651 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
|