Part 4 of this series talked about writing recorded audio data to a file. In this article we will set create a very simple user interface so we can control the audio functions. We are going to add a UILabel control that will display text corresponding to the current state of the application. We’ll also [...]
Posts Tagged ‘SDK’
Exploring iPhone Audio Part 4
April 2nd, 2008
Richard In Part 3 of this series of articles we created the AudioInputCallback function that does nothing more than log that it is being called. In this article we’ll learn how to create an audio file in the Document directory of the iPhone flash memory and write audio data to the file. First of all we’ll [...]
iPhone Developer Program
March 30th, 2008
Richard I’m not naming any names but somebody I know got the following email from Apple: Dear XXXXXXXXXXXXX, Thank you for applying to the iPhone Developer Program. We have reviewed the information you submitted when you initiated your program enrollment request and we are ready to instruct you on the steps required to complete the enrollment [...]
Where is the iPhone Simulator Filesystem Stored?
March 29th, 2008
Richard While working on the Exploring iPhone Audio Trail I wanted to look at the audio files that I was recording. My application is getting it’s sandboxed Document directory using the following code: 1 2 3 4 NSArray *paths = NSSearchPathForDirectoriesInDomains( NSDocumentDirectory, NSUserDomainMask, YES); NSString* docDir = [paths objectAtIndex:0]; The first statement returns an array of [...]
Problems with iPhone SDK Beta 2
March 29th, 2008
Richard I’ve been having lots of problems with Xcode 3.1 after upgrading to the iPhone SDK beta 2. Xcode is crashing a lot. It has locked up my entire system a couple times forcing me to have to power off and back on. My MacBook Pro has been rock solid up to this point with no [...]
Beta 2 Upgrade
March 27th, 2008
Richard Just a quick note. I was able to install the new Beta 2 version of the SDK without having to uninstall the old Beta 1 version of the SDK. The readme file didn’t say one way or the other. I haven’t seen any problems related to this so I guess it was okay to do [...]
iPhone SDK Beta 2 Breaks Beta 1 Projects
March 27th, 2008
Richard If you try to build an iPhone application created with the Beta 1 SDK using the newly released Beta 2 SDK you will get an error. Apple has changed the name of the iPhone SDK from Aspen which I assume was an internal code name. To fix this issue you’ll have to go to the [...]
New iPhone SDK Available for Download
March 27th, 2008
Richard Version 9a2151 of the iPhone SDK is available from the Apple iPhone Developer web site. This version includes the much awaited Interface Builder tool for building graphical interfaces visually.
Exploring iPhone Audio Part 3
March 26th, 2008
Richard In the last article we learned how to open a new audio input queue, allocate some buffers and enqueue the buffers for recording. Now we are going to see an extremely simple audio input callback function and learn how to start recording. 1 2 3 4 5 6 7 8 9 10 11 12 13 [...]
Exploring iPhone Audio Part 2
March 25th, 2008
Richard Last time we created the RecordState structure to keep track of the recording state. We also configured the recording parameter to record 8000 samples per second, 16 bit, mono audio. Now we can create the audio output queue with the following call: 1 2 3 4 5 6 7 8 OSStatus status = AudioQueueNewInput( &recordState.dataFormat, [...]



Posted in
Tags:



