Logo Search packages:      
Sourcecode: blender version File versions  Download package

bool AUD_SoftwareDevice::checkCapability ( int  capability  )  [virtual]

Checks if a specific capability as available on a device.

Parameters:
capability The capability.
Returns:
Whether it is available or not.

Implements AUD_IDevice.

Definition at line 413 of file AUD_SoftwareDevice.cpp.

{
      return capability == AUD_CAPS_SOFTWARE_DEVICE ||
               capability == AUD_CAPS_VOLUME ||
               capability == AUD_CAPS_SOURCE_VOLUME;
}


Generated by  Doxygen 1.6.0   Back to index