I am trying to read Raw Audio data using the C++ Meeting SDK using
IZoomSDKAudioRawDataDelegate::onMixedAudioRawDataReceived(AudioRawData* data) and I have some clarifying questions to better support this:
AudioRawDatadoes not provide the total number of channels in the data. By observation, I think it is an interleaved Stereo output. Please confirm if this can vary or will remain the same?
- The Incoming buffer(
AudioRawData::GetBuffer()) is 640 bytes of char* buffer. I
int16_twhich gives me 320 samples of 16-bit audio. I filter the data for the channel provided in
AudioRawData::GetChannelNum(), which gives me 160 samples.
AudioRawData::GetSampleRategives me 32000. However, the data sounds better when played at 16kHz. Am I doing this right?
Which Windows Meeting SDK version?
Device (please complete the following information):
- Device: MSI GS66 Stealth
- OS: Windows 10
Add any other context about the problem here.