I've testing microphone capturing by Core Audio Interfaces and mmio-API.

- 2channel (stereo)
- 16bit per channel

I can capture and save audio as .wav format then I checked buffer values by write these data to CSV file like below.

ofstream cs("pcm.csv");
short *p = (short*)captureBuffer;
for( int i = 0; i < capturer->BytesCaptured(); i+=4 )
{
cs << *p++ << "," << *p++ << endl;
}

PCM data that was captured by mmio-API seems as oscillating wave on CSV data, but PCM data that was retrieved by IAudioCaptureClient::GetBuffer did'nt seems oscillating wave.

How to treat audio data of Core Audio API ?