March 17th, 2012, 05:07 PM
Which endian CoreAudio API uses as audio buffer ?
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.
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 ?
March 20th, 2012, 01:19 AM
How to treat audio data buffer on Core Audio API ?
sorry, I'll fix my post title.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.