Merge "APM: Reject attempts to use DEEP_BUFFER in openDirectOutput" into main