Local playback
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