Re: How to record input and output sound into one file?
Re: How to record input and output sound into one file?
- Subject: Re: How to record input and output sound into one file?
- From: Jens Alfke <email@hidden>
- Date: Wed, 11 Feb 2009 07:37:42 -0800
On Feb 11, 2009, at 1:37 AM, Macarov Anatoli wrote: I can't firgure it out, help! Where in this code is indicated recording of microphone
Here:
// Select the default input device param = sizeof(AudioDeviceID); err = AudioHardwareGetProperty(kAudioHardwarePropertyDefaultInputDevice, ¶m, &fInputDeviceID);
, and what is to be changed for recording from speakers?
Um, you can't record from speakers. Speakers play sound, they don't receive it.
Are you asking about selecting a different input device? Look at that code above. If there's a default input device, maybe there are other ones. And maybe there are other functions nearby AudioHardwareGetProperty that will let you find the others? Try searching by yourself before giving up.
—Jens |
_______________________________________________
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