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: Stéphane Letz <email@hidden>
- Date: Tue, 20 Apr 2010 14:41:16 +0200
Le 20 avr. 2010 à 13:32, Paul Sanders a écrit :
> > What happens exactly for the application, when a real device is unplugged for instance?
> > Does it receive the "kAudioDevicePropertyDeviceIsAlive" first? then "kAudioHardwarePropertyDevices" ?
>
> Whatever the answer to that question, I think you should be sending kAudioDevicePropertyDeviceIsAlive anyway. It is much more convenient for an app to be told 'the device you are using has gone away' than 'some device has appeared or disappeared, you had better check whatever devices you are using to see if they are still there'. And anyway, the answer is probably: it depends.
>
> Also: http://lists.apple.com/archives/Coreaudio-api/2003/Jun/msg00334.html
>
> But maybe we should fix our software too.
>
> I think JACK is very cool.
>
> Paul Sanders
> http://www.alpinesoft.co.uk
>
Well I checked the code again and actually the kAudioDevicePropertyDeviceIsAlive property is sent by JackRouter when JACK server stops. Don't you see it in your code?
Stephane _______________________________________________
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