Thanks for looking at it
It got resolved with using CFRunloop in the playback audio queue, like this,
OSStatus status = AudioQueueStart(mQueue,NULL);
NSLog(@" Start AudioQueue returns %d",(int)status);
if ( status != noErr) {
NSLog(@"AudioQueueStart Error ");
mIsRunning = TRUE;
}
do { // 5
CFRunLoopRunInMode ( // 6
kCFRunLoopDefaultMode, // 7
0.25, // 8
false // 9
);
} while (mIsRunning);
CFRunLoopRunInMode ( // 10
kCFRunLoopDefaultMode,
1,
false
);
Using this line of code, i can start audioQueue from the thread.