iphone Programming Glossary: mrecordformat
Data format from recording using Audio Queue framework http://stackoverflow.com/questions/3963827/data-format-from-recording-using-audio-queue-framework sets up the audio queue so you can see how it is configured. void AQRecorder SetupAudioFormat UInt32 inFormatID memset mRecordFormat 0 sizeof mRecordFormat UInt32 size sizeof mRecordFormat.mSampleRate XThrowIfError AudioSessionGetProperty kAudioSessionProperty_CurrentHardwareSampleRate.. so you can see how it is configured. void AQRecorder SetupAudioFormat UInt32 inFormatID memset mRecordFormat 0 sizeof mRecordFormat UInt32 size sizeof mRecordFormat.mSampleRate XThrowIfError AudioSessionGetProperty kAudioSessionProperty_CurrentHardwareSampleRate.. void AQRecorder SetupAudioFormat UInt32 inFormatID memset mRecordFormat 0 sizeof mRecordFormat UInt32 size sizeof mRecordFormat.mSampleRate XThrowIfError AudioSessionGetProperty kAudioSessionProperty_CurrentHardwareSampleRate size mRecordFormat.mSampleRate..
Recording mp3 instead of caf file http://stackoverflow.com/questions/9399019/recording-mp3-instead-of-caf-file but it does not create the file. The code became void AQRecorder SetupAudioFormat UInt32 inFormatID memset mRecordFormat 0 sizeof mRecordFormat UInt32 size sizeof mRecordFormat.mSampleRate XThrowIfError AudioSessionGetProperty kAudioSessionProperty_CurrentHardwareSampleRate.. not create the file. The code became void AQRecorder SetupAudioFormat UInt32 inFormatID memset mRecordFormat 0 sizeof mRecordFormat UInt32 size sizeof mRecordFormat.mSampleRate XThrowIfError AudioSessionGetProperty kAudioSessionProperty_CurrentHardwareSampleRate.. void AQRecorder SetupAudioFormat UInt32 inFormatID memset mRecordFormat 0 sizeof mRecordFormat UInt32 size sizeof mRecordFormat.mSampleRate XThrowIfError AudioSessionGetProperty kAudioSessionProperty_CurrentHardwareSampleRate size mRecordFormat.mSampleRate..
|