Made audio capture work in Mac OS X 10.5 / 10.6
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1391 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
ec2fe136f9
commit
e79415209f
@ -137,7 +137,8 @@ bool SoundRecorder::CanCapture()
|
||||
{
|
||||
ALCdevice* Device = priv::AudioDevice::GetInstance().GetDevice();
|
||||
|
||||
return alcIsExtensionPresent(Device, "ALC_EXT_CAPTURE") != AL_FALSE;
|
||||
return (alcIsExtensionPresent(Device, "ALC_EXT_CAPTURE") != AL_FALSE) ||
|
||||
(alcIsExtensionPresent(Device, "ALC_EXT_capture") != AL_FALSE); // "bug" in Mac OS X 10.5 and 10.6
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user