Re: AudioConverter in Realtime
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.