• 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: AudioQueueNewOutput return value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioQueueNewOutput return value


  • Subject: Re: AudioQueueNewOutput return value
  • From: Roland Silver <email@hidden>
  • Date: Tue, 29 Apr 2008 08:19:33 -0600

If the error is indeed "kAudioConverterErr_FormatNotSupported", it presumably refers to parameter #5 of the AudioQueueNewOutput call:
OSStatus status = AudioQueueNewOutput( //create the queue
&ASBDesc, //param 1: the data format of the audio to play
AQSCallback, //param 2: my callback function
&callbackData, //param 3: the custom data struct the callback needs: up to me
NULL, //param 4: call callback on an AQ internal thread
kCFRunLoopCommonModes, //param 5: The current run loop 
0, //param 6: reserved fur future use; must be 0
&queue //param 7: the newly created playback audio queue
);
but note the description of AudioQueueNewOutput in "AudioQueueServicesReference" (page 20):
OSStatus AudioQueueNewInput (
const AudioStreamBasicDescription *inFormat,
AudioQueueInputCallback inCallbackProc,
void *inUserData,
CFRunLoopRef inCallbackRunLoop,
CFStringRef inCallbackRunLoopMode,
UInt32 inFlags,
AudioQueueRef *outAQ
);
Parameters
...
inCallbackRunLoopMode
The run loop mode in which to call the callback. Typically, you pass kCFRunLoopCommonModes.

... kCFRunLoopCommonModes is indeed Parameter #5 of my call of AudioQueueNewOutput.

Any ideas?
--------------------------------------
On 2008Apr29, at 06:44, Brian Whitman wrote:

0x666D743F = 'fmt?' = kAudioConverterErr_FormatNotSupported

On Apr 29, 2008, at 1:14 AM, Roland Silver wrote:

1718449215


Roland Silver
email@hidden



 _______________________________________________
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

  • Follow-Ups:
    • Re: AudioQueueNewOutput return value
      • From: Brian Whitman <email@hidden>
References: 
 >AudioQueueNewOutput return value (From: Roland Silver <email@hidden>)
 >Re: AudioQueueNewOutput return value (From: Brian Whitman <email@hidden>)

  • Prev by Date: Re: AudioQueueNewOutput return value
  • Next by Date: Re: AudioQueueNewOutput return value
  • Previous by thread: Re: AudioQueueNewOutput return value
  • Next by thread: Re: AudioQueueNewOutput return value
  • Index(es):
    • Date
    • Thread