Description
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:
-
AudioRawData
does 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. Ireinterpret_cast
this toint16_t
which gives me 320 samples of 16-bit audio. I filter the data for the channel provided inAudioRawData::GetChannelNum()
, which gives me 160 samples.AudioRawData::GetSampleRate
gives me 32000. However, the data sounds better when played at 16kHz. Am I doing this right?
Which Windows Meeting SDK version?
v5.10.6.1639
Device (please complete the following information):
- Device: MSI GS66 Stealth
- OS: Windows 10
Additional context
Add any other context about the problem here.