ima4

Recording Mono on iPhone in IMA4 format

好久不见. 提交于 2019-12-22 00:33:36
问题 I'm using the SpeakHear sample app on Apple's developer site to create an audio recording app. I'm attempting to record directly to IMA4 format using the kAudioFormatAppleIMA4 system constant. This is listed as one of the usable formats, but every time I set up my audio format variable and pass and set it, I get a 'fmt?' error. Here is the code I use to set up the audio format variable: #define kAudioRecordingFormat kAudioFormatAppleIMA4 #define kAudioRecordingType kAudioFileCAFType #define

Decoding ima4 audio format

て烟熏妆下的殇ゞ 提交于 2019-12-20 20:19:21
问题 To reduce the download size of an iPhone application I'm compressing some audio files. Specifically I'm using afconvert on the command line to change .wav format to .caf format w/ ima4 compression. I've read this (wooji-juice.com) awesome post about this exact topic. I'm having trouble w/ the "decoding ima4 packets" step. I've looked at their sample code and I'm stuck. Please help w/ some pseudo code or sample code that can guide me in the right direction. Thanks! Additional info : Here is

Recording Mono on iPhone in IMA4 format

你说的曾经没有我的故事 提交于 2019-12-04 22:52:23
I'm using the SpeakHear sample app on Apple's developer site to create an audio recording app. I'm attempting to record directly to IMA4 format using the kAudioFormatAppleIMA4 system constant. This is listed as one of the usable formats, but every time I set up my audio format variable and pass and set it, I get a 'fmt?' error. Here is the code I use to set up the audio format variable: #define kAudioRecordingFormat kAudioFormatAppleIMA4 #define kAudioRecordingType kAudioFileCAFType #define kAudioRecordingSampleRate 16000.00 #define kAudioRecordingChannelsPerFrame 1 #define