New in Audio graph process
Triffort123 opened this issue · 1 comments
Hi ,
I have downloaded novocaine project and trying to implement but i need to do set input for mono and stereo.And need recorded file in Uncompress format at 16 bit rate , so i have set AudioStreamBasicDescription.
AudioStreamBasicDescription outputFileDesc = {thisSamplingRate,kAudioFormatLinearPCM,kLinearPCMFormatFlagIsSignedInteger, 4_thisNumChannels,1,4_thisNumChannels,thisNumChannels,16*thisNumChannels,0};
CheckError(ExtAudioFileCreateWithURL(audioFileRef, kAudioFileCAFType, &outputFileDesc, NULL, kAudioFileFlags_EraseFile, &_outputFile), "Creating file");
Its has also save variable-
self.currentTime = 0.0;
self.latency = .011609977; // 512 samples / ( 44100 samples / sec ) default
So what is the use of latency and currentTime.
Some thing doing wrong because its running on simulator and crashed on iPhone device, which shows the channel 1 means MONO and simulator shows 2 means Stereo.
Please help me and correct me where i am going wrong.
Thanks.
I am going to close this issue because we need to learn more about the audio graph and its format.