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

Local playback


  • Subject: Local playback
  • From: shailesh namjoshi <email@hidden>
  • Date: Thu, 8 Apr 2010 08:55:51 +0530 (IST)

Hi All,

I am writing a module on iPhone and mac book , using audio queue  services. I am currently decoding audio file using our own decoder and getting the linear raw pcm data. If i write that data into a wav file and play using audio queue then it is working excellent . 

But now instead of writing and playing locally , i want to pass that audio frames decoded one by one to a sound card of iPhone for direct play or to the mac's sound card for direct play...how i can achieve that , 


Problem i am facing is filling AudioQueueBufferRef ...which reads the packet from audio file...i dont have audio file ...only have a audio buffer or char *audioData is there with me...

Is this possible using Audio Queue to pass the Audio Buffer directly , I am stuck here...

Can anyone hint me if I am doing wrong or wrong api i am following...

Waiting for a reply,

Thanks , 

Audio Programmer 

 _______________________________________________
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: Distorted playback with AudioUnit on iPhone
  • Next by Date: iPhone SW Decoding Performance of MP3 vs AAC
  • Previous by thread: Distorted playback with AudioUnit on iPhone
  • Next by thread: iPhone SW Decoding Performance of MP3 vs AAC
  • Index(es):
    • Date
    • Thread