• 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: Audio Queue Help.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Queue Help.


  • Subject: Re: Audio Queue Help.
  • From: shailesh namjoshi <email@hidden>
  • Date: Fri, 9 Apr 2010 22:47:13 +0530 (IST)

Actually , My decoded contents getting decoded one by one in the for loop...after initial headers lets say count = 2 , onwards i am getting the audio buffer....

Is it advisable to write the loop in the playerCallback where he gets the data one by one and fill the audio Queue buffer ref ....

WIll this be acceptable ?

Can you suggest me the better place to put this loop so that it is easy for me to pick up the contents better...

Regards,

Audio Programmer.

--- On Fri, 9/4/10, Doug Wyatt <email@hidden> wrote:

From: Doug Wyatt <email@hidden>
Subject: Re: Audio Queue Help.
To: "shailesh namjoshi" <email@hidden>
Cc: email@hidden, email@hidden, "CoreAudio Apple" <email@hidden>
Date: Friday, 9 April, 2010, 9:22 PM


On Apr 8, 2010, at 21:10 , shailesh namjoshi wrote:
Can we play the linear PCM contents directly without writing to a file...

Is this possible in Audio Framework supported in iPhone. I dont want to write it into a file and then play that file using audioQueue.

Sure, in the audio queue examples you're looking at, replace the code that reads from a file into an AudioQueueBufferRef with code that copies audio from somewhere else. Or even better, put your data into audio queue buffers as you decode it.

Doug


 _______________________________________________
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

References: 
 >Re: Audio Queue Help. (From: Doug Wyatt <email@hidden>)

  • Prev by Date: Re: Audio Queue Help.
  • Next by Date: iPad no Analog/Audio input, What are the options?
  • Previous by thread: Re: Audio Queue Help.
  • Next by thread: Does iPhone's iLBC Audio Format support 30ms mode?
  • Index(es):
    • Date
    • Thread