Re: Getting Default Output Device gives a strange answer
Re: Getting Default Output Device gives a strange answer
- Subject: Re: Getting Default Output Device gives a strange answer
- From: Andrew Kimpton <email@hidden>
- Date: Tue, 14 Nov 2006 15:11:16 -0500
Quoting Jeff Moore <email@hidden>:
A value of 0 for an AudioDeviceID is defined in AudioHardware.h to be
kAudioDeviceUnknown. In this context, it is to be taken to mean that
there is currently no device capable and/or willing to be the default
device currently.
Also, not having a default device when asked is not an API error, hence
no error code will be returned.
Ok - that makes sense - but leads to the next question :
Under what circumstances would I not have an output device on an Intel
Mac Mini with only it's built in audio hardware ? is it related to a
previously aborted Hog mode state ? Is there a programatic recovery
method or must I (and any user in a similar state) reboot (or run AMS
to reset things ?)
Andrew 8-)
_______________________________________________
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