ALDevice Class Reference
Inherits from | NSObject |
Conforms to | OALSuspendManager |
Declared in | ALDevice.h |
Tasks
-
contexts
property -
device
property -
extensions
property -
majorVersion
property -
minorVersion
property -
+ deviceWithDeviceSpecifier:
-
– initWithDeviceSpecifier:
-
– isExtensionPresent:
-
– getProcAddress:
-
– clearBuffers
-
– notifyContextInitializing:
-
– notifyContextDeallocating:
Properties
contexts
All contexts created on this device (ALContext*).
@property (nonatomic, readonly, retain) NSArray *contexts
Declared In
ALDevice.h
device
The OpenAL device pointer.
@property (nonatomic, readonly, assign) ALCdevice *device
Declared In
ALDevice.h
extensions
List of strings describing all extensions available on this device (NSString*).
@property (nonatomic, readonly, retain) NSArray *extensions
Declared In
ALDevice.h
Instance Methods
getProcAddress:
Get the address of the specified procedure (C function address).
- (void *)getProcAddress:(NSString *)functionName
Parameters
- functionName
the name of the procedure to get.
Return Value
the procedure’s address, or NULL if it wasn’t found.
Declared In
ALDevice.h
initWithDeviceSpecifier:
Initialize with the specified device.
- (id)initWithDeviceSpecifier:(NSString *)deviceSpecifier
Return Value
the initialized device.
Declared In
ALDevice.h
isExtensionPresent:
Check if the specified extension is present.
- (bool)isExtensionPresent:(NSString *)name
Parameters
- name
The extension to check.
Return Value
TRUE if the extension is present.
Declared In
ALDevice.h
notifyContextDeallocating:
(INTERNAL USE) Used by ALContext to announce deallocation.
- (void)notifyContextDeallocating:(ALContext *)context
Parameters
- context
The context that is deallocating.
Declared In
ALDevice.h
notifyContextInitializing:
(INTERNAL USE) Used by ALContext to announce initialization.
- (void)notifyContextInitializing:(ALContext *)context
Parameters
- context
The context that is initializing.
Declared In
ALDevice.h