You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(void)microphone:(EZMicrophone *)microphone
hasBufferList:(AudioBufferList *)bufferList
withBufferSize:(UInt32)bufferSize
withNumberOfChannels:(UInt32)numberOfChannels
{
//
// Getting audio data as a buffer list that can be directly fed into the
// EZRecorder or EZOutput. Say whattt...
//
AudioBuffer audioBuffer = bufferList->mBuffers[0];
float* frame = (float*)audioBuffer.mData;
[self apppendAdpcmData:[NSData dataWithBytes:frame length:audioBuffer.mDataByteSize] toFile:@"luck.pcm"];
}
luck.pcm is noise.
The text was updated successfully, but these errors were encountered:
(void)microphone:(EZMicrophone *)microphone
hasBufferList:(AudioBufferList *)bufferList
withBufferSize:(UInt32)bufferSize
withNumberOfChannels:(UInt32)numberOfChannels
{
//
// Getting audio data as a buffer list that can be directly fed into the
// EZRecorder or EZOutput. Say whattt...
//
AudioBuffer audioBuffer = bufferList->mBuffers[0];
float* frame = (float*)audioBuffer.mData;
[self apppendAdpcmData:[NSData dataWithBytes:frame length:audioBuffer.mDataByteSize] toFile:@"luck.pcm"];
}
luck.pcm is noise.
The text was updated successfully, but these errors were encountered: