Package zzub :: Class Audiodriver
[hide private]
[frames] | no frames]

Class Audiodriver

source code

object --+
         |
        Audiodriver

Audio Driver Methods Configure and create an audio driver instance.

Instance Methods [hide private]
 
__init__(self, handle)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__hash__(self)
hash(x)
source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
get_count(self)
Get number of detected input and output audio devices
source code
 
get_name(self, index, max_len=1024)
Get name of specified audio device
source code
 
get_supported_samplerates(self, index, maxrates) source code
 
get_supported_output_channels(self, index) source code
 
get_supported_input_channels(self, index) source code
 
create_device(self, input_index, output_index)
Create specified audio device.
source code
 
enable(self, state)
Enable or disable current audio driver
source code
 
get_enabled(self)
Returns whether current audio driver is enabled or disabled
source code
 
destroy(self)
Disassociate audio driver and player
source code
 
destroy_device(self)
De-allocate the current device.
source code
 
set_samplerate(self, samplerate)
Set audio driver sample rate
source code
 
get_samplerate(self)
Retreive audio driver sample rate
source code
 
set_buffersize(self, buffersize) source code
 
get_buffersize(self) source code
 
get_cpu_load(self) source code
 
is_output(self, index) source code
 
is_input(self, index) source code
 
get_master_channel(self) source code
 
set_master_channel(self, index) source code

Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Methods [hide private]
 
_new_from_handle(cls, handle) source code
Static Methods [hide private]
 
create_portaudio(player)
Create an audio driver that uses the PortAudio API.
source code
 
create_rtaudio(player)
Create an audio driver that uses the RtAudio API.
source code
 
create_silent(player, name, out_channels, in_channels, num_rates)
Create a silent, non-processing audio driver that has one device with the specified properties.
source code
 
create(player)
Creates the preferred audio driver.
source code
Class Variables [hide private]
  _as_parameter_ = None
  _hash = 0
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, handle)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__hash__(self)
(Hashing function)

source code 

hash(x)

Overrides: object.__hash__
(inherited documentation)