• 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
AudioQueueNewOutput -50 paramErr
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioQueueNewOutput -50 paramErr


  • Subject: AudioQueueNewOutput -50 paramErr
  • From: Dennis Christopher <email@hidden>
  • Date: Tue, 27 Jan 2009 09:48:44 -0500

Hi,

I'm trying to pass an lpcm stream into the AudioQueue machinery for playback. However I cant seem to get a parameter that AudioQueueNewOutput likes--it keeps returning -50. I've read the AudioQueue Programming guide. The problem seems to be with the AudioStreamBasicDescription parameter. I am inspecting the stream and setting its values by hand, e.g.--

mSampleRate = 11025
mFormatID = 'lpcm'
mFormatFlags = kLinearPCMFormatFlagIsBigEndian | kLinearPCMFormatFlagIsSignedInteger | kLinearPCMFormatFlagIsPacked
mBytesPerPacket = 5120 mFramesPerPacket = 2560 mBytesPerFrame = 2 mChannelsPerFrame = 1 mBitsPerChannel = 16
Any suggestions would be welcome.
Dennis Christopher
Pixion

 _______________________________________________
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 -50 paramErr
      • From: Doug Wyatt <email@hidden>
    • Re: AudioQueueNewOutput -50 paramErr
      • From: Hamish Allan <email@hidden>
  • Prev by Date: Re: Re: AU processor load
  • Next by Date: Re: AudioQueueNewOutput -50 paramErr
  • Previous by thread: Re: Re: AU processor load
  • Next by thread: Re: AudioQueueNewOutput -50 paramErr
  • Index(es):
    • Date
    • Thread