From f96607e6c2241e5d280d22de1745095323b65406 Mon Sep 17 00:00:00 2001 From: Jackeagle Date: Mon, 3 Jul 2023 07:00:06 -0400 Subject: [PATCH] GS290: Patch another missing symbol for vtservice Change-Id: I06826fb9b510d9d02ecae669d042085a4b09bd93 --- ims/libshim_vtservice.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/ims/libshim_vtservice.cpp b/ims/libshim_vtservice.cpp index b99bac5..318f58d 100644 --- a/ims/libshim_vtservice.cpp +++ b/ims/libshim_vtservice.cpp @@ -71,4 +71,30 @@ void _ZN7android10MediaMuxerC1EiNS_14MediaMuxerBase12OutputFormatE(void* thisptr void _ZN7android10MediaMuxerC1EiNS0_12OutputFormatE(void* thisptr, int fd, android::MediaMuxer::OutputFormat format) { _ZN7android10MediaMuxerC1EiNS_14MediaMuxerBase12OutputFormatE(thisptr, fd, format); } + +void _ZN7android10AudioTrackC1E19audio_stream_type_tj14audio_format_tjj20audio_output_flags_tPFviPvS4_ES4_i15audio_session_tNS0_13transfer_typeEPK20audio_offload_info_tjiPK18audio_attributes_tbfiRKNSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEE( + void* thisptr, + 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, + android::AudioTrack::callback_t cbf, + void* user, + int32_t notificationFrames, + audio_session_t sessionId, + android::AudioTrack::transfer_type transferType, + const audio_offload_info_t *offloadInfo, + uid_t uid, + pid_t pid, + const audio_attributes_t* pAttributes, + bool doNotReconnect, + float maxRequiredSpeed, + audio_port_handle_t selectedDeviceId, + const std::string& opPackageName) { + _ZN7android10AudioTrackC1E19audio_stream_type_tj14audio_format_tjj20audio_output_flags_tPFviPvS4_ES4_i15audio_session_tNS0_13transfer_typeEPK20audio_offload_info_tjiPK18audio_attributes_tbfi(thisptr, streamType, sampleRate, format, channelMask, frameCount, flags, cbf, + user, notificationFrames, sessionId, transferType, offloadInfo, uid, pid, + pAttributes, doNotReconnect, maxRequiredSpeed, selectedDeviceId); + } } -- GitLab