Re: bluetooth headset and recording
Re: bluetooth headset and recording
- Subject: Re: bluetooth headset and recording
- From: Doug Wyatt <email@hidden>
- Date: Wed, 8 Feb 2006 12:20:36 -0800
On Feb 8, 2006, at 11:53, Olivier Destrebecq wrote:
I'm trying to record audio coming through the input. In this
particular instance the input is a bluetooth headset (this code
works with imic, isight, line in and some other USB input). I'm am
recording straight to AAC, maybe that would be the problem, but i
would assume that it should not cause any problem.
yes, the way CAAudioFileRecorder works, it's buffering up the input
and encoding/saving the file on a work thread
Also note that i'm setting an encoding bit rate for the converter
to 32000. This fails when called on the bluetooth input. How can i
know what value are legal to pass in there? Would that be the cause
of the problem?
The source sample rate for Bluetooth is probably 8000 Hz; it could be
that 32 kbps is too high a bit rate for such a low sample rate. I'll
let others elaborate on that.
The crash looks like it's in the AAC encoder. If you want to send me
a full crash report (especially need to see library load addresses,
and the ppc registers may help) we can investigate that.
Doug
--
Doug Wyatt
Core Audio, Apple
_______________________________________________
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