A device is a logical mapping to an audio device through the OpenAL implementation. More...
#import <ALDevice.h>
Instance Methods | |
(id) | - initWithDeviceSpecifier: |
Initialize with the specified device. More... | |
(bool) | - isExtensionPresent: |
Check if the specified extension is present. More... | |
(void *) | - getProcAddress: |
Get the address of the specified procedure (C function address). More... | |
(void) | - clearBuffers |
Clear all buffers being used by sources of contexts opened on this device. More... | |
Instance Methods inherited from <OALSuspendManager> | |
(void) | - addSuspendListener: |
Add a listener that will receive manual suspend and interrupt events. More... | |
(void) | - removeSuspendListener: |
Remove a registered listener. More... | |
Class Methods | |
(id) | + deviceWithDeviceSpecifier: |
Open the specified device. More... | |
Protected Attributes | |
NSMutableArray * | contexts |
All contexts opened from this device. More... | |
OALSuspendHandler * | suspendHandler |
Handles suspending and interrupting for this object. More... | |
Properties | |
NSArray * | contexts |
All contexts created on this device (ALContext*). More... | |
ALCdevice * | device |
The OpenAL device pointer. More... | |
NSArray * | extensions |
List of strings describing all extensions available on this device (NSString*). More... | |
int | majorVersion |
The specification revision for this implementation (major version). More... | |
int | minorVersion |
The specification revision for this implementation (minor version). More... | |
Properties inherited from <OALSuspendManager> | |
bool | suspended |
If YES, this object is suspended. More... | |
Properties inherited from <OALSuspendListener> | |
bool | manuallySuspended |
Set to YES to manually suspend. More... | |
bool | interrupted |
If YES, this object is interrupted. More... | |
A device is a logical mapping to an audio device through the OpenAL implementation.
- (void) clearBuffers |
Clear all buffers being used by sources of contexts opened on this device.
+ (id) deviceWithDeviceSpecifier: | (NSString*) | deviceSpecifier |
Open the specified device.
deviceSpecifier | The device to open (nil = default device). |
- (void *) getProcAddress: | (NSString*) | functionName |
Get the address of the specified procedure (C function address).
functionName | the name of the procedure to get. |
- (id) initWithDeviceSpecifier: | (NSString*) | deviceSpecifier |
Initialize with the specified device.
deviceSpecifier | The device to open (nil = default device). |
- (bool) isExtensionPresent: | (NSString*) | name |
Check if the specified extension is present.
name | The extension to check. |
|
protected |
All contexts opened from this device.
|
protected |
Handles suspending and interrupting for this object.
|
readnonatomicretain |
All contexts created on this device (ALContext*).
|
readnonatomicassign |
The OpenAL device pointer.
|
readnonatomicretain |
List of strings describing all extensions available on this device (NSString*).
|
readnonatomicassign |
The specification revision for this implementation (major version).
|
readnonatomicassign |
The specification revision for this implementation (minor version).