• 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
Audio File writing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Audio File writing


  • Subject: Audio File writing
  • From: sheen mac <email@hidden>
  • Date: Thu, 2 Aug 2007 10:51:56 -0700 (PDT)

Hi All,

I am developing a audio file writing application based on RecordAudioToFile
code.Can I use this fOutputFormat as clientData format and gAACFormat
as file format ?.I tried based on this but it not working.

Waiting for your valuable suggestion.

Thanks In Advance,
Sheen


    fOutputFormat.mSampleRate = 44100;
    fOutputFormat.mFormatID = kAudioFormatLinearPCM;
    fOutputFormat.mFormatFlags = kAudioFormatFlagIsBigEndian | kAudioFormatFlagIsSignedInteger | kAudioFormatFlagIsPacked;
    fOutputFormat.mBytesPerPacket = fOutputFormat.mBytesPerFrame = fDeviceFormat.mChannelsPerFrame * sizeof(SInt16);
    fOutputFormat.mFramesPerPacket = 1;
    fOutputFormat.mChannelsPerFrame = fDeviceFormat.mChannelsPerFrame;
    fOutputFormat.mBitsPerChannel = 16;

AudioStreamBasicDescription    gAACFormat = {44100.0, kAudioFormatMPEG4AAC, kAudioFormatFlagIsBigEndian, 0, 1024, 0, 2, 0, 0};



Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.
 _______________________________________________
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

  • Prev by Date: Audio File writing
  • Next by Date: best audiofile API?
  • Previous by thread: Re: Audio File writing
  • Next by thread: best audiofile API?
  • Index(es):
    • Date
    • Thread