¡@

Home 

2014/10/15 ¤U¤È 10:11:34

iphone Programming Glossary: mrecordformat.mchannelsperframe

Data format from recording using Audio Queue framework

http://stackoverflow.com/questions/3963827/data-format-from-recording-using-audio-queue-framework

size mRecordFormat.mSampleRate couldn't get hardware sample rate size sizeof mRecordFormat.mChannelsPerFrame XThrowIfError AudioSessionGetProperty kAudioSessionProperty_CurrentHardwareInputNumberChannels size mRecordFormat.mChannelsPerFrame.. XThrowIfError AudioSessionGetProperty kAudioSessionProperty_CurrentHardwareInputNumberChannels size mRecordFormat.mChannelsPerFrame couldn't get input channel count mRecordFormat.mFormatID inFormatID if inFormatID kAudioFormatLinearPCM if we want pcm default.. 16 mRecordFormat.mBytesPerPacket mRecordFormat.mBytesPerFrame mRecordFormat.mBitsPerChannel 8 mRecordFormat.mChannelsPerFrame mRecordFormat.mFramesPerPacket 1 And here's part of the code which actually sets it up SetupAudioFormat kAudioFormatLinearPCM..

Recording mp3 instead of caf file

http://stackoverflow.com/questions/9399019/recording-mp3-instead-of-caf-file

size mRecordFormat.mSampleRate couldn't get hardware sample rate size sizeof mRecordFormat.mChannelsPerFrame XThrowIfError AudioSessionGetProperty kAudioSessionProperty_CurrentHardwareInputNumberChannels size mRecordFormat.mChannelsPerFrame.. XThrowIfError AudioSessionGetProperty kAudioSessionProperty_CurrentHardwareInputNumberChannels size mRecordFormat.mChannelsPerFrame couldn't get input channel count mRecordFormat.mFormatID inFormatID if inFormatID kAudioFormatLinearPCM if we want pcm.. 16 mRecordFormat.mBytesPerPacket mRecordFormat.mBytesPerFrame mRecordFormat.mBitsPerChannel 8 mRecordFormat.mChannelsPerFrame mRecordFormat.mFramesPerPacket 1 void AQRecorder StartRecord CFStringRef inRecordFile int i bufferByteSize UInt32 size CFURLRef..