• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: New Sample: ExtAudioFile/Recording
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New Sample: ExtAudioFile/Recording


  • Subject: Re: New Sample: ExtAudioFile/Recording
  • From: "tahome izwah" <email@hidden>
  • Date: Fri, 21 Jul 2006 07:43:08 +0200

Hi Kevin,

thanks! That helps a lot.

One more question if you don't mind: how do I get the example to
record in WAV file format? If I change line 139 in
DCAudioFileRecorder.cpp from kAudioFileM4AType to kAudioFileWAVEType
(or any other format) I get the error

[Session started at 2006-07-21 07:28:53 +0200.]
ExtAudioFileCreateNew FAILED! 1718449215 'fmt?'
Recording stoped.

I'm certain that I am missing something related to the corresponding
AudioStreamBasicDescription but I don't know where to look, can you
help?

Also, when stopping recording I get the "Recording stoped." [sic!]
message twice, I'm not sure that this means something. Note also that
the example doesn't overwrite an existing audio file, so you can
record only once for each file that you select.

Thanks again,
--th




2006/7/20, Kevin Avila <email@hidden>:
With all the recent posts inquiring about the ExtAudioFile API and/or
recording audio I've written a simple example that demonstrates both.
Introducing RecordAudioToFile. As always, comments and feedback
greatly appreciated.

http://developer.apple.com/samplecode/RecordAudioToFile/

Kevin Avila
DTS Audio Engineer
World Wide Developer Relations
Apple Computer, Inc.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: New Sample: ExtAudioFile/Recording
      • From: Doug Wyatt <email@hidden>
References: 
 >New Sample: ExtAudioFile/Recording (From: Kevin Avila <email@hidden>)

  • Prev by Date: Re: proper way to disconnect AUs
  • Next by Date: Audio data format and file type - how to match?
  • Previous by thread: New Sample: ExtAudioFile/Recording
  • Next by thread: Re: New Sample: ExtAudioFile/Recording
  • Index(es):
    • Date
    • Thread