Re: Capturing currently played audio using CoreAudio on Mac
Re: Capturing currently played audio using CoreAudio on Mac
- Subject: Re: Capturing currently played audio using CoreAudio on Mac
- From: "Paul Sanders" <email@hidden>
- Date: Mon, 19 Apr 2010 21:05:22 +0100
Just to clarify: we are looking for a
kAudioDevicePropertyDeviceIsAlive notification on the device(s)
we are accessing. Then, when we get that, if
AudioDeviceGetProperty returns false we stop and clean up. We
don't look at kAudioHardwarePropertyDevices.
What happens with JACK, probably, is that when the JACK server
stops our IOProc is no longer called. Hence we stall. If we
were to get a kAudioDevicePropertyDeviceIsAlive notification and
a few milliseconds to process it, that problem should go away.
Paul Sanders.
----- Original Message -----
From: "Jeff Moore" <email@hidden>
To: "CoreAudio API" <email@hidden>
Sent: Monday, April 19, 2010 8:34 PM
Subject: Re: Capturing currently played audio using CoreAudio on
Mac
The kAudioHardwarePropertyDevices notification isn't in your
hands. That's what the HAL sends whenever a new device shows up
on the system or an existing device goes away. So, if the JACK
plug-in is making a device appear or disappear during some
operation, then this notification is going to be seen by all
processes.
It is probably a bug in the app if its playback glitches when a
device not being used appears or disappears.
_______________________________________________
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