Can someone explain how to get data stored in a pointer and get an address that is stored in that pointer, then get the data from the address?
I cannot figure out how to store the raw audio data into a file every time I run it the data accumulating in the file is low. The function in question is IAudioCaptureClient::GetBuffer()
Here is my code: https://github.com/.../MessingAroundWithAudio/Source.cpp
Here is the api reference: https://docs.microsoft.com/.../coreaudio/capturing-a-stream
Do I need the IAudioClientRenderClient::GetBuffer() to read the audio packet? I can't seem to find any reference in this whole section to audio packet structure if that is indeed the case.