• 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
Question about error code returned by AUGraphStart
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about error code returned by AUGraphStart


  • Subject: Question about error code returned by AUGraphStart
  • From: "Brant Sears" <email@hidden>
  • Date: Thu, 23 Mar 2006 14:12:22 -0500
  • Thread-topic: Question about error code returned by AUGraphStart

Hi. I'm calling AUGraphStart and getting an error code of -10867. I have not been able to locate this error code in the header files.

What I'm trying to do is startup an AUGraph so that it will play sound that I have decoded using the freeware iLBC decoder. According to the iLBC specification the decoded audio is "16 bit uniform PCM sampled at 8 kHz".

I am setting up my AudioStreamBasicDescription record in the following manner:

AudioStreamBasicDescription  mDesc;

memset(&mDesc, 0, sizeof(mDesc));

mDesc.mFormatID = kAudioFormatLinearPCM;
mDesc.mFormatFlags = kLinearPCMFormatFlagIsBigEndian;
mDesc.mSampleRate = 8000;
mDesc.mChannelsPerFrame = 1;
mDesc.mFramesPerPacket = 1;
mDesc.mBytesPerPacket = 2;
mDesc.mBytesPerFrame = 2;
mDesc.mBitsPerChannel = 16;

and then I eventually call AUGraphStart and get -10867.

Is the problem having to do with the BitsPerChannel being set wrong?

Thanks.
Brant Sears

<<winmail.dat>>

 _______________________________________________
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: Updating AUBD on the fly...
  • Next by Date: AU Views, 'thng' versus ComponentEntryPoint::Register
  • Previous by thread: Re: Updating AUBD on the fly...
  • Next by thread: AU Views, 'thng' versus ComponentEntryPoint::Register
  • Index(es):
    • Date
    • Thread