Re: Query on ALC_ENUMERATION_EXT
Re: Query on ALC_ENUMERATION_EXT
- Subject: Re: Query on ALC_ENUMERATION_EXT
- From: Eric Wing <email@hidden>
- Date: Thu, 14 Jan 2010 06:30:34 -0800
I assume by "audio input sources", you are referring to devices (and
not "OpenAL sources" which have different meaning in OpenAL).
Are you on iPhone or Mac?
In either case, I am surprised to hear alcIsExtensionPresent is
returning false. It has always returned true for me. Getting useful
device names from the extension has been another matter. You shouldn't
need to install anything extra.
if(alcIsExtensionPresent(NULL, "ALC_ENUMERATION_EXT") == AL_TRUE) {
printf("ALC_ENUMERATION_EXT available");
}
else
{
printf("ALC_ENUMERATION_EXT not available");
}
And according to the OpenAL 1.1 spec:
9.5. ALC_ENUMERATION_EXT
An OpenAL 1.1 implementation will always support the
ALC_ENUMERATION_EXT extension.
Anyhow, on Mac, my experience is that you can only get the default
device name from the query. I blogged about this about a year ago,
though I really need to update the entry because I did receive
feedback from my bug reports and the short story is that my patch
doesn't handle plug-and-play (e.g. USB) devices so it currently falls
short as a full solution.
http://playcontrol.net/ewing/jibberjabber/defective_core_audio_mac_os.html
On iPhone, I don't get any device names back at all. But OpenAL
capture isn't supported on iPhone (currently) anyway. (I do mention
all this in the book I'm coauthoring in which I cover OpenAL
extensively. It will hopefully be done/shipping very soon:
http://tinyurl.com/beginningiphonegamesdev)
-Eric
On 1/12/10, email@hidden
<email@hidden> wrote:
> Hi,
> I am trying to enumerate input audio sources using OpenAL
> alcIsExtensionPresent is always returning false...Do I have to install
> anything to support ALC_ENUMERATION_EXT?
>
> Regards
> Shashi
>
_______________________________________________
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