• 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: Sun, 6 Jul 2008 09:04:51 -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?

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

  • Prev by Date: Re: Stopping actions mid stream
  • Next by Date: Re: A simple 'Device Through' app (need some help).
  • Previous by thread: Re: Stopping actions mid stream
  • Next by thread: help!
  • Index(es):
    • Date
    • Thread