module RemiAudio::Drivers::PortAudio

Defined in:

remiaudio/drivers/port-bindings.cr
remiaudio/drivers/portaudio.cr

Class Method Summary

Class Method Detail

def self.defaultHostApi : Int #

[View source]
def self.defaultInputDevice : Int #

[View source]
def self.defaultOutputDevice : Int #

[View source]
def self.deviceCount : Int #

[View source]
def self.getDeviceInfo(device : Int) : DeviceInfo #

[View source]
def self.getLastHostErrorInfo : HostErrorInfo #

[View source]
def self.hostApiDeviceIndexToDeviceIndex(hostApi : Int, hostApiDeviceIndex : Int) : Int #

[View source]
def self.hostApiInfo(apiIndex : Int) : HostApiInfo #

[View source]
def self.init #

[View source]
def self.sleep(msec : Int64) : Nil #

[View source]
def self.terminate #

[View source]
def self.version : Int #

[View source]
def self.versionStr : String #

[View source]
def self.withPA(&) : Nil #

Initializes PortAudio using PortAudio.start, then yields. This ensures that PortAudio.terminate is called before this returns.


[View source]