[Openal] Unable to open the device capture ???
wassim_belhadj
wassim_belhadj at topnet.tn
Tue Jun 24 00:51:46 PDT 2008
Is Openal support Multiple Input Device ?
If yes why the alcCaptureOpenDevice return NULL when the Device is Open ?
In fact i init Openal and when i try to record alcCaptureOpenDevice
returns NULL. !!!
I must close the device and reopen it to record sound but sometimes i have
error "Unable toopen the device capture" that's why i asked for
a mean to to force closing all devices.So when I do record I am sure that
I use a usb Microphone as unit for audio playback and recording. ==>
http://www.creative-tn.com/store/images/proplus.jpg
On Mon, 23 Jun 2008 11:45:52 -0400, Jason Daly <jdaly at ist.ucf.edu> wrote:
> Peter Mulholland wrote:
>> Hello wassim_belhadj,
>>
>> Saturday, June 21, 2008, 2:26:48 PM, you wrote:
>>
>>
>>
>>> I noticed that the sound card that I use does not make to record sound
>>> when the device(sound card) is open.
>>> Indeed, alcCaptureOpenDevice me always returns NULL when the device is
>>> opened.
>>> To run the capture I always have to close the device before starting
> the
>>> capture and then reopen again to play the sound like this:
>>>
>> <snip>
>>
>> This suggests that OpenAL isn't properly enumerating multiple input
> devices.
>>
>> >From what I can tell, there is also no way to enumerate available
> devices - a serious oversight in OpenAL!!
>>
>
> You can enumerate devices on any OpenAL 1.1 implementation using this:
>
> ALCchar *deviceList;
>
> deviceList = alcGetString(NULL, ALC_DEVICE_SPECIFIER);
>
> On Windows, this will return a NULL-delimited (double-NULL terminated)
> list of all native OpenAL devices, as well as "Generic Software" and
> "Generic Hardware", which map to the preferred devices as configured in
> the Control Panel. Windows Vista will skip Generic Hardware
> (DirectSound3D is no longer supported on Vista.
>
> If you're using the latest Creative SDK and runtime (or OpenAL-Soft, I
> believe), you can enumerate all devices, which gives you choices like
> "Generic Software on <device>". You can do this with the following
query:
>
> deviceList = alcGetString(NULL, ALC_ALL_DEVICES_SPECIFIER);
>
> You should check to see if the implementation supports the
> ALC_ENUMERATE_ALL_EXT extension before making this query.
>
> --"J"
More information about the Openal
mailing list