Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 12-21-2009, 07:50 PM   #1 (permalink)
iPhone Developer
 
Join Date: Aug 2009
Posts: 64
Post cannot record audio when reaches AudioFileCreateWithURL

Hi guys,
latel i am having some trouble with recording audio. i have been following the "Trails in the Sand" guide. currently i have trouble with the following lines in part 5 of the tutorial:

Code:
status = AudioFileCreateWithURL(fileURL,
                kAudioFileAIFFType,
                &recordState.dataFormat,
                kAudioFileFlags_EraseFile,
                &recordState.audioFile);
i think that this is where the file is created along with parameters about the file type and some other data. i can build the project but when i run the app, i cannot get past that.
note: i have a mic plugged in and i tested it by using the voice memos app.
Any help is appreciated!
__________________
If I helped you in any way, please help me by checking out my apps:

iPower Your Device --- Charge Up your device!

(FREE)


losingSkillz is offline   Reply With Quote
Reply

Bookmarks

Tags
audio, audio aiff, audio file, record, voice memos

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 275
20 members and 255 guests
14DEV, ADY, ArtieFufkin10, Dani77, HemiMG, IphoneSdk, jakerocheleau, JasonR, jimbo, macquitzon216, MACralik, NSeven, prchn4christ, Rudy, silverwiz, spiderguy84, Sunny46
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,767
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:57 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0