• 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
Why a 'prop' error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why a 'prop' error?


  • Subject: Why a 'prop' error?
  • From: Stevo Brock <email@hidden>
  • Date: Wed, 5 Nov 2008 10:14:33 -0800

We're seeing a 'prop' error when setting the converter quality that we haven't seen before. Maybe somebody (Apple?) can explain why we're getting this error.

We create a new AudioConverter with the following:

source
mSampleRate: 48000
mFormatID: lpcm
mFormatFlags: 9
mBytesPerPacket: 8
mFramesPerPacket: 1
mBytesPerFrame: 8
mChannelsPerFrame: 2
mBitsPerChannel: 32
mReserved: 0

dest
mSampleRate: 44100
mFormatID: aac
mFormatFlags: 0
mBytesPerPacket: 1536
mFramesPerPacket: 1024
mBytesPerFrame: 0
mChannelsPerFrame: 2
mBitsPerChannel: 0
mReserved: 0

(note this is the full dest as returned by the AudioConverter).

Then, when calling:
UInt32 u32 = kAudioConverterQuality_Max;
status = AudioConverterSetProperty(converter, kAudioConverterSampleRateConverterQuality, sizeof(UInt32), &u32);


we get a status == 'prop'

This is on OS X 10.5.5, Quicktime 7.5.5, Intel

What are the cases where you can set the kAudioConverterSampleRateConverterQuality property for an AudioConverter and when you can't?

-Stevo Brock
 Head of Development
 Monkey Tools, LLC
 www.monkey-tools.com





_______________________________________________
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: Why a 'prop' error?
      • From: james mccartney <email@hidden>
  • Prev by Date: Playing 4 channels audio on the mac
  • Next by Date: Job opening in New Jersey
  • Previous by thread: Re: Playing 4 channels audio on the mac
  • Next by thread: Re: Why a 'prop' error?
  • Index(es):
    • Date
    • Thread