Module Tportaudio.Device_info

Device information.

type t

The type for device information.

Values of this type survive a terminate but the refered host API index will no longer be valid.

val name : t -> string

name d is the name of d.

val host_api : t -> host_api_index

host_api d is the host API of d.

val max_input_channels : t -> int

max_input_channels d is the maximum number of input channels.

val max_output_channels : t -> int

max_output_channels d is the maximum number of output channels.

val default_low_input_latency : t -> time

default_low_input_latency d is the default latency value for interactive performance.

val default_low_output_latency : t -> time

default_low_input_latency d is the default latency value for interactive performance.

val default_high_input_latency : t -> time

default_high_input_latency d is the default latency value for robust non-interactive application (e.g. playing sound files).

val default_high_output_latency : t -> time

default_high_input_latency d is the default latency value for robust non-interactive application (e.g. playing sound files).

val default_sample_rate_hz : t -> float

default_sample_rate_hz d is the default sample rate in hz.