Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: what does kAudioQueueErr_CannotStart mean?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what does kAudioQueueErr_CannotStart mean?



You need to be using AudioSession
You need to establish a category for yourself that tells the audio system that you want to have audio input 
AudioSession is defined in <AudioToolbox/AudioServices.h>

You also might want to look at <AVFoundation/AVAudioSession.h>
- it is a wrapper around audio session, and is a bit easier to use I think

On Dec 8, 2009, at 6:32 AM, feng ye wrote:

Hi:
I tried to compile an application based on the AudioQueue Service for iPhone, which playback and record simultaneously.
It works fine on iPhoneSimuSDK3.0. but get a kAudioQueueErr_CannotStart when call AudioQueueStart() in iPhoneOS3.0 in device. It seems that the the iPhone device doesn't permit starting rec queue after playback queue has been started.

via google, found many guys are struggling with this issue, but no proper solution.

Is there any restrict of the AudioQueue for Iphone device?Or maybe AudioQueue shouldn't be utilized for both playback and record simultaneously in iPhoneOs3.0?????

Is the problem exist in iphone 3.1 or later?(i have't upgrade my iphone yet)

Is there anybody found a way to solve or take a way around AudioQueue to develop a application with both audio playback and record?

Any feedback is welcome
Thanx!

-- 
BRs
Yefeng.t723h
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: 
 >what does kAudioQueueErr_CannotStart mean? (From: feng ye <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.