• 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: How to access the output stream in AUGraph
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to access the output stream in AUGraph


  • Subject: Re: How to access the output stream in AUGraph
  • From: Sanoj Nambi <email@hidden>
  • Date: Thu, 24 Jun 2010 15:50:51 -0500

Thanks for letting me know about the CAAudioUnitOutputCapturer.h.It made my life easy.I did invoke the start and stop function defined in the CAAudioUnitOutputCapturer.h however I cannot play the file.It seems the file is getting created with some data in it.But I cannot play the file.I used .aif as the output file type with following desp.

anASBD.mFormatID = kAudioFormatLinearPCM;

anASBD.mFormatFlags = kAudioFormatFlagIsSignedInteger |

kAudioFormatFlagIsBigEndian | kAudioFormatFlagIsPacked;

anASBD.mSampleRate = 44100;

anASBD.mChannelsPerFrame = 2;

anASBD.mFramesPerPacket = 1;

anASBD.mBytesPerPacket=anASBD.mChannelsPerFrame * sizeof (SInt16);

anASBD.mBytesPerFrame =anASBD.mChannelsPerFrame * sizeof (SInt16);

anASBD.mBitsPerChannel = 16;


captor=new CAAudioUnitOutputCapturer(mMixer, (CFURLRef)url1, kAudioFileAIFFType, anASBD);

mMixer-Mixer Audio Unit

url1-output file url



is the AudioStreamBasicDescription correct for the aif file.


Also I am still using RemoteIO AU instead of GenericOutput.Does that make any difference?


Regards,

Nambi

 _______________________________________________
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: How to access the output stream in AUGraph
      • From: William Stewart <email@hidden>
  • Prev by Date: Problem with AudioQueueOfflineRender in iOS4
  • Next by Date: Re: QuickTime movie audio samples access on iOS
  • Previous by thread: Re: How to access the output stream in AUGraph
  • Next by thread: Re: How to access the output stream in AUGraph
  • Index(es):
    • Date
    • Thread