Loading media/libaudioclient/AudioRecord.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -307,6 +307,8 @@ status_t AudioRecord::set( int32_t maxSharedAudioHistoryMs) { status_t status = NO_ERROR; LOG_ALWAYS_FATAL_IF(mInitialized, "%s: should not be called twice", __func__); mInitialized = true; // Note mPortId is not valid until the track is created, so omit mPortId in ALOG for set. ALOGV("%s(): inputSource %d, sampleRate %u, format %#x, channelMask %#x, frameCount %zu, " "notificationFrames %u, sessionId %d, transferType %d, flags %#x, attributionSource %s" Loading media/libaudioclient/include/media/AudioRecord.h +1 −0 Original line number Diff line number Diff line Loading @@ -740,6 +740,7 @@ private: wp<IAudioRecordCallback> mCallback; sp<IAudioRecordCallback> mLegacyCallbackWrapper; bool mInitialized = false; // Protect against double set // for notification APIs uint32_t mNotificationFramesReq; // requested number of frames between each // notification callback Loading Loading
media/libaudioclient/AudioRecord.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -307,6 +307,8 @@ status_t AudioRecord::set( int32_t maxSharedAudioHistoryMs) { status_t status = NO_ERROR; LOG_ALWAYS_FATAL_IF(mInitialized, "%s: should not be called twice", __func__); mInitialized = true; // Note mPortId is not valid until the track is created, so omit mPortId in ALOG for set. ALOGV("%s(): inputSource %d, sampleRate %u, format %#x, channelMask %#x, frameCount %zu, " "notificationFrames %u, sessionId %d, transferType %d, flags %#x, attributionSource %s" Loading
media/libaudioclient/include/media/AudioRecord.h +1 −0 Original line number Diff line number Diff line Loading @@ -740,6 +740,7 @@ private: wp<IAudioRecordCallback> mCallback; sp<IAudioRecordCallback> mLegacyCallbackWrapper; bool mInitialized = false; // Protect against double set // for notification APIs uint32_t mNotificationFramesReq; // requested number of frames between each // notification callback Loading