Re: Get selectRecordInput to show output channels in "input" pop-up
Re: Get selectRecordInput to show output channels in "input" pop-up
- Subject: Re: Get selectRecordInput to show output channels in "input" pop-up
- From: Jeff Moore <email@hidden>
- Date: Mon, 5 Dec 2005 14:47:34 -0800
If you want to get your hands on the data after it has been handed
off to the hardware, then you are out of luck. Mac OS X does not
provide an API for doing this.
That said, chances are there is a way to do what you want, but it's
not at all clear from what you've said so far what it is exactly that
you want to do. Perhaps you should start with that and we can
hopefully point you in the right direction.
On Dec 5, 2005, at 12:26 PM, James Udo Ludtke wrote:
What I want to do, is to modify my application to create a sound
file of the sound stream generated within the application. I was
only using WhackedTV to learn how to do that, and possible re-use
some of the code from WhackedTV.
If coreaudio does not let me write a file from an output device
then I would have to direct the sound stream I generate into an
input device to be able to record it.
My present application selects the output device for its sound
stream using:
err = AudioHardwareGetProperty
(kAudioHardwarePropertyDefaultOutputDevice, &count, (void *)
&device);
and the sound, as expected, appears in line out.
However, when I tried to direct my sound stream to an input device
using:
err = AudioHardwareGetProperty
(kAudioHardwarePropertyDefaultInputDevice, &count, (void *) &device);
the programme compiles and runs without an error, but the sound
still appears only at the line out device and not at the input device.
--
Jeff Moore
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