/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) 176 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); 575 const audio_offload_info_t *offloadInfo) 585 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 565 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 | 1090 const audio_offload_info_t *offloadInfo);
|
/frameworks/av/media/libstagefright/ |
H A D | AudioPlayer.cpp | 159 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; local 169 offloadInfo.duration_us = durationUs; 171 offloadInfo.duration_us = -1; 174 offloadInfo.sample_rate = mSampleRate; 175 offloadInfo.channel_mask = channelMask; 176 offloadInfo.format = audioFormat; 177 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; 178 offloadInfo.bit_rate = avgBitRate; 179 offloadInfo.has_video = ((mCreateFlags & HAS_VIDEO) != 0); 180 offloadInfo [all...] |
/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/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 1703 audio_offload_info_t offloadInfo = AUDIO_INFO_INITIALIZER; local 1704 offloadInfo.duration_us = -1; 1706 "durationUs", &offloadInfo.duration_us); 1707 offloadInfo.sample_rate = sampleRate; 1708 offloadInfo.channel_mask = channelMask; 1709 offloadInfo.format = audioFormat; 1710 offloadInfo.stream_type = AUDIO_STREAM_MUSIC; 1711 offloadInfo.bit_rate = avgBitRate; 1712 offloadInfo.has_video = hasVideo; 1713 offloadInfo [all...] |
/frameworks/av/include/media/ |
H A D | AudioTrack.h | 189 * offloadInfo: If not NULL, provides offload parameters for 214 const audio_offload_info_t *offloadInfo = NULL, 243 const audio_offload_info_t *offloadInfo = NULL, 288 const audio_offload_info_t *offloadInfo = NULL,
|
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 | AudioSystem.h | 201 const audio_offload_info_t *offloadInfo = NULL); 212 const audio_offload_info_t *offloadInfo = NULL);
|
H A D | MediaPlayerInterface.h | 116 const audio_offload_info_t *offloadInfo = NULL,
|
/frameworks/av/media/libmedia/ |
H A D | IAudioPolicyService.cpp | 151 const audio_offload_info_t *offloadInfo) 161 if (offloadInfo == NULL) { 165 data.write(offloadInfo, sizeof(audio_offload_info_t)); 181 const audio_offload_info_t *offloadInfo) 219 if (offloadInfo == NULL) { 223 data.write(offloadInfo, sizeof(audio_offload_info_t)); 841 audio_offload_info_t offloadInfo; local 843 data.read(&offloadInfo, sizeof(audio_offload_info_t)); 850 hasOffloadInfo ? &offloadInfo : NULL); 876 audio_offload_info_t offloadInfo; local 145 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 171 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 | AudioTrack.cpp | 190 const audio_offload_info_t *offloadInfo, 205 offloadInfo, uid, pid, pAttributes, doNotReconnect); 220 const audio_offload_info_t *offloadInfo, 234 sharedBuffer, false /*threadCanCallJava*/, sessionId, transferType, offloadInfo, 280 const audio_offload_info_t *offloadInfo, 419 // Make copy of input parameter offloadInfo so that in the future: 422 if (offloadInfo != NULL) { 423 mOffloadInfoCopy = *offloadInfo; 178 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, uint32_t notificationFrames, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect) argument 208 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, uint32_t notificationFrames, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect) argument 266 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, uint32_t notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect) argument
|
H A D | AudioSystem.cpp | 755 const audio_offload_info_t *offloadInfo) 759 return aps->getOutput(stream, samplingRate, format, channelMask, flags, offloadInfo); 772 const audio_offload_info_t *offloadInfo) 778 flags, selectedDeviceId, offloadInfo); 750 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 762 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
|
/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); 597 const audio_offload_info_t *offloadInfo);
|
H A D | AudioPolicyManager.cpp | 652 const audio_offload_info_t *offloadInfo) 661 flags, offloadInfo); 674 const audio_offload_info_t *offloadInfo) 737 flags, offloadInfo); 754 const audio_offload_info_t *offloadInfo) 778 if (offloadInfo != NULL) { 779 config.offload_info = *offloadInfo; 876 if ((profile->mFlags & AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD) && !offloadInfo) { 886 offloadInfo = &defaultOffloadInfo; 897 if (offloadInfo ! 647 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 664 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 746 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 2060 isOffloadSupported(const audio_offload_info_t& offloadInfo) argument [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.h | 100 const audio_offload_info_t *offloadInfo = NULL,
|
H A D | MediaPlayerService.cpp | 1538 const audio_offload_info_t *offloadInfo, 1546 // offloadInfo must be present if offload flag is set 1548 ((cb == NULL) || (offloadInfo == NULL))) { 1663 offloadInfo, 1533 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
|