Mobile-UXSDK-Beta-iOS icon indicating copy to clipboard operation
Mobile-UXSDK-Beta-iOS copied to clipboard

Extracting PCM Audio data from Files

Open weinzach opened this issue 4 years ago • 0 comments

Hello,

I'm looking at the https://github.com/dji-sdk/Mobile-UXSDK-Beta-iOS/blob/master/UXSDKCore/UXSDKCore/Audio/DUXBetaAudioFilePCMParser.m to integrate into my application. What specific file is supposed to be passed to it? I've tried AIF and WAV files (Mono, 44.1KHz, 16bit PCM) to pace the data to the drone from the pcmParser callback but the audio in the drone is played too quick and choppy. Near double the rate of the original file. Any ideas on what I'm seeing? Thanks.

weinzach avatar Feb 24 '21 20:02 weinzach