• 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: AudioConverter in Realtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioConverter in Realtime


  • Subject: Re: AudioConverter in Realtime
  • From: email@hidden
  • Date: Thu, 7 Aug 2003 22:43:52 EDT

I have an iBook and the built in hardware only has 2 channel 44 kHz I/O.
I'm playing floting point, PCM data. When I call
AudioDeviceSetProperty(kAudioDevicePropertyStreamFormat)
with a sample rate other than 44100.0 for the output I get an '!dat' errror.

When I hook up an iMic I don't get the error.

When I call AudioDeviceGetPropertyInfo(kAudioDevicePropertyStreamFormats),
it returns a sample rate of 0.0 for the iMic and 44100.0 for the built in
hardware.

thanks
Jeff


In a message dated 08/07/03 5:47:51 PM, email@hidden writes:
>
>
> >The HAL Output units (which inc the Default and System output) use a
> >converter internally to convert from your input format (which as long
> >as it is a PCM format, can be *anything* (nearly)) to the device's
> >format
> >
> >In the SDK there's some kinda ugly code in DefaultOutput that shows you
> >different options you can entertain here.
> >
> >Bill
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: AudioConverter in Realtime
      • From: Benedict Singer <email@hidden>
  • Prev by Date: ThreadSafe Note Scheduling Code (Was Re: Threading)
  • Next by Date: SetParameter at note scope?
  • Previous by thread: Re: AudioConverter in Realtime
  • Next by thread: Re: AudioConverter in Realtime
  • Index(es):
    • Date
    • Thread