The audio captured from my microphone doesn’t seem to playback. I have an intermediate formant that I convert to. Here’s the Basic Description:
memset(&GVIVoiceFormat, 0, sizeof(AudioStreamBasicDescription));
GVIVoiceFormat.mSampleRate = (Float64)GV_SAMPLES_PER_SECOND;
GVIVoiceFormat.mFormatID = kAudioFormatLinearPCM;
GVIVoiceFormat.mFormatFlags = kAudioFormatFlagsNativeEndian|kAudioFormatFlagIsSignedInteger|kAudioFormatFlagIsPacked;
GVIVoiceFormat.mBytesPerPacket = GV_BYTES_PER_SAMPLE;
GVIVoiceFormat.mFramesPerPacket = 1;
GVIVoiceFormat.mBytesPerFrame = GV_BYTES_PER_SAMPLE;
GVIVoiceFormat.mChannelsPerFrame = 1;
GVIVoiceFormat.mBitsPerChannel = GV_BITS_PER_SAMPLE;
Is this format OK to use? It seems like the AudioConverter does not complain about this format. I haven’t got any initialization errors, nor any errors during the conversion.