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

AudioConverter


  • Subject: AudioConverter
  • From: David Collins <email@hidden>
  • Date: Wed, 11 Feb 2009 20:57:08 -0600

We are in the process of converting our Windows software to run on the Mac in which we capture audio and video and convert the audio to lpcm for use by our application.  Currently I am using QTCaptureSession to capture the audio and video. I am using the AudioConverter to convert the compressed audio to lpcm.  And I have a problem.  The call to AudioConverterFillComplexBuffer returns !pkd which is I believe is an kAudioConverterErr_RequiresPacketDescriptionsError.  

The source is aac audio with 1024 bytes per frame. for 2 channels  The quantity of data varies with each packet at 44100 samples rate.  The destination rate is 8000 with 32 bits per channel for 2 channels for signed lpcm.  

I am new to this stuff and the documentation is not all that great..  Does anyone have an idea about what I might be doing wrong?  I am providing an AudioStreamPacketDescription array but I still keep getting the error.

David
 _______________________________________________
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: Re: Changing Output Device in Audio Queue Services
  • Next by Date: Re: Loop Audio on iPhone
  • Previous by thread: can System Sound Services and AudioQueues be used together on iPhone?
  • Next by thread: Resume Playback After Interrupt
  • Index(es):
    • Date
    • Thread