Reading audio data from device as kAudioFormatULaw
Reading audio data from device as kAudioFormatULaw
- Subject: Reading audio data from device as kAudioFormatULaw
- From: Matt Shepherd <email@hidden>
- Date: Mon, 21 Nov 2005 00:40:10 -0500
I'm working on an application that should read audio data (sampling
rate 8 kHz, mu-law format) from the PowerBook's built-in microphone
and then send it out over the network.
I've managed to find some documention on how to use
AudioDeviceAddIOProc and AudioDeviceStart. I believe that I have that
working correctly with the default format. I've tried changing the
format property on the stream and the device to kAudioFormatULaw, but
no luck. I only get unsupported format errors.
Is it possible to read the data this way? Is there different way to
set the format?
Any help is appreciated.
_______________________________________________
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