pygame2.openal – basic OpenAL wrapper module

Basic Pygame2 OpenAL wrapper module.

Identifiers for the property get and set methods:

‘b’ Get or set a single boolean value (e.g. AL_TRUE)
‘ba’ Get or set an array of boolean values. The array can be any type of sequence containing matching values.
‘i’ Get or set a single integer value.
‘i3’ Get or set an triplet of integer values. The array can be any type of sequence containing matching values.
‘ia’ Get or set an array of integer values. The array can be any type of sequence containing matching values.
‘f’ Get or set a single floating point value.
‘f3’ Get or set an triplet of floating point values. The array can be any type of sequence containing matching values.
‘fa’ Get or set an array of floating point values. The array can be any type of sequence containing matching values.
‘d’ Get or set a single double precision floating point value.
‘da’ Get or set an array of double precision floating point values. The array can be any type of sequence containing matching values.

Module Functions

pygame2.openal.TODO()
TODO
pygame2.openal.TODO()
TODO
pygame2.openal.TODO()
TODO
pygame2.openal.TODO()
TODO
pygame2.openal.TODO()
TODO
pygame2.openal.TODO()
TODO
pygame2.openal.TODO()
TODO
pygame2.openal.TODO()
TODO
pygame2.openal.TODO()
TODO
pygame2.openal.TODO()
TODO
pygame2.openal.TODO()
TODO

Buffers

class pygame2.openal.Buffers → NotImplementedError

Buffers objects are used by OpenAL to buffer and provide PCM data for playback, recording and manipulation.

The Buffers object provides methods and properties to manipulate certain aspects of the buffered data.

Buffers instances cannot be created directly, but are bound to a Device. To create a Buffers instance for the currently active Device, use the Context.create_buffers() method.

Attributes

Buffers.buffers
The buffer identifiers used inb the Buffers instance.
Buffers.count
The number of buffers.

Methods

Buffers.buffer_data(bufnum, format, data, samplerate)
Buffers a chunk of data into one of the created buffers.
Buffers.get_prop(bufnum, prop, type) -> value or (value, ...)
Retrieves the value(s) of an OpenAL property for the Buffers.
Buffers.TODO()
TODO

CaptureDevice

class pygame2.openal.TODO
None

Attributes

CaptureDevice.format
None
CaptureDevice.frequency
None
CaptureDevice.size
None

Methods

CaptureDevice.TODO()
TODO
CaptureDevice.TODO()
TODO
CaptureDevice.TODO()
TODO

Context

class pygame2.openal.TODO
None

Attributes

Context.device
None
Context.distance_model
None
Context.doppler_factor
None
Context.is_current
None
Context.listener
None
Context.speed_of_sound
None

Methods

Context.TODO()
TODO
Context.TODO()
TODO
Context.TODO()
TODO
Context.TODO()
TODO
Context.TODO()
TODO
Context.TODO()
TODO
Context.TODO()
TODO
Context.TODO()
TODO

Device

class pygame2.openal.TODO
None

Attributes

Device.extensions
None
Device.name
None

Methods

Device.TODO()
TODO
Device.TODO()
TODO
Device.TODO()
TODO

Listener

class pygame2.openal.TODO
None

Methods

Listener.TODO()
TODO
Listener.TODO()
TODO

Sources

class pygame2.openal.TODO
None

Attributes

Sources.count
None
Sources.sources
None

Methods

Sources.TODO()
TODO
Sources.TODO()
TODO
Sources.TODO()
TODO
Sources.TODO()
TODO
Sources.TODO()
TODO
Sources.TODO()
TODO
Sources.TODO()
TODO
Sources.TODO()
TODO