• 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
problem with call of AudioQueueEnqueueBuffer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with call of AudioQueueEnqueueBuffer


  • Subject: problem with call of AudioQueueEnqueueBuffer
  • From: Roland Silver <email@hidden>
  • Date: Mon, 7 Jul 2008 14:07:26 -0600

In my program, AQSinewave, 
The call to

status = AudioQueueEnqueueBuffer(

queue,

buffer,

inNumPacketDescs,

inPacketDescs );

where

AudioQueueRef queue;

AudioQueueBufferRef buffer;

UInt32 inNumPacketDescs = 0;

const AudioStreamPacketDescription *inPacketDescs = NULL;

resulted in status = -6686,

but the preceding call

status = AudioQueueAllocateBuffer(

queue,

gCallbackData.bufferByteSize,

&buffer

);

Resulted in status = 0 (noErr)
So it looks like the queue and buffer args of AudioQueueEnqueueBuffer are OK.

What's wrong?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: problem with call of AudioQueueEnqueueBuffer
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Resource File Targets & Executables
  • Next by Date: Re: problem with call of AudioQueueEnqueueBuffer
  • Previous by thread: Re: Resource File Targets & Executables
  • Next by thread: Re: problem with call of AudioQueueEnqueueBuffer
  • Index(es):
    • Date
    • Thread