Re: How to detect Audio device add and remove
Re: How to detect Audio device add and remove
- Subject: Re: How to detect Audio device add and remove
- From: Luke Bellandi <email@hidden>
- Date: Fri, 20 Jun 2003 17:08:01 -0700
Jinnai,
You can use the hardware property listener api's in
<CoreAudio/AudioHardware.h>
AudioHardwareAddPropertyListener (...)
Register for kAudioHardwarePropertyDevices notifications. Your
callback function will get called every time the device list in the
system changes (when devices are connected or disconnected.)
Luke
On Thursday, June 19, 2003, at 02:05 PM, Nobuyasu Jinnai/神内伸恭 wrote:
>
Dir sir,
>
>
I must detect Audio device plugged or unplugged.
>
How can I do that?
>
>
# I am very sorry for anytime I ask questions.
>
>
Best regards,
>
>
--Jinnai
>
_______________________________________________
>
coreaudio-api mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.