AudioQueueNewOutput -50 paramErr
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