• 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
Re: AudioConverterNew unknown error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioConverterNew unknown error


  • Subject: Re: AudioConverterNew unknown error
  • From: William Stewart <email@hidden>
  • Date: Mon, 27 Sep 2004 10:57:28 -0700

Take a look at using the CAStreamBasicDescription class in the CA SDK
(PublicUtility)... The way that you are laying out the ASBD here is
incorrect and that class will "do the right thing" for you


Bill


On 26/9/04 2:54 PM, "Malcolm Haylock" <email@hidden> wrote:

> Hi All,
>
> I'm receiving error no. 29759 when I try to create a new audio converter
> between two formats with identical fields apart from mFormatFlags. The
> source and destination fields are:
>
> mSampleRate=44100.0
> mFormatID=lpcm
> mFormatFlags=
>   source:
>          kLinearPCMFormatFlagIsSignedInteger |
>          kLinearPCMFormatFlagIsBigEndian |
>          kLinearPCMFormatFlagIsPacked;
>   destination:
>          kAudioFormatFlagIsNonInterleaved |
>          kAudioFormatFlagIsPacked |
>          kAudioFormatFlagIsBigEndian |
>          kLinearPCMFormatFlagIsFloat
> mBytesPerPacket=32
> mFramesPerPacket=1
> mBytesPerFrame=32
> mChannelsPerFrame=8
> mBitsPerChannel=32
> mReserved=0
>
> All works fine when I remove the kAudioFormatFlagIsNonInterleaved flag
> from the destination.
>
> What is error 29759 and why is this happenning?
>
> Thanks,
> Malcolm Haylock
>  _______________________________________________
> 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

--
mailto:email@hidden
tel: +1 408 974 4056

__________________________________________________________________________
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
__________________________________________________________________________



 _______________________________________________
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

References: 
 >AudioConverterNew unknown error (From: "Malcolm Haylock" <email@hidden>)

  • Prev by Date: Re: AudioConverter strategic decision
  • Next by Date: Re: avoiding VM page swaps for big sample buffers
  • Previous by thread: Re: AudioConverterNew unknown error
  • Next by thread: GUI wrapper for auval
  • Index(es):
    • Date
    • Thread