Module Tportaudio.Error

Errors.

type t = error

See error.

val equal : error -> error -> bool

equal e0 e1 is true iff e0 is equal to e1.

val message : error -> string

message e is an error message for e. If e is unanticipated_host_error this returns the host error text.

Error constants

val not_initialized : error
val unanticipated_host_error : error
val invalid_channel_count : error
val invalid_sample_rate : error
val invalid_device : error
val invalid_flag : error
val sample_format_not_supported : error
val bad_iodevice_combination : error
val insufficient_memory : error
val buffer_too_big : error
val buffer_too_small : error
val null_callback : error
val bad_stream_ptr : error
val timed_out : error
val internal_error : error
val device_unavailable : error
val incompatible_host_api_specific_stream_Info : error
val stream_is_stopped : error
val stream_is_not_stopped : error
val input_overflowed : error
val output_underflowed : error
val host_api_not_found : error
val invalid_host_api : error
val can_not_read_from_a_callback_stream : error
val can_not_write_to_a_callback_stream : error
val can_not_read_from_an_output_only_Stream : error
val can_not_write_to_an_input_only_Stream : error
val incompatible_stream_host_Api : error
val bad_buffer_ptr : error